Skip to content

Commit d93223a

Browse files
docs: add reference to templating from theme development. (sphinx-doc#12056)
Co-authored-by: Chris Sewell <[email protected]>
1 parent 3da0b7a commit d93223a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/development/templating.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ No. You have several other options:
3030
produces pickle files with the page contents, and postprocess them using a
3131
custom tool, or use them in your Web application.
3232

33+
.. _templating-primer:
3334

3435
Jinja/Sphinx Templating Primer
3536
------------------------------

doc/development/theming.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ searches for templates:
141141
When extending a template in the base theme with the same name, use the theme
142142
name as an explicit directory: ``{% extends "basic/layout.html" %}``. From a
143143
user ``templates_path`` template, you can still use the "exclamation mark"
144-
syntax as described in the templating document.
144+
syntax as :ref:`described in the templating document <templating-primer>`.
145145

146146

147147
.. _theming-static-templates:

0 commit comments

Comments
 (0)