conf.py
This file
Path
docs/conf.py
55 lines · 1.9 KiB · Python
Last changed by
Merge branch '8.1.x'David Lordbefore adoption99015e1
History of this fileTake it
The walk stopped after 200 commits: lines older than 27d12bd point at it.
start version 8.1.0.dev0David Lordbefore adoption27d12bd
lines 1–12why, one step back1from pallets_sphinx_themes import get_version2from pallets_sphinx_themes import ProjectLink34# Project --------------------------------------------------------------56project = "Click"7copyright = "2014 Pallets"8author = "Pallets"9release, version = get_version("Click")1011# General --------------------------------------------------------------12Merge branch '8.1.x'David Lordbefore adoption73cfe12
line 13why, one step back13default_role = "code"start version 8.1.0.dev0David Lordbefore adoption27d12bd
lines 14–15why, one step back14extensions = [15 "sphinx.ext.autodoc",Merge branch '8.1.x'David Lordbefore adoption73cfe12
line 16why, one step back16 "sphinx.ext.extlinks",start version 8.1.0.dev0David Lordbefore adoption27d12bd
line 17why, one step back17 "sphinx.ext.intersphinx",Merge branch '8.1.x'David Lordbefore adoption73cfe12
line 18why, one step back18 "sphinx_tabs.tabs",start version 8.1.0.dev0David Lordbefore adoption27d12bd
lines 19–21why, one step back19 "sphinxcontrib.log_cabinet",20 "pallets_sphinx_themes",21]Merge branch '8.1.x'David Lordbefore adoption73cfe12
line 22why, one step back22autodoc_member_order = "bysource"start version 8.1.0.dev0David Lordbefore adoption27d12bd
line 23why, one step back23autodoc_typehints = "description"Merge branch '8.1.x'David Lordbefore adoption73cfe12
lines 24–25why, one step back24autodoc_preserve_defaults = True25extlinks = {Merge branch '8.1.x'David Lordbefore adoption99015e1
lines 26–27why, one step back26 "issue": ("https://github.com/pallets/click/issues/%s", "#%s"),27 "pr": ("https://github.com/pallets/click/pull/%s", "#%s"),Merge branch '8.1.x'David Lordbefore adoption73cfe12
lines 28–31why, one step back28}29intersphinx_mapping = {30 "python": ("https://docs.python.org/3/", None),31}start version 8.1.0.dev0David Lordbefore adoption27d12bd
lines 32–46why, one step back3233# HTML -----------------------------------------------------------------3435html_theme = "click"36html_theme_options = {"index_sidebar_logo": False}37html_context = {38 "project_links": [39 ProjectLink("Donate", "https://palletsprojects.com/donate"),40 ProjectLink("PyPI Releases", "https://pypi.org/project/click/"),41 ProjectLink("Source Code", "https://github.com/pallets/click/"),42 ProjectLink("Issue Tracker", "https://github.com/pallets/click/issues/"),43 ProjectLink("Chat", "https://discord.gg/pallets"),44 ]45}46html_sidebars = {Merge branch '8.0.x'David Lordbefore adoptionaf0af57
lines 47–48why, one step back47 "index": ["project.html", "localtoc.html", "searchbox.html", "ethicalads.html"],48 "**": ["localtoc.html", "relations.html", "searchbox.html", "ethicalads.html"],start version 8.1.0.dev0David Lordbefore adoption27d12bd
line 49why, one step back49}Merge branch '8.0.x'David Lordbefore adoptionaf0af57
line 50why, one step back50singlehtml_sidebars = {"index": ["project.html", "localtoc.html", "ethicalads.html"]}start version 8.1.0.dev0David Lordbefore adoption27d12bd
lines 51–55why, one step back51html_static_path = ["_static"]52html_favicon = "_static/click-icon.png"53html_logo = "_static/click-logo-sidebar.png"54html_title = f"Click Documentation ({version})"55html_show_sourcelink = False