From eb7b7ca62768bef8503a81d67c22dac605aa21a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Verg=C3=A9?= Date: Wed, 26 Oct 2022 16:23:27 +0200 Subject: [PATCH] docs: Fix Sphinx error on non-YAML code snippet This problem was just introduced by commit cec4f33 "Clarify disable-line and parser errors, workaround" and produced this error when building documentation: docs/disable_with_comments.rst:120:Could not lex literal_block as "yaml". Highlighting skipped. --- docs/disable_with_comments.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/disable_with_comments.rst b/docs/disable_with_comments.rst index 5ba24495..3c63b9b3 100644 --- a/docs/disable_with_comments.rst +++ b/docs/disable_with_comments.rst @@ -117,7 +117,7 @@ post-template processing). Example of a Jinja2 code that cannot be parsed as YAML because it contains invalid tokens ``{%`` and ``%}``: -.. code-block:: yaml +.. code-block:: # This file IS NOT valid YAML and will procuce syntax errors {% if extra_info %}