Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1622923
| From | Mauro Carvalho Chehab <mchehab@s-opensource.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 00/11] Documentation: Add ABI to the admin guide |
| Date | 2017-04-13 13:10 +0200 |
| Message-ID | <tvKNs-289-5@gated-at.bofh.it> (permalink) |
| References | <tvJRo-1sn-23@gated-at.bofh.it> |
| Organization | Samsung |
Em Thu, 13 Apr 2017 07:08:43 -0300 Mauro Carvalho Chehab <mchehab@s-opensource.com> escreveu: > That's the third attempt to add support for the Kernel ABI > at the Documentation's admin guide. > > The first approach was based on a generic extension that > calls a random script. This one is based on a new Sphinx > extension with adds a symbol specific for parsing ABI > symbols. > > It adds a new script (scripts/get_abi.pl) with can either > search for ABI symbols that match a regular expression or > outputs the entire documentation found inside a directory > as a ReST book. > > Adding the ABI description to the Linux documentation is > as easy as adding a tab like: > > .. kernel-abi:: $srctree/Documentation/ABI/obsolete > > On version 3, I improved the script to better parse the > ABI descriptions. On this version, it will identify if the > description can be handled as a normal text. If so, it will > escape characters that has special meaning on Sphinx. > If it detects that the description syntax is too complex, > it outputs inside a literal block. > > Also on version 3, I opted to use 4 separate sections, one > for each type of symbol. It also add an entry with the name > of each ABI file, with has cross-references to the symbols > defined on each file. > > The parser was also improved to handle any content at the > files that are before the ABI tags. The HTML formatted result can be seen at: http://www.infradead.org/~mchehab/kernel_docs/admin-guide/abi.html And the PDF formatted result at (pages 151 to 565): http://www.infradead.org/~mchehab/kernel_docs_pdf/linux-user.pdf Thanks, Mauro
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 00/11] Documentation: Add ABI to the admin guide Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-04-13 12:20 +0200
[PATCH v2 09/11] scripts/get_abi.pl: split label naming from xref logic Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-04-13 12:20 +0200
[PATCH v2 10/11] scripts/get_abi.pl: add support for searching for ABI symbols Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-04-13 12:20 +0200
[PATCH v2 11/11] doc-rst: add ABI documentation to the admin-guide book Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-04-13 12:20 +0200
[PATCH v2 07/11] scripts/get_abi.pl: parse files with text at beginning Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-04-13 12:20 +0200
[PATCH v2 08/11] scripts/get_abi.pl: avoid use literal blocks when not needed Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-04-13 12:20 +0200
[PATCH v2 04/11] ABI: sysfs-class-uwb_rc: remove a duplicated incomplete entry Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-04-13 12:20 +0200
[PATCH v2 03/11] ABI: sysfs-driver-hid: the "What" field doesn't parse fine Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-04-13 12:20 +0200
[PATCH v2 05/11] ABI: better identificate tables Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-04-13 12:20 +0200
Re: [PATCH v2 00/11] Documentation: Add ABI to the admin guide Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-04-13 13:10 +0200
Re: [PATCH v2 02/11] ABI: fix some syntax issues at the ABI database Andrew Donnellan <andrew.donnellan@au1.ibm.com> - 2017-04-13 16:10 +0200
Re: [PATCH v2 00/11] Documentation: Add ABI to the admin guide Jonathan Corbet <corbet@lwn.net> - 2017-04-20 23:50 +0200
Re: [PATCH v2 00/11] Documentation: Add ABI to the admin guide Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-04-21 01:30 +0200
Re: [PATCH v2 00/11] Documentation: Add ABI to the admin guide Markus Heiser <markus.heiser@darmarit.de> - 2017-04-21 08:50 +0200
Re: [PATCH v2 00/11] Documentation: Add ABI to the admin guide Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-04-21 16:30 +0200
csiph-web