Skip to content
Myr

conf.py

This file

Path

docs/conf.py

53 lines · 1.9 KiB · Python

Last changed by

Merge branch '3.0.x'David Lordbefore adoptiond1ff9ce

History of this file

Take it

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

Merge pull request #1105 from areebbeigh/issue-1102David Lordbefore adoption5d33f67

lines 1–8why, one step back
1from pallets_sphinx_themes import get_version
2from pallets_sphinx_themes import ProjectLink34# Project --------------------------------------------------------------56project = "Jinja"7copyright = "2007 Pallets"8author = "Pallets"

Merge pull request #1133 from pallets/revert-renameDavid Lordbefore adoption15337f7

line 9why, one step back
9release, version = get_version("Jinja2")

Merge pull request #1105 from areebbeigh/issue-1102David Lordbefore adoption5d33f67

lines 10–20why, one step back
10
11# General --------------------------------------------------------------1213master_doc = "index"14extensions = [15 "sphinx.ext.autodoc",16 "sphinx.ext.intersphinx",17 "pallets_sphinx_themes",18 "sphinxcontrib.log_cabinet",19 "sphinx_issues",20]

Merge pull request #1398 from pallets/docs-filter-anchorDavid Lordbefore adoptionf04bde8

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

Merge pull request #1105 from areebbeigh/issue-1102David Lordbefore adoption5d33f67

lines 22–30why, one step back
22intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)}
23issues_github_path = "pallets/jinja"2425# HTML -----------------------------------------------------------------2627html_theme = "jinja"28html_theme_options = {"index_sidebar_logo": False}29html_context = {30 "project_links": [

Merge pull request #1361 from pallets/consistencyDavid Lordbefore adoptionab9cd8c

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

Merge pull request #1105 from areebbeigh/issue-1102David Lordbefore adoption5d33f67

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

Merge pull request #1361 from pallets/consistencyDavid Lordbefore adoptionab9cd8c

lines 35–37why, one step back
35 ProjectLink("Website", "https://palletsprojects.com/p/jinja/"),
36 ProjectLink("Twitter", "https://twitter.com/PalletsTeam"),37 ProjectLink("Chat", "https://discord.gg/pallets"),

Merge pull request #1105 from areebbeigh/issue-1102David Lordbefore adoption5d33f67

lines 38–40why, one step back
38 ]
39}40html_sidebars = {

Merge branch '3.0.x'David Lordbefore adoptiond1ff9ce

lines 41–42why, one step back
41 "index": ["project.html", "localtoc.html", "searchbox.html", "ethicalads.html"],
42 "**": ["localtoc.html", "relations.html", "searchbox.html", "ethicalads.html"],

Merge pull request #1105 from areebbeigh/issue-1102David Lordbefore adoption5d33f67

line 43why, one step back
43}

Merge branch '3.0.x'David Lordbefore adoptiond1ff9ce

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

Merge pull request #1105 from areebbeigh/issue-1102David Lordbefore adoption5d33f67

lines 45–47why, one step back
45html_static_path = ["_static"]
46html_favicon = "_static/jinja-logo-sidebar.png"47html_logo = "_static/jinja-logo-sidebar.png"

Merge pull request #1136 from pallets/drop-python2David Lordbefore adoption3915eb5

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

Merge pull request #1105 from areebbeigh/issue-1102David Lordbefore adoption5d33f67

lines 49–52why, one step back
49html_show_sourcelink = False
5051# LaTeX ----------------------------------------------------------------52

Merge pull request #1136 from pallets/drop-python2David Lordbefore adoption3915eb5

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