docs: add reference to templating from theme development. (#12056)

Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
This commit is contained in:
James Addison 2024-03-19 13:43:42 +00:00 committed by GitHub
parent 3da0b7a403
commit d93223a886
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ No. You have several other options:
produces pickle files with the page contents, and postprocess them using a
custom tool, or use them in your Web application.
.. _templating-primer:
Jinja/Sphinx Templating Primer
------------------------------

View File

@ -141,7 +141,7 @@ searches for templates:
When extending a template in the base theme with the same name, use the theme
name as an explicit directory: ``{% extends "basic/layout.html" %}``. From a
user ``templates_path`` template, you can still use the "exclamation mark"
syntax as described in the templating document.
syntax as :ref:`described in the templating document <templating-primer>`.
.. _theming-static-templates: