Skip to content
Myr

conf.py

This file

Path

docs/conf.py

59 lines · 1.9 KiB · Python

Last changed by

Merge `stable` into `main` after `CHANGES` rST to Markdown conversion (#3563)Kevin Deldyckebefore adoption8a1b1a3

History of this file

Take it

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

feat: new method for choice fail (#2622)antazoeybefore adoption4271fe2

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"

feat: new method for choice fail (#2622)antazoeybefore adoption4271fe2

lines 14–21why, one step back
14default_role = "code"
15extensions = [16 "sphinx.ext.autodoc",17 "sphinx.ext.extlinks",18 "sphinx.ext.intersphinx",19 "sphinx_tabs.tabs",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",

feat: new method for choice fail (#2622)antazoeybefore adoption4271fe2

lines 23–33why, one step back
23]
24autodoc_member_order = "bysource"25autodoc_typehints = "description"26autodoc_preserve_defaults = True27extlinks = {28 "issue": ("https://github.com/pallets/click/issues/%s", "#%s"),29 "pr": ("https://github.com/pallets/click/pull/%s", "#%s"),30}31intersphinx_mapping = {32 "python": ("https://docs.python.org/3/", None),33}

Merge `stable` into `main` after `CHANGES` rST to Markdown conversion (#3563)Kevin Deldyckebefore adoption8a1b1a3

line 34why, one step back
34myst_enable_extensions = ["attrs_block"]

Split string values from `default_map` for multi-value parameters (#3364)Rowlando13before adoptionc8da1fc

line 35why, one step back
35myst_heading_anchors = 3

feat: new method for choice fail (#2622)antazoeybefore adoption4271fe2

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

new logo (#2974)David Lordbefore adoptiond2e0fb5

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

svg logoDavid Lordbefore adoption2865034

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

feat: new method for choice fail (#2622)antazoeybefore adoption4271fe2

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