Skip to content
Myr

conf.py

This file

Path

docs/conf.py

55 lines · 1.9 KiB · Python

Last changed by

Merge branch 'stable'David Lordbefore adoption0514dce

History of this file

Take it

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

update building docs instructions in contributing guide (#1235)sixtyfathomsbefore adoptionc580dd0

lines 1–12why, one step back
1from pallets_sphinx_themes import get_version
2from pallets_sphinx_themes import ProjectLink34# Project --------------------------------------------------------------56project = "Jinja"7copyright = "2007 Pallets"8author = "Pallets"9release, version = get_version("Jinja2")1011# General --------------------------------------------------------------12

Merge branch '3.1.x'David Lordbefore adoptionde61312

line 13why, one step back
13default_role = "code"

update building docs instructions in contributing guide (#1235)sixtyfathomsbefore adoptionc580dd0

lines 14–15why, one step back
14extensions = [
15 "sphinx.ext.autodoc",

Merge branch '3.1.x'David Lordbefore adoptionde61312

line 16why, one step back
16 "sphinx.ext.extlinks",

update building docs instructions in contributing guide (#1235)sixtyfathomsbefore adoptionc580dd0

lines 17–18why, one step back
17 "sphinx.ext.intersphinx",
18 "sphinxcontrib.log_cabinet",

Merge branch '3.1.x'David Lordbefore adoptionde61312

line 19why, one step back
19 "pallets_sphinx_themes",

update building docs instructions in contributing guide (#1235)sixtyfathomsbefore adoptionc580dd0

line 20why, one step back
20]

Merge branch '3.1.x'David Lordbefore adoptionde61312

line 21why, one step back
21autodoc_member_order = "bysource"

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

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

Merge branch '3.1.x'David Lordbefore adoptionde61312

lines 23–26why, one step back
23autodoc_preserve_defaults = True
24extlinks = {25 "issue": ("https://github.com/pallets/jinja/issues/%s", "#%s"),26 "pr": ("https://github.com/pallets/jinja/pull/%s", "#%s"),

Merge branch 'stable'David Lordbefore adoption6aeab5d

line 27why, one step back
27 "ghsa": ("https://github.com/pallets/jinja/security/advisories/GHSA-%s", "GHSA-%s"),

Merge branch '3.1.x'David Lordbefore adoptionde61312

lines 28–31why, one step back
28}
29intersphinx_mapping = {30 "python": ("https://docs.python.org/3/", None),31}

update building docs instructions in contributing guide (#1235)sixtyfathomsbefore adoptionc580dd0

lines 32–38why, one step back
32
33# HTML -----------------------------------------------------------------3435html_theme = "jinja"36html_theme_options = {"index_sidebar_logo": False}37html_context = {38 "project_links": [

Merge pull request #1361 from pallets/consistencyDavid Lordbefore adoptionab9cd8c

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

update building docs instructions in contributing guide (#1235)sixtyfathomsbefore adoptionc580dd0

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

Merge pull request #1361 from pallets/consistencyDavid Lordbefore adoptionab9cd8c

line 43why, one step back
43 ProjectLink("Chat", "https://discord.gg/pallets"),

update building docs instructions in contributing guide (#1235)sixtyfathomsbefore adoptionc580dd0

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

Merge branch '3.0.x'David Lordbefore adoptiond1ff9ce

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

update building docs instructions in contributing guide (#1235)sixtyfathomsbefore adoptionc580dd0

line 49why, one step back
49}

Merge branch '3.0.x'David Lordbefore adoptiond1ff9ce

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

update building docs instructions in contributing guide (#1235)sixtyfathomsbefore adoptionc580dd0

line 51why, one step back
51html_static_path = ["_static"]

Merge branch 'stable'David Lordbefore adoption77092a8

line 52why, one step back
52html_favicon = "_static/jinja-icon.svg"

Merge branch 'stable'David Lordbefore adoption0514dce

line 53why, one step back
53html_logo = "_static/jinja-logo.svg"

update building docs instructions in contributing guide (#1235)sixtyfathomsbefore adoptionc580dd0

lines 54–55why, one step back
54html_title = f"Jinja Documentation ({version})"
55html_show_sourcelink = False