Skip to content

RFC docs: integrate doc comments with Sphinx build

Paolo Bonzini qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6docs: import Linux kernel-doc script and extensiondocs/conf.py docs/sphinx/kernellog.py scripts/kernel-doc+2260 -10 replies
2/6docs: tweak kernel-doc for QEMU coding standardsscripts/kernel-doc+19 -90 replies
3/6docs: disable sphinx warning about missing cross referencesMakefile+1 -10 replies
4/6memory: adjust API documentation to (modified) kerneldoc formatinclude/exec/memory.h+10 -60 replies
5/6docs: add memory API referencedocs/devel/memory.rst+5 -00 replies
6/6memory: include MemoryListener documentation and some missing function parametersinclude/exec/memory.h+209 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/6] docs: integrate doc comments with Sphinx build

Hello,

this is an attempt at including kernel-doc, with small tweaks (see patch
2) to support QEMU's doc comment format, in the Sphinx documentation pipeline.

The ugly part is patch 3, which disables Sphinx's "nitpicking" (warn on invalid cross-reference) mode. It would probably be possible to use the nitpick_ignore configuration entry instead.

Paolo

Paolo Bonzini (6):
docs: import Linux kernel-doc script and extension
docs: tweak kernel-doc for QEMU coding standards
docs: disable sphinx warning about missing cross references
memory: adjust API documentation to (modified) kerneldoc format
docs: add memory API reference
memory: include MemoryListener documentation and some missing function
parameters

 Makefile                 |    2 +-
 docs/conf.py             |    7 +-
 docs/devel/memory.rst    |    5 +
 docs/sphinx/kernellog.py |   28 +
 include/exec/memory.h    |  227 +++-
 scripts/kernel-doc       | 2236 ++++++++++++++++++++++++++++++++++++++
 6 files changed, 2495 insertions(+), 10 deletions(-)
 create mode 100644 docs/sphinx/kernellog.py
 create mode 100755 scripts/kernel-doc
Signature · 1 line
2.21.0