Skip to content
Myr

conf.py

This file

Path

docs/conf.py

59 lines · 2.0 KiB · Python

Last changed by

Merge pull request #1807 from pallets/pass-metaDavid Lordbefore adoptiona6fea31

History of this file

Take it

The walk stopped after 200 commits: lines older than a438322 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 branch '7.x'David Lordbefore adoptiona438322

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 branch '7.x'David Lordbefore adoptiona438322

lines 9–11why, one step back
9# Project --------------------------------------------------------------
1011project = "Click"

Merge branch '7.x'David Lordbefore adoption11abf2b

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

Merge branch '7.x'David Lordbefore adoptiona438322

lines 14–18why, one step back
14release, version = get_version("Click", version_length=1)
1516# General --------------------------------------------------------------1718master_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 #1807 from pallets/pass-metaDavid Lordbefore adoptiona6fea31

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

Merge branch '7.x'David Lordbefore adoptiona438322

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

Merge branch '7.x'David Lordbefore adoption11abf2b

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

Merge branch '7.x'David Lordbefore adoptiona438322

lines 30–36why, one step back
30
31# HTML -----------------------------------------------------------------3233html_theme = "click"34html_theme_options = {"index_sidebar_logo": False}35html_context = {36 "project_links": [

Merge pull request #1792 from pallets/consistencyDavid Lordbefore adoption98e471f

lines 37–38why, one step back
37 ProjectLink("Donate", "https://palletsprojects.com/donate"),
38 ProjectLink("PyPI Releases", "https://pypi.org/project/click/"),

Merge branch '7.x'David Lordbefore adoptiona438322

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

Merge pull request #1792 from pallets/consistencyDavid Lordbefore adoption98e471f

lines 41–43why, one step back
41 ProjectLink("Website", "https://palletsprojects.com/"),
42 ProjectLink("Twitter", "https://twitter.com/PalletsTeam"),43 ProjectLink("Chat", "https://discord.gg/pallets"),

Merge branch '7.x'David Lordbefore adoptiona438322

lines 44–46why, one step back
44 ]
45}46html_sidebars = {

Merge branch '7.x'David Lordbefore adoption11abf2b

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

Merge branch '7.x'David Lordbefore adoptiona438322

line 49why, one step back
49}

Merge branch '7.x'David Lordbefore adoption11abf2b

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

Merge branch '7.x'David Lordbefore adoptiona438322

lines 51–53why, one step back
51html_static_path = ["_static"]
52html_favicon = "_static/click-icon.png"53html_logo = "_static/click-logo-sidebar.png"

Merge branch '7.x'David Lordbefore adoption11abf2b

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

Merge branch '7.x'David Lordbefore adoptiona438322

lines 55–58why, one step back
55html_show_sourcelink = False
5657# LaTeX ----------------------------------------------------------------58

Merge branch '7.x'David Lordbefore adoption7239794

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