summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanil Alexeev <danil@alexeev.xyz>2024-03-11 10:24:09 +0300
committerDanil Alexeev <danil@alexeev.xyz>2024-03-11 10:24:09 +0300
commitca486985d5834d9b79a53cc56880050790e347e9 (patch)
tree69ec56745c9a930eb568fc49d3974a5b5face7d4
parent810f127022ec2cbfb288e436151d1a777c7b5da7 (diff)
downloadredot-engine-ca486985d5834d9b79a53cc56880050790e347e9.tar.gz
Documentation: Fix RST generation for `[codeblock lang=text]`
-rwxr-xr-xdoc/tools/make_rst.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tools/make_rst.py b/doc/tools/make_rst.py
index e10bc3477b..0d2bc87f55 100755
--- a/doc/tools/make_rst.py
+++ b/doc/tools/make_rst.py
@@ -1975,7 +1975,7 @@ def format_text_block(
)
if "lang=text" in tag_state.arguments.split(" "):
- tag_text = "\n.. code::\n"
+ tag_text = "\n.. code:: text\n"
else:
tag_text = "\n::\n"