summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2018-09-07 08:44:30 -0700
committerDavid Lord <davidism@gmail.com>2018-09-07 08:44:30 -0700
commitcf8df8af644908183a52c8371006428d618dd632 (patch)
treeb4f7061ac80301992b74e844637ed493064c3763 /docs/conf.py
parent123dd717439d8620d8d6be5574d2c9f007952326 (diff)
parentef0619e67e5d583005e11ca29e0fa87c9e9621fa (diff)
downloadclick-cf8df8af644908183a52c8371006428d618dd632.tar.gz
Merge branch '6.x'
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/conf.py b/docs/conf.py
index d64f8fa..79843ca 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -5,7 +5,7 @@ from pallets_sphinx_themes import ProjectLink, get_version
project = "Click"
copyright = "2014 Pallets Team"
author = "Pallets Team"
-release, version = get_version("Click")
+release, version = get_version("Click", version_length=1)
# General --------------------------------------------------------------
@@ -16,9 +16,7 @@ intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)}
# HTML -----------------------------------------------------------------
html_theme = "click"
-html_theme_options = {
- "index_sidebar_logo": False,
-}
+html_theme_options = {"index_sidebar_logo": False}
html_context = {
"project_links": [
ProjectLink("Donate to Pallets", "https://palletsprojects.com/donate"),
@@ -36,6 +34,7 @@ singlehtml_sidebars = {"index": ["project.html", "versions.html", "localtoc.html
html_static_path = ["_static"]
html_favicon = "_static/click-icon.png"
html_logo = "_static/click-logo-sidebar.png"
+html_title = "{} Documentation ({})".format(project, version)
html_show_sourcelink = False
html_domain_indices = False
html_experimental_html5_writer = True