hmp-commands.hx: Add rST documentation fragments

Add the rST versions of the documentation fragments.  Once we've
converted fully from Texinfo to rST we can remove the ETEXI
fragments; for the moment we need both.

Since the only consumer of the hmp-commands hxtool documentation
is the HTML manual, all we need to do for the monitor command
documentation to appear in the Sphinx system manual is add the
one line that invokes the hxtool extension on the .hx file.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20200228153619.9906-21-peter.maydell@linaro.org
This commit is contained in:
Peter Maydell 2020-02-28 15:36:06 +00:00
parent 324b2298fe
commit a6b30bcae6
3 changed files with 698 additions and 2 deletions

View File

@ -1071,7 +1071,7 @@ $(MANUAL_BUILDDIR)/interop/index.html: $(call manual-deps,interop)
$(MANUAL_BUILDDIR)/specs/index.html: $(call manual-deps,specs)
$(call build-manual,specs,html)
$(MANUAL_BUILDDIR)/system/index.html: $(call manual-deps,system)
$(MANUAL_BUILDDIR)/system/index.html: $(call manual-deps,system) $(SRC_PATH)/hmp-commands.hx
$(call build-manual,system,html)
$(MANUAL_BUILDDIR)/tools/index.html: $(call manual-deps,tools) $(SRC_PATH)/qemu-img-cmds.hx $(SRC_PATH)/docs/qemu-option-trace.rst.inc

View File

@ -14,8 +14,16 @@ You can use it to:
- Inspect the VM state without an external debugger.
Commands
~~~~~~~~
The following commands are available:
.. hxtool-doc:: hmp-commands.hx
..
The commands section goes here once it's converted from Texinfo to RST.
TODO: convert and reference hmp-commands-info.hx
Integer expressions
~~~~~~~~~~~~~~~~~~~

File diff suppressed because it is too large Load Diff