Skip to content
Myr

conf.py

This file

Path

docs/conf.py

52 lines · 1.8 KiB · Python

Last changed by

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

History of this file

Take it

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

Merge branch '2.10.x'David Lordbefore adoption9550dc8

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

Merge branch '2.9-maintenance'Armin Ronacherbefore adoption793ddd4

line 3why, one step back
3

Merge branch '2.10.x'David Lordbefore adoption9550dc8

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

Merge branch '2.9-maintenance'Armin Ronacherbefore adoption793ddd4

line 5why, one step back
5

Merge branch '2.10.x'David Lordbefore adoption9550dc8

lines 6–8why, one step back
6project = "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 branch '2.9-maintenance'Armin Ronacherbefore adoption793ddd4

line 10why, one step back
10

Merge branch '2.10.x'David Lordbefore adoption9550dc8

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

Merge branch '2.9-maintenance'Armin Ronacherbefore adoption793ddd4

line 12why, one step back
12

Merge branch '2.10.x'David Lordbefore adoption9550dc8

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

Merge branch '2.9-maintenance'Armin Ronacherbefore adoption793ddd4

line 20why, one step back
20]

Merge branch '2.10.x'David Lordbefore adoption9550dc8

lines 21–22why, one step back
21intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)}
22issues_github_path = "pallets/jinja"

Merge branch '2.9-maintenance'Armin Ronacherbefore adoption793ddd4

line 23why, one step back
23

Merge branch '2.10.x'David Lordbefore adoption9550dc8

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

Merge branch '2.9-maintenance'Armin Ronacherbefore adoption793ddd4

line 25why, one step back
25

Merge branch '2.10.x'David Lordbefore adoption9550dc8

lines 26–31why, one step back
26html_theme = "jinja"
27html_theme_options = {"index_sidebar_logo": False}28html_context = {29 "project_links": [30 ProjectLink("Donate to Pallets", "https://palletsprojects.com/donate"),31 ProjectLink("Jinja Website", "https://palletsprojects.com/p/jinja/"),

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

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

Merge branch '2.10.x'David Lordbefore adoption9550dc8

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

Merge branch '2.9-maintenance'Armin Ronacherbefore adoption793ddd4

lines 36–37why, one step back
36}
37html_sidebars = {

Merge branch '2.10.x'David Lordbefore adoption9550dc8

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

Merge branch '2.9-maintenance'Armin Ronacherbefore adoption793ddd4

line 40why, one step back
40}

Merge branch '2.10.x'David Lordbefore adoption9550dc8

lines 41–52why, one step back
41singlehtml_sidebars = {"index": ["project.html", "localtoc.html"]}
42html_static_path = ["_static"]43html_favicon = "_static/jinja-logo-sidebar.png"44html_logo = "_static/jinja-logo-sidebar.png"45html_title = "Jinja Documentation ({})".format(version)46html_show_sourcelink = False4748# LaTeX ----------------------------------------------------------------4950latex_documents = [51 (master_doc, "Jinja-{}.tex".format(version), html_title, author, "manual")52]