Skip to content

Commit

Permalink
Documentation: Fix RST generation for [codeblock lang=text]
Browse files Browse the repository at this point in the history
  • Loading branch information
dalexeev committed Mar 11, 2024
1 parent 810f127 commit ca48698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tools/make_rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit ca48698

Please sign in to comment.