Skip to content

Commit

Permalink
📚 DOCS: Fix code block
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Feb 1, 2024
1 parent 18b9902 commit 4731a17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ Warning messages

Warning messages are displayed in the Sphinx build output, for problematic inputs, these all have the type ``jinja2``, which can be used to `suppress them in the Sphinx configuration <https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-suppress_warnings>`__:

```python
suppress_warnings = ["jinja2"]
```
.. code-block:: python
suppress_warnings = ["jinja2"]
Since is difficult / impossible to map the source line numbers, from the template to the Jinja rendered content,
problems with the parsing of the rendered content always refer to the first line number either of the ``jinja`` directive, or the template file (when using the ``file`` option).
Expand Down

0 comments on commit 4731a17

Please sign in to comment.