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 fileTake 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 back1from pallets_sphinx_themes import get_version2from 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 back9release, version = get_version("Jinja2")Merge pull request #1105 from areebbeigh/issue-1102David Lordbefore adoption5d33f67
lines 10–20why, one step back1011# 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 back21autodoc_typehints = "description"Merge pull request #1105 from areebbeigh/issue-1102David Lordbefore adoption5d33f67
lines 22–30why, one step back22intersphinx_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 back31 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 back33 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 back35 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 back38 ]39}40html_sidebars = {Merge branch '3.0.x'David Lordbefore adoptiond1ff9ce
lines 41–42why, one step back41 "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 back43}Merge branch '3.0.x'David Lordbefore adoptiond1ff9ce
line 44why, one step back44singlehtml_sidebars = {"index": ["project.html", "localtoc.html", "ethicalads.html"]}Merge pull request #1105 from areebbeigh/issue-1102David Lordbefore adoption5d33f67
lines 45–47why, one step back45html_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 back48html_title = f"Jinja Documentation ({version})"Merge pull request #1105 from areebbeigh/issue-1102David Lordbefore adoption5d33f67
lines 49–52why, one step back49html_show_sourcelink = False5051# LaTeX ----------------------------------------------------------------52Merge pull request #1136 from pallets/drop-python2David Lordbefore adoption3915eb5
line 53why, one step back53latex_documents = [(master_doc, f"Jinja-{version}.tex", html_title, author, "manual")]