Skip to content
Myr

conf.py

This file

Path

docs/conf.py

52 lines · 1.8 KiB · Python

Last changed by

Merge branch '8.1.x'David Lordbefore adoptiond9af5cf

History of this file

Take it

The walk stopped after 200 commits: lines older than 98e471f point at it.

Merge pull request #1792 from pallets/consistencyDavid Lordbefore adoption98e471f

lines 1–8why, one step back
1from pallets_sphinx_themes import get_version
2from pallets_sphinx_themes import ProjectLink34# Project --------------------------------------------------------------56project = "Click"7copyright = "2014 Pallets"8author = "Pallets"

start version 8.0.1.dev0David Lordbefore adoptionb700cf6

line 9why, one step back
9release, version = get_version("Click")

Merge pull request #1792 from pallets/consistencyDavid Lordbefore adoption98e471f

lines 10–21why, one step back
10
11# General --------------------------------------------------------------1213master_doc = "index"14extensions = [15 "sphinx.ext.autodoc",16 "sphinx.ext.intersphinx",17 "sphinxcontrib.log_cabinet",18 "pallets_sphinx_themes",19 "sphinx_issues",20 "sphinx_tabs.tabs",21]

Merge pull request #1807 from pallets/pass-metaDavid Lordbefore adoptiona6fea31

line 22why, one step back
22autodoc_typehints = "description"

Merge pull request #1792 from pallets/consistencyDavid Lordbefore adoption98e471f

lines 23–39why, one step back
23intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)}
24issues_github_path = "pallets/click"2526# HTML -----------------------------------------------------------------2728html_theme = "click"29html_theme_options = {"index_sidebar_logo": False}30html_context = {31 "project_links": [32 ProjectLink("Donate", "https://palletsprojects.com/donate"),33 ProjectLink("PyPI Releases", "https://pypi.org/project/click/"),34 ProjectLink("Source Code", "https://github.com/pallets/click/"),35 ProjectLink("Issue Tracker", "https://github.com/pallets/click/issues/"),36 ProjectLink("Chat", "https://discord.gg/pallets"),37 ]38}39html_sidebars = {

Merge branch '8.0.x'David Lordbefore adoptionaf0af57

lines 40–41why, one step back
40 "index": ["project.html", "localtoc.html", "searchbox.html", "ethicalads.html"],
41 "**": ["localtoc.html", "relations.html", "searchbox.html", "ethicalads.html"],

Merge pull request #1792 from pallets/consistencyDavid Lordbefore adoption98e471f

line 42why, one step back
42}

Merge branch '8.0.x'David Lordbefore adoptionaf0af57

line 43why, one step back
43singlehtml_sidebars = {"index": ["project.html", "localtoc.html", "ethicalads.html"]}

Merge pull request #1792 from pallets/consistencyDavid Lordbefore adoption98e471f

lines 44–52why, one step back
44html_static_path = ["_static"]
45html_favicon = "_static/click-icon.png"46html_logo = "_static/click-logo-sidebar.png"47html_title = f"Click Documentation ({version})"48html_show_sourcelink = False4950# LaTeX ----------------------------------------------------------------5152latex_documents = [(master_doc, f"Click-{version}.tex", html_title, author, "manual")]