Hi, This is a small series adding a script to generate documentation of QAPI/QMP based on json "schema" files (man/pdf/html...)
According to the wiki page http://wiki.qemu.org/QMP [1], this is one of the goal to get rid of duplicated documentation in qmp-commands.hx by generating it from json. A preview of the PDF result can be found there: https://elmarco.fedorapeople.org/qemu-qapi.pdf [1] Could someone create an account for me, so I can point to this series in the wiki? thanks Marc-André Lureau (5): qapi: add comment block before ChardevDummy qapi: add missing @ qapi: add qapi2texi script texi2pod: learn quotation, deftp and deftypefn build-sys: generate QAPI doc based on json Makefile | 35 +++++++-- qapi-schema.json | 8 +- scripts/qapi.py | 78 ++++++++++++++++++- scripts/qapi2texi.py | 212 +++++++++++++++++++++++++++++++++++++++++++++++++++ scripts/texi2pod.pl | 44 ++++++++++- 5 files changed, 365 insertions(+), 12 deletions(-) create mode 100644 scripts/qapi2texi.py -- 2.4.3