conf.py
This file
Path
docs/conf.py
55 lines · 1.9 KiB · Python
Last changed by
Fix extlinks in docs/conf.py (#2714)David Lordbefore adoptionac56c45
History of this fileTake it
The walk stopped after 200 commits: lines older than 93551dd point at it.
Merge pull request #1878 from pallets/dependabot/pip/sphinx-tabs-3.0.0David Lordbefore adoption93551dd
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 --------------------------------------------------------------12update project filesDavid Lordbefore adoption525c5f1
line 13why, one step back13default_role = "code"Merge pull request #1878 from pallets/dependabot/pip/sphinx-tabs-3.0.0David Lordbefore adoption93551dd
lines 14–15why, one step back14extensions = [15 "sphinx.ext.autodoc",update project filesDavid Lordbefore adoption525c5f1
line 16why, one step back16 "sphinx.ext.extlinks",Merge pull request #1878 from pallets/dependabot/pip/sphinx-tabs-3.0.0David Lordbefore adoption93551dd
line 17why, one step back17 "sphinx.ext.intersphinx",update project filesDavid Lordbefore adoption525c5f1
line 18why, one step back18 "sphinx_tabs.tabs",Merge pull request #1878 from pallets/dependabot/pip/sphinx-tabs-3.0.0David Lordbefore adoption93551dd
lines 19–21why, one step back19 "sphinxcontrib.log_cabinet",20 "pallets_sphinx_themes",21]update project filesDavid Lordbefore adoption525c5f1
line 22why, one step back22autodoc_member_order = "bysource"Merge pull request #1878 from pallets/dependabot/pip/sphinx-tabs-3.0.0David Lordbefore adoption93551dd
line 23why, one step back23autodoc_typehints = "description"update project filesDavid Lordbefore adoption525c5f1
lines 24–25why, one step back24autodoc_preserve_defaults = True25extlinks = {Fix extlinks in docs/conf.py (#2714)David Lordbefore adoptionac56c45
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"),update project filesDavid Lordbefore adoption525c5f1
lines 28–31why, one step back28}29intersphinx_mapping = {30 "python": ("https://docs.python.org/3/", None),31}Merge pull request #1878 from pallets/dependabot/pip/sphinx-tabs-3.0.0David Lordbefore adoption93551dd
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"],Merge pull request #1878 from pallets/dependabot/pip/sphinx-tabs-3.0.0David Lordbefore adoption93551dd
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"]}Merge pull request #1878 from pallets/dependabot/pip/sphinx-tabs-3.0.0David Lordbefore adoption93551dd
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