mirror of
https://github.com/adrienverge/yamllint.git
synced 2024-11-22 07:36:25 -06:00
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.
This commit is contained in:
parent
cec4f3383a
commit
eb7b7ca627
@ -117,7 +117,7 @@ post-template processing).
|
|||||||
Example of a Jinja2 code that cannot be parsed as YAML because it contains
|
Example of a Jinja2 code that cannot be parsed as YAML because it contains
|
||||||
invalid tokens ``{%`` and ``%}``:
|
invalid tokens ``{%`` and ``%}``:
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block::
|
||||||
|
|
||||||
# This file IS NOT valid YAML and will procuce syntax errors
|
# This file IS NOT valid YAML and will procuce syntax errors
|
||||||
{% if extra_info %}
|
{% if extra_info %}
|
||||||
|
Loading…
Reference in New Issue
Block a user