conf.py
This file
Path
docs/conf.py
56 lines · 1.9 KiB · Python
Last changed by
Rewrite testing docs and move from rst to myst (#2857)Rowlando13before adoption854cfb1
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–20why, one step back19 "sphinxcontrib.log_cabinet",20 "pallets_sphinx_themes",Rewrite testing docs and move from rst to myst (#2857)Rowlando13before adoption854cfb1
line 21why, one step back21 "myst_parser",start version 8.1.0.dev0David Lordbefore adoption27d12bd
line 22why, one step back22]Merge branch '8.1.x'David Lordbefore adoption73cfe12
line 23why, one step back23autodoc_member_order = "bysource"start version 8.1.0.dev0David Lordbefore adoption27d12bd
line 24why, one step back24autodoc_typehints = "description"Merge branch '8.1.x'David Lordbefore adoption73cfe12
lines 25–26why, one step back25autodoc_preserve_defaults = True26extlinks = {Merge branch '8.1.x'David Lordbefore adoption99015e1
lines 27–28why, one step back27 "issue": ("https://github.com/pallets/click/issues/%s", "#%s"),28 "pr": ("https://github.com/pallets/click/pull/%s", "#%s"),Merge branch '8.1.x'David Lordbefore adoption73cfe12
lines 29–32why, one step back29}30intersphinx_mapping = {31 "python": ("https://docs.python.org/3/", None),32}start version 8.1.0.dev0David Lordbefore adoption27d12bd
lines 33–47why, one step back3334# HTML -----------------------------------------------------------------3536html_theme = "click"37html_theme_options = {"index_sidebar_logo": False}38html_context = {39 "project_links": [40 ProjectLink("Donate", "https://palletsprojects.com/donate"),41 ProjectLink("PyPI Releases", "https://pypi.org/project/click/"),42 ProjectLink("Source Code", "https://github.com/pallets/click/"),43 ProjectLink("Issue Tracker", "https://github.com/pallets/click/issues/"),44 ProjectLink("Chat", "https://discord.gg/pallets"),45 ]46}47html_sidebars = {Merge branch '8.0.x'David Lordbefore adoptionaf0af57
lines 48–49why, one step back48 "index": ["project.html", "localtoc.html", "searchbox.html", "ethicalads.html"],49 "**": ["localtoc.html", "relations.html", "searchbox.html", "ethicalads.html"],start version 8.1.0.dev0David Lordbefore adoption27d12bd
line 50why, one step back50}Merge branch '8.0.x'David Lordbefore adoptionaf0af57
line 51why, one step back51singlehtml_sidebars = {"index": ["project.html", "localtoc.html", "ethicalads.html"]}start version 8.1.0.dev0David Lordbefore adoption27d12bd
lines 52–56why, one step back52html_static_path = ["_static"]53html_favicon = "_static/click-icon.png"54html_logo = "_static/click-logo-sidebar.png"55html_title = f"Click Documentation ({version})"56html_show_sourcelink = False