Adds versioning HTML to the docs

This commit is contained in:
Saptak S 2020-09-01 01:34:24 +05:30
parent 41b7582426
commit 2375e41e0b
3 changed files with 42 additions and 1 deletions

View file

@ -10,10 +10,27 @@ extensions = ["sphinx_rtd_theme"]
templates_path = ["_templates"]
exclude_patterns = []
languages = [
("العربية", "ar"),
("Català", "ca"),
("Dansk", "da"),
("Nederlands", "nl"),
("English", "en"),
]
versions = [
("2.3", "/")
]
html_theme = "sphinx_rtd_theme"
html_logo = "_static/logo.png"
html_favicon = "_static/favicon.ico"
html_theme_options = {}
html_context = {
"langs": languages,
"versions": versions,
"current_version": release
}
html_static_path = ["_static"]
html_css_files = ["custom.css"]
html_show_sourcelink = False