mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
docs: add reference to templating from theme development. (#12056)
Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
This commit is contained in:
parent
3da0b7a403
commit
d93223a886
@ -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
|
||||
------------------------------
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user