docs/devel/writing-monitor-commands: Replace obsolete STEXI/ETEXI tags
authorThomas Huth <thuth@redhat.com>
Fri, 6 May 2022 15:01:46 +0000 (17:01 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 9 May 2022 06:21:14 +0000 (08:21 +0200)
STEXI and ETEXI is not used anymore since we switched to Sphinx.
Replace them in the example with SRST and ERST, too.

Message-Id: <20220506150146.564244-1-thuth@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
docs/devel/writing-monitor-commands.rst

index 1693822f8f93cb68e4d31a6002b12ad06a2998e3..4aa2bb904dedae9fc90e8e3c7d48eb158ec975d4 100644 (file)
@@ -331,13 +331,10 @@ we should add it to the hmp-commands.hx file::
         .cmd        = hmp_hello_world,
     },
 
-::
-
- STEXI
- @item hello_world @var{message}
- @findex hello_world
- Print message to the standard output
- ETEXI
+ SRST
+ ``hello_world`` *message*
+   Print message to the standard output
+ ERST
 
 To test this you have to open a user monitor and issue the "hello-world"
 command. It might be instructive to check the command's documentation with