Skip to content

sphinx-extensions2/sphinx-jinja2

Repository files navigation

sphinx-jinja2

PyPI

A sphinx extension to add the jinja directive, for rendering jinja templates.

Note: This is an adaption of https://github.com/tardyp/sphinx-jinja, which appears to be unmaintained.

See the documentation for more information.

TODO: allow tests/filters to be strings, pointing to python import paths. This is because Sphinx cannot cache lambda functions, so full rebuilds are always triggered.