Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,20 @@ all pages are built from the same state of the HTML theme.
It also works around a `known issue in Sphinx <relevant sphinx bugs_>`__
which causes significant problems during theme development.

Working with external Jinja templates
-------------------------------------

If an extension generates reStructuredText from Jinja templates outside the
Sphinx source directory, watch the template directory and disable incremental
builds and the cached Sphinx environment:

.. code-block:: bash

sphinx-autobuild -aE docs docs/_build/html --watch path/to/templates

This is slower, but ensures every page uses the current templates and
configuration.

Working on multiple projects
----------------------------

Expand Down