Skip to content
Myr

conf.py

This file

Path

docs/conf.py

57 lines · 1.9 KiB · Python

Last changed by

svg logoDavid Lordbefore adoption2865034

History of this file

Take it

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

Bump actions/cache from 3.0.5 to 3.0.8 (#2349)dependabot[bot]before adoptionfb43272

lines 1–12why, one step back
1from pallets_sphinx_themes import get_version
2from pallets_sphinx_themes import ProjectLink34# Project --------------------------------------------------------------56project = "Click"7copyright = "2014 Pallets"8author = "Pallets"9release, version = get_version("Click")1011# General --------------------------------------------------------------12

Organize docs along diatxis categories. (#2898)Rowlando13before adoptionb88c484

line 13why, one step back
13master_doc = "index"

Merge branch '8.1.x'David Lordbefore adoption73cfe12

line 14why, one step back
14default_role = "code"

Bump actions/cache from 3.0.5 to 3.0.8 (#2349)dependabot[bot]before adoptionfb43272

lines 15–16why, one step back
15extensions = [
16 "sphinx.ext.autodoc",

Merge branch '8.1.x'David Lordbefore adoption73cfe12

line 17why, one step back
17 "sphinx.ext.extlinks",

Bump actions/cache from 3.0.5 to 3.0.8 (#2349)dependabot[bot]before adoptionfb43272

line 18why, one step back
18 "sphinx.ext.intersphinx",

Merge branch '8.1.x'David Lordbefore adoption73cfe12

line 19why, one step back
19 "sphinx_tabs.tabs",

Bump actions/cache from 3.0.5 to 3.0.8 (#2349)dependabot[bot]before adoptionfb43272

lines 20–21why, one step back
20 "sphinxcontrib.log_cabinet",
21 "pallets_sphinx_themes",

Rewrite testing docs and move from rst to myst (#2857)Rowlando13before adoption854cfb1

line 22why, one step back
22 "myst_parser",

Bump actions/cache from 3.0.5 to 3.0.8 (#2349)dependabot[bot]before adoptionfb43272

line 23why, one step back
23]

Merge branch '8.1.x'David Lordbefore adoption73cfe12

line 24why, one step back
24autodoc_member_order = "bysource"

Bump actions/cache from 3.0.5 to 3.0.8 (#2349)dependabot[bot]before adoptionfb43272

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

Merge branch '8.1.x'David Lordbefore adoption73cfe12

lines 26–27why, one step back
26autodoc_preserve_defaults = True
27extlinks = {

Merge branch '8.1.x'David Lordbefore adoption99015e1

lines 28–29why, one step back
28 "issue": ("https://github.com/pallets/click/issues/%s", "#%s"),
29 "pr": ("https://github.com/pallets/click/pull/%s", "#%s"),

Merge branch '8.1.x'David Lordbefore adoption73cfe12

lines 30–33why, one step back
30}
31intersphinx_mapping = {32 "python": ("https://docs.python.org/3/", None),33}

Bump actions/cache from 3.0.5 to 3.0.8 (#2349)dependabot[bot]before adoptionfb43272

lines 34–53why, one step back
34
35# HTML -----------------------------------------------------------------3637html_theme = "click"38html_theme_options = {"index_sidebar_logo": False}39html_context = {40 "project_links": [41 ProjectLink("Donate", "https://palletsprojects.com/donate"),42 ProjectLink("PyPI Releases", "https://pypi.org/project/click/"),43 ProjectLink("Source Code", "https://github.com/pallets/click/"),44 ProjectLink("Issue Tracker", "https://github.com/pallets/click/issues/"),45 ProjectLink("Chat", "https://discord.gg/pallets"),46 ]47}48html_sidebars = {49 "index": ["project.html", "localtoc.html", "searchbox.html", "ethicalads.html"],50 "**": ["localtoc.html", "relations.html", "searchbox.html", "ethicalads.html"],51}52singlehtml_sidebars = {"index": ["project.html", "localtoc.html", "ethicalads.html"]}53html_static_path = ["_static"]

new logo (#2974)David Lordbefore adoptiond2e0fb5

line 54why, one step back
54html_favicon = "_static/click-icon.svg"

svg logoDavid Lordbefore adoption2865034

line 55why, one step back
55html_logo = "_static/click-logo.svg"

Bump actions/cache from 3.0.5 to 3.0.8 (#2349)dependabot[bot]before adoptionfb43272

lines 56–57why, one step back
56html_title = f"Click Documentation ({version})"
57html_show_sourcelink = False