Skip to content
Snippets Groups Projects
Verified Commit ab397357 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

[Docs] Use Sphinx material theme

parent d125352c
No related branches found
No related tags found
1 merge request!904Do release 2.6
......@@ -84,13 +84,25 @@ pygments_style = None
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = "sphinx_materialdesign_theme"
html_theme = "sphinx_material"
html_favicon = "../aleksis/core/static/img/aleksis-icon.png"
html_logo = "../aleksis/core/static/img/aleksis-banner.svg"
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#
# html_theme_options = {}
html_theme_options = {
"repo_url": f"https://edugit.org/AlekSIS/official/{project}",
"repo_name": "EduGit",
"repo_type": "gitlab",
"theme_color": "#0d5eaf",
"color_primary": "#0d5eaf",
"color_accent": "#0d5eaf",
"globaltoc_depth": 2,
"globaltoc_collapse": False,
}
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
......@@ -105,7 +117,9 @@ html_static_path = ["_static"]
# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',
# 'searchbox.html']``.
#
# html_sidebars = {}
html_sidebars = {
"**": ["logo-text.html", "globaltoc.html", "localtoc.html", "searchbox.html"]
}
# -- Options for HTMLHelp output ---------------------------------------------
......
......@@ -133,7 +133,7 @@ s3 = ["boto3", "django-storages"]
sentry = ["sentry-sdk"]
[tool.poetry.dev-dependencies]
aleksis-builddeps = "^5"
aleksis-builddeps = "^6"
uwsgi = "^2.0"
[tool.poetry.scripts]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment