All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] convert genericirq.tmpl and kernel-api.tmpl to DocBook
@ 2017-03-30 20:11 ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 28+ messages in thread
From: Mauro Carvalho Chehab @ 2017-03-30 20:11 UTC (permalink / raw)
  To: Linux Media Mailing List, Linux Doc Mailing List
  Cc: Mauro Carvalho Chehab, Mauro Carvalho Chehab, Noam Camus,
	James Morris, zijun_hu, Markus Heiser, linux-clk, Jani Nikula,
	Andrew Morton, Jens Axboe, Nicholas Piggin, Russell King,
	linux-block, Kirill A. Shutemov, Mauro Carvalho Chehab,
	Joonsoo Kim, Ingo Molnar, Bjorn Helgaas, Serge E. Hallyn,
	Michal Hocko, Ross Zwisler, Chris Wilson, linux-mm,
	linux-security-module, Silvio Fricke, Takashi Iwai,
	Sebastian Andrzej Siewior, Jan Kara, Vlastimil Babka, linux-pci,
	Matt Fleming, Johannes Weiner, Andrey Ryabinin, Andy Lutomirski,
	Mel Gorman, Andy Shevchenko, Jonathan Corbet, Alexey Dobriyan,
	Hillf Danton

Jani proposed to batch-convert the remaining DocBooks for us
to get rid of it.

Well, I tried ;) 

The conversion itself can easily done, but the problem is that
it hits several errors/warnings when parsing kernel-doc tags.

It ends that it takes some time to fix those.

Also, it seems that the "!I" and "!E" tags at the DocBook
template are not quite right. So, despite being properly
converted to the corresponding kernel-doc tags at ReST, they
didn't produce all that it was needed. I manually fixed a
few, but I guess there are more to be fixed there. Anyway,
this is something that the subsystem maintainers can fix later,
as they understand better what functions they want exported at
the public API documentation, and what functions they want to
hide.

This series converts just two documents, adding them to the
core-api.rst book. It addresses the errors/warnings that popup
after the conversion.

I had to add two fixes to scripts/kernel-doc, in order to solve
some of the issues.

If I have some time during this weekend, I may try to convert
some additional documents to DocBook.


Mauro Carvalho Chehab (9):
  scripts/kernel-doc: fix parser for apostrophes
  scripts/kernel-doc: fix handling of parameters with parenthesis
  genericirq.tmpl: convert it to ReST
  genericirq.rst: add cross-reference links and use monospaced fonts
  kernel-api.tmpl: convert it to ReST
  kernel-api.rst: fix output of the vsnprintf() documentation
  kernel-api.rst: make it handle lib/crc32.c
  kernel-api.rst: fix some complex tags at lib/bitmap.c
  kernel-api.rst: fix a series of errors when parsing C files

 Documentation/DocBook/Makefile        |   4 +-
 Documentation/DocBook/genericirq.tmpl | 520 ----------------------------------
 Documentation/DocBook/kernel-api.tmpl | 331 ----------------------
 Documentation/core-api/genericirq.rst | 440 ++++++++++++++++++++++++++++
 Documentation/core-api/index.rst      |   2 +
 Documentation/core-api/kernel-api.rst | 418 +++++++++++++++++++++++++++
 block/genhd.c                         |   7 +-
 drivers/pci/irq.c                     |   2 +-
 include/linux/clk.h                   |   4 +-
 ipc/util.c                            |  12 +-
 lib/bitmap.c                          |  28 +-
 lib/string.c                          |   2 +-
 lib/vsprintf.c                        |   6 +-
 mm/filemap.c                          |  18 +-
 mm/page_alloc.c                       |   3 +-
 mm/vmalloc.c                          |   2 +-
 scripts/kernel-doc                    |  19 +-
 security/security.c                   |  12 +-
 18 files changed, 932 insertions(+), 898 deletions(-)
 delete mode 100644 Documentation/DocBook/genericirq.tmpl
 delete mode 100644 Documentation/DocBook/kernel-api.tmpl
 create mode 100644 Documentation/core-api/genericirq.rst
 create mode 100644 Documentation/core-api/kernel-api.rst

-- 
2.9.3

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2017-04-04 12:34 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-30 20:11 [PATCH 0/9] convert genericirq.tmpl and kernel-api.tmpl to DocBook Mauro Carvalho Chehab
2017-03-30 20:11 ` Mauro Carvalho Chehab
2017-03-30 20:11 ` Mauro Carvalho Chehab
2017-03-30 20:11 ` [PATCH 1/9] scripts/kernel-doc: fix parser for apostrophes Mauro Carvalho Chehab
2017-03-30 20:11 ` [PATCH 2/9] scripts/kernel-doc: fix handling of parameters with parenthesis Mauro Carvalho Chehab
2017-03-30 20:11 ` [PATCH 3/9] genericirq.tmpl: convert it to ReST Mauro Carvalho Chehab
2017-03-31 14:57   ` Jonathan Corbet
2017-03-31 15:45     ` Thomas Gleixner
2017-03-31 18:04     ` Mauro Carvalho Chehab
2017-03-30 20:11 ` [PATCH 4/9] genericirq.rst: add cross-reference links and use monospaced fonts Mauro Carvalho Chehab
2017-03-30 20:11 ` [PATCH 5/9] kernel-api.tmpl: convert it to ReST Mauro Carvalho Chehab
2017-03-31 15:05   ` Jonathan Corbet
2017-03-31 18:12     ` Mauro Carvalho Chehab
2017-03-30 20:11 ` [PATCH 6/9] kernel-api.rst: fix output of the vsnprintf() documentation Mauro Carvalho Chehab
2017-03-30 20:11 ` [PATCH 7/9] kernel-api.rst: make it handle lib/crc32.c Mauro Carvalho Chehab
2017-03-30 20:11 ` [PATCH 8/9] kernel-api.rst: fix some complex tags at lib/bitmap.c Mauro Carvalho Chehab
2017-03-30 20:11 ` [PATCH 9/9] kernel-api.rst: fix a series of errors when parsing C files Mauro Carvalho Chehab
2017-03-30 20:11   ` Mauro Carvalho Chehab
2017-03-30 20:11   ` Mauro Carvalho Chehab
2017-03-30 21:06   ` Bjorn Helgaas
2017-03-30 21:06     ` Bjorn Helgaas
2017-03-30 21:06     ` Bjorn Helgaas
2017-04-02 20:34 ` [PATCH 0/9] convert genericirq.tmpl and kernel-api.tmpl to DocBook Jonathan Corbet
2017-04-02 20:34   ` Jonathan Corbet
2017-04-02 20:34   ` Jonathan Corbet
2017-04-04 12:34   ` Mauro Carvalho Chehab
2017-04-04 12:34     ` Mauro Carvalho Chehab
2017-04-04 12:34     ` Mauro Carvalho Chehab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.