Received: from eggs.gnu.org ([2001:4830:134:3::10]:56480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c47Fk-0003bL-77 for qemu-devel@nongnu.org; Tue, 08 Nov 2016 09:19:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c47Fh-0006TN-0L for qemu-devel@nongnu.org; Tue, 08 Nov 2016 09:19:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37880) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c47Fg-0006T3-Os for qemu-devel@nongnu.org; Tue, 08 Nov 2016 09:19:52 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (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 F1DF13D96C for ; Tue, 8 Nov 2016 14:19:51 +0000 (UTC) From: Markus Armbruster References: <20161107073033.21025-1-marcandre.lureau@redhat.com> <20161107073033.21025-11-marcandre.lureau@redhat.com> Date: Tue, 08 Nov 2016 15:19:49 +0100 In-Reply-To: <20161107073033.21025-11-marcandre.lureau@redhat.com> (=?utf-8?Q?=22Marc-Andr=C3=A9?= Lureau"'s message of "Mon, 7 Nov 2016 11:30:29 +0400") Message-ID: <877f8ehx4q.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3 10/14] docs: add master qapi texi files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Cc: qemu-devel@nongnu.org I see you managed to turn the templates into master files. A welcome simplification of the build process. Marc-Andr=C3=A9 Lureau writes: > The qapi2texi scripts generates a file to be included in a texi script (singular) > file. Add "QEMU QMP Reference Manual" and "QEMU Guest Agent Protocol > Reference" master texi files. Move qmp-intro.txt into qemu-qmp-ref.texi, > to widen its content on various installed target > formats (man/txt/html/pdf/info..) I feel replacing qmp-intro.txt in this patch as well is one step too many. Let's do exactly the same both for QGA and QMP in this patch. Actually, in this series, because I want to commit it sooner rather than later, and the way to do that is to factor out and postpone inessential parts that are eating precious review bandwidth. > Signed-off-by: Marc-Andr=C3=A9 Lureau > --- > docs/qemu-ga-ref.texi | 65 ++++++++++++++++++ > docs/qemu-qmp-ref.texi | 156 ++++++++++++++++++++++++++++++++++++= ++++++ > docs/qmp-intro.txt | 87 ----------------------- > docs/writing-qmp-commands.txt | 2 +- > 4 files changed, 222 insertions(+), 88 deletions(-) > create mode 100644 docs/qemu-ga-ref.texi > create mode 100644 docs/qemu-qmp-ref.texi > delete mode 100644 docs/qmp-intro.txt > > diff --git a/docs/qemu-ga-ref.texi b/docs/qemu-ga-ref.texi > new file mode 100644 > index 0000000..ad90712 > --- /dev/null > +++ b/docs/qemu-ga-ref.texi > @@ -0,0 +1,65 @@ > +\input texinfo > +@setfilename qemu-ga-ref.info > + > +@exampleindent 0 > +@paragraphindent 0 > + > +@settitle QEMU Guest Agent Protocol Reference > + > +@copying > +This is the QEMU Guest Agent Protocol reference manual. > + > +Copyright @copyright{} 2016 The QEMU Project developers Need something on permissions, because without, we don't grant any. Since much of the contents comes from existing files without an explicit license notice, I guess we need to stick to GPLv2+. Here's my try, patterned after the notice carried by "The Debian Administrator's Handbook"[*]: @quotation This manual is free documentation: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This manual is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this manual. If not, see http://www.gnu.org/licenses/. @end quotation > +@end copying > + > +@ifinfo > +@dircategory QEMU > +@direntry > +* QEMU-GA-Ref: (qemu-ga-ref). QEMU Guest Agent Protocol Reference > +@end direntry > +@end ifinfo I don't think the redundant @ifinfo buys us anything. > + > +@titlepage > +@title Guest Agent Protocol Reference Manual > +@subtitle QEMU version @value{VERSION} > +@page > +@vskip 0pt plus 1filll > +@insertcopying > +@end titlepage > + > +@contents > + > +@ifnottex > +@node Top > +@top QEMU Guest Agent protocol reference > +@end ifnottex > + > +@menu > +* API Reference:: > +* Commands and Events Index:: > +* Data Types Index:: > +@end menu > + > +@node API Reference > +@chapter API Reference > + > +@c for texi2pod: > +@c man begin DESCRIPTION > + > +@include qemu-ga-qapi.texi > + > +@c man end > + > +@c man begin SEEALSO > +The HTML documentation of QEMU for more information. > +@c man end > + > +@node Commands and Events Index > +@unnumbered Commands and Events Index > +@printindex fn > + > +@node Data Types Index > +@unnumbered Data Types Index > +@printindex tp > + > +@bye > diff --git a/docs/qemu-qmp-ref.texi b/docs/qemu-qmp-ref.texi > new file mode 100644 > index 0000000..c1740ae > --- /dev/null > +++ b/docs/qemu-qmp-ref.texi > @@ -0,0 +1,156 @@ Comments on the previous file apply. > +\input texinfo > +@setfilename qemu-qmp-ref.info > + > +@exampleindent 0 > +@paragraphindent 0 > + > +@settitle QEMU QMP Reference Manual > + > +@copying > +This is the QEMU QMP reference manual. > + > +Copyright @copyright{} 2016 The QEMU Project developers > +@end copying > + > +@ifinfo > +@dircategory QEMU > +@direntry > +* QEMU-QMP-Ref: (qemu-qmp-ref). QEMU QMP Reference Manual > +@end direntry > +@end ifinfo > + > +@titlepage > +@title QMP Reference Manual > +@subtitle QEMU version @value{VERSION} > +@page > +@vskip 0pt plus 1filll > +@insertcopying > +@end titlepage > + > +@contents > + > +@ifnottex > +@node Top > +@top QEMU QMP reference > +@end ifnottex > + > +@menu > +* Introduction:: > +* API Reference:: > +* Commands and Events Index:: > +* Data Types Index:: > +@end menu [Skipping chapter Introduction...] > +@node API Reference > +@chapter API Reference > + > +@c for texi2pod: > +@c man begin DESCRIPTION > + > +@include qemu-qapi.texi > + > +@c man end > + > +@c man begin SEEALSO > +The HTML documentation of QEMU for more precise information. > +@c man end > + > +@node Commands and Events Index > +@unnumbered Commands and Events Index > +@printindex fn > + > +@node Data Types Index > +@unnumbered Data Types Index > +@printindex tp > + > +@bye > diff --git a/docs/qmp-intro.txt b/docs/qmp-intro.txt > deleted file mode 100644 > index f6a3a03..0000000 > --- a/docs/qmp-intro.txt > +++ /dev/null [Skipping...] > diff --git a/docs/writing-qmp-commands.txt b/docs/writing-qmp-commands.txt > index 44c14db..de54977 100644 > --- a/docs/writing-qmp-commands.txt > +++ b/docs/writing-qmp-commands.txt [Skipping...] [*] https://www.debian.org/doc/manuals/debian-handbook/