Skip to content
Myr

conf.py

This file

Path

docs/conf.py

55 lines · 1.9 KiB · Python

Last changed by

Merge branch '8.1.x'David Lordbefore adoption99015e1

History of this file

Take 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 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

Merge branch '8.1.x'David Lordbefore adoption73cfe12

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

start version 8.1.0.dev0David Lordbefore adoption27d12bd

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

Merge branch '8.1.x'David Lordbefore adoption73cfe12

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

start version 8.1.0.dev0David Lordbefore adoption27d12bd

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

Merge branch '8.1.x'David Lordbefore adoption73cfe12

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

start version 8.1.0.dev0David Lordbefore adoption27d12bd

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

Merge branch '8.1.x'David Lordbefore adoption73cfe12

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

start version 8.1.0.dev0David Lordbefore adoption27d12bd

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

Merge branch '8.1.x'David Lordbefore adoption73cfe12

lines 24–25why, one step back
24autodoc_preserve_defaults = True
25extlinks = {

Merge branch '8.1.x'David Lordbefore adoption99015e1

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

Merge branch '8.1.x'David Lordbefore adoption73cfe12

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

start version 8.1.0.dev0David Lordbefore adoption27d12bd

lines 32–46why, one step back
32
33# 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 back
47 "index": ["project.html", "localtoc.html", "searchbox.html", "ethicalads.html"],
48 "**": ["localtoc.html", "relations.html", "searchbox.html", "ethicalads.html"],

start version 8.1.0.dev0David Lordbefore adoption27d12bd

line 49why, one step back
49}

Merge branch '8.0.x'David Lordbefore adoptionaf0af57

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

start version 8.1.0.dev0David Lordbefore adoption27d12bd

lines 51–55why, one step back
51html_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