Skip to content
Myr

conf.py

This file

Path

docs/conf.py

56 lines · 1.9 KiB · Python

Last changed by

Merge pull request #1622 from MLH-Fellowship/1484-redesign-completionDavid Lordbefore adoption6c8301e

History of this file

Take it

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

Merge branch '7.x'David Lordbefore adoption11abf2b

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

Merge pull request #889 from stefreak/masterDan Sullybefore adoptionb1b4449

line 3why, one step back
3

Merge pull request #1532 from pallets/drop-python2David Lordbefore adoption97de2c9

lines 4–8why, one step back
4import click._compat
56# compat until pallets-sphinx-themes is updated7click._compat.text_type = str8

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

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

Merge pull request #889 from stefreak/masterDan Sullybefore adoptionb1b4449

line 10why, one step back
10

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

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

Merge branch '7.x'David Lordbefore adoption11abf2b

lines 12–13why, one step back
12copyright = "2014 Pallets"
13author = "Pallets"

Merge branch '6.x'David Lordbefore adoptioncf8df8a

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

Merge pull request #889 from stefreak/masterDan Sullybefore adoptionb1b4449

line 15why, one step back
15

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

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

Merge pull request #889 from stefreak/masterDan Sullybefore adoptionb1b4449

line 17why, one step back
17

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

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

Merge branch '7.x'David Lordbefore adoption11abf2b

lines 19–24why, one step back
19extensions = [
20 "sphinx.ext.autodoc",21 "sphinx.ext.intersphinx",22 "sphinxcontrib.log_cabinet",23 "pallets_sphinx_themes",24 "sphinx_issues",

Merge pull request #1622 from MLH-Fellowship/1484-redesign-completionDavid Lordbefore adoption6c8301e

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

Merge branch '7.x'David Lordbefore adoption11abf2b

line 26why, one step back
26]

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

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

Merge branch '7.x'David Lordbefore adoption11abf2b

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

Merge pull request #889 from stefreak/masterDan Sullybefore adoptionb1b4449

line 29why, one step back
29

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

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

Merge pull request #889 from stefreak/masterDan Sullybefore adoptionb1b4449

line 31why, one step back
31

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

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

Merge branch '6.x'David Lordbefore adoptioncf8df8a

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

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

lines 34–37why, one step back
34html_context = {
35 "project_links": [36 ProjectLink("Donate to Pallets", "https://palletsprojects.com/donate"),37 ProjectLink("Click Website", "https://palletsprojects.com/p/click/"),

Merge branch '7.x'David Lordbefore adoption11abf2b

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

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

lines 39–42why, one step back
39 ProjectLink("Source Code", "https://github.com/pallets/click/"),
40 ProjectLink("Issue Tracker", "https://github.com/pallets/click/issues/"),41 ]42}

Merge pull request #889 from stefreak/masterDan Sullybefore adoptionb1b4449

line 43why, one step back
43html_sidebars = {

Merge branch '7.x'David Lordbefore adoption11abf2b

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

Merge pull request #889 from stefreak/masterDan Sullybefore adoptionb1b4449

line 46why, one step back
46}

Merge branch '7.x'David Lordbefore adoption11abf2b

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

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

lines 48–50why, one step back
48html_static_path = ["_static"]
49html_favicon = "_static/click-icon.png"50html_logo = "_static/click-logo-sidebar.png"

Merge branch '7.x'David Lordbefore adoption11abf2b

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

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

line 52why, one step back
52html_show_sourcelink = False

Merge pull request #889 from stefreak/masterDan Sullybefore adoptionb1b4449

line 53why, one step back
53

Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48

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

Merge pull request #889 from stefreak/masterDan Sullybefore adoptionb1b4449

line 55why, one step back
55

Merge branch '7.x'David Lordbefore adoption7239794

line 56why, one step back
56latex_documents = [(master_doc, f"Click-{version}.tex", html_title, author, "manual")]