From ca486985d5834d9b79a53cc56880050790e347e9 Mon Sep 17 00:00:00 2001 From: Danil Alexeev Date: Mon, 11 Mar 2024 10:24:09 +0300 Subject: [PATCH] Documentation: Fix RST generation for `[codeblock lang=text]` --- doc/tools/make_rst.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tools/make_rst.py b/doc/tools/make_rst.py index e10bc3477b3..0d2bc87f55e 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"