Received: from eggs.gnu.org ([2001:4830:134:3::10]:41590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boE0l-0000XD-AD for qemu-devel@nongnu.org; Sun, 25 Sep 2016 14:18:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1boE0g-0007RE-8h for qemu-devel@nongnu.org; Sun, 25 Sep 2016 14:18:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boE0g-0007Qp-2I for qemu-devel@nongnu.org; Sun, 25 Sep 2016 14:18:42 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8437E3D955 for ; Sun, 25 Sep 2016 18:18:40 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Sun, 25 Sep 2016 22:18:25 +0400 Message-Id: <20160925181836.18293-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v2 00/11] qapi doc generation (whole version, squashed) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: eblake@redhat.com, armbru@redhat.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Hi, Add a qapi2texi script to generate the documentation from the qapi schemas. Build various new documentation targets for it: pdf, man, txt. The 7th patch in this series is a squashed version of the documentation move from qmp-commands.txt to the schemas. The whole version (not sent on the ML to avoid spamming) is in the following git branch: https://github.com/elmarco/qemu/commits/qapi-doc v1->v2: - change licence to be lgpl2+ - fix some comments & commit message - add more code comments - improve the doc parsing to treat only "Since" as a special case not requiring ":" (common notation in the doc) - include some early schema doc fixes (to fix generated doc) - include the squashed version of the doc move - include the man page and installation build changes Marc-Andr=C3=A9 Lureau (11): qapi: add qapi2texi script qapi: fix schema symbol sections qapi: fix missing symbol @prefix qapi: fix @ACPI sections docs: add qapi texi template build-sys: add qapi doc generation targets (SQUASHED) qmp-commands docs move to schema qapi: add some sections in docs and fix qga: fix guest-get-memory-block-info doc texi2pod: learn quotation, deftp and deftypefn build-sys: make and install the generated schema docs Makefile | 47 +- scripts/qapi.py | 100 +- scripts/qapi2texi.py | 314 ++++ scripts/texi2pod.pl | 44 +- docs/qapi-code-gen.txt | 44 +- docs/qemu-ga-qapi.template.texi | 58 + docs/qemu-qapi.template.texi | 148 ++ docs/qmp-commands.txt | 3802 ---------------------------------= ------ docs/qmp-events.txt | 719 -------- docs/qmp-intro.txt | 87 - qapi-schema.json | 1291 ++++++++++++- qapi/block-core.json | 675 ++++++- qapi/block.json | 60 +- qapi/common.json | 43 +- qapi/crypto.json | 40 +- qapi/event.json | 245 +++ qapi/rocker.json | 60 +- qapi/trace.json | 16 + qga/qapi-schema.json | 4 +- 19 files changed, 3089 insertions(+), 4708 deletions(-) create mode 100755 scripts/qapi2texi.py create mode 100644 docs/qemu-ga-qapi.template.texi create mode 100644 docs/qemu-qapi.template.texi delete mode 100644 docs/qmp-intro.txt --=20 2.10.0