Skip to content
Myr

conf.py

This file

Path

docs/conf.py

52 lines · 1.8 KiB · Python

Last changed by

reformat changelog, update docs configDavid Lordbefore adoption02756dd

History of this file

Take it

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

reformat changelog, update docs configDavid Lordbefore adoption02756dd

lines 1–2why, one step back
1from pallets_sphinx_themes import get_version
2from pallets_sphinx_themes import ProjectLink

Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a

line 3why, one step back
3

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

line 4why, one step back
4# Project --------------------------------------------------------------

Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a

line 5why, one step back
5

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

line 6why, one step back
6project = "Click"

reformat changelog, update docs configDavid Lordbefore adoption02756dd

lines 7–8why, one step back
7copyright = "2014 Pallets"
8author = "Pallets"

Merge branch '6.x'David Lordbefore adoptioncf8df8a

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

Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a

line 10why, one step back
10

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

line 11why, one step back
11# General --------------------------------------------------------------

Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a

line 12why, one step back
12

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

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

reformat changelog, update docs configDavid Lordbefore adoption02756dd

lines 14–20why, one step back
14extensions = [
15 "sphinx.ext.autodoc",16 "sphinx.ext.intersphinx",17 "sphinxcontrib.log_cabinet",18 "pallets_sphinx_themes",19 "sphinx_issues",20]

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

line 21why, one step back
21intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)}

reformat changelog, update docs configDavid Lordbefore adoption02756dd

line 22why, one step back
22issues_github_path = "pallets/click"

Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a

line 23why, one step back
23

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

line 24why, one step back
24# HTML -----------------------------------------------------------------

Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a

line 25why, one step back
25

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

line 26why, one step back
26html_theme = "click"

Merge branch '6.x'David Lordbefore adoptioncf8df8a

line 27why, one step back
27html_theme_options = {"index_sidebar_logo": False}

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

lines 28–31why, one step back
28html_context = {
29 "project_links": [30 ProjectLink("Donate to Pallets", "https://palletsprojects.com/donate"),31 ProjectLink("Click Website", "https://palletsprojects.com/p/click/"),

reformat changelog, update docs configDavid Lordbefore adoption02756dd

line 32why, one step back
32 ProjectLink("PyPI releases", "https://pypi.org/project/click/"),

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

lines 33–36why, one step back
33 ProjectLink("Source Code", "https://github.com/pallets/click/"),
34 ProjectLink("Issue Tracker", "https://github.com/pallets/click/issues/"),35 ]36}

Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a

line 37why, one step back
37html_sidebars = {

reformat changelog, update docs configDavid Lordbefore adoption02756dd

lines 38–39why, one step back
38 "index": ["project.html", "localtoc.html", "searchbox.html"],
39 "**": ["localtoc.html", "relations.html", "searchbox.html"],

Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a

line 40why, one step back
40}

reformat changelog, update docs configDavid Lordbefore adoption02756dd

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

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

lines 42–44why, one step back
42html_static_path = ["_static"]
43html_favicon = "_static/click-icon.png"44html_logo = "_static/click-logo-sidebar.png"

reformat changelog, update docs configDavid Lordbefore adoption02756dd

line 45why, one step back
45html_title = f"Click Documentation ({version})"

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

line 46why, one step back
46html_show_sourcelink = False

Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a

line 47why, one step back
47

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

line 48why, one step back
48# LaTeX ----------------------------------------------------------------

Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a

lines 49–50why, one step back
49
50latex_documents = [

reformat changelog, update docs configDavid Lordbefore adoption02756dd

line 51why, one step back
51 (master_doc, f"Click-{version}.tex", html_title, author, "manual")

Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a

line 52why, one step back
52]