doc: netlink: Don't 'sanitize' op docstrings in generated .rst
authorDonald Hunter <donald.hunter@gmail.com>
Tue, 28 May 2024 14:06:50 +0000 (15:06 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 May 2024 01:10:25 +0000 (18:10 -0700)
commitebf9004136c76b7b62fe628a4bc88b3e894b4b95
tree0ab5f12002d6f742f91c41e22a3150500fdc8812
parentc697f515b6390b17e4a54a6f93aedf27133929c5
doc: netlink: Don't 'sanitize' op docstrings in generated .rst

The doc strings for do/dump ops are emitted as toplevel .rst constructs
so they can be multi-line. Pass multi-line text straight through to the
.rst to retain any simple formatting from the .yaml

This fixes e.g. list formatting for the pin-get docs in dpll.yaml:

https://docs.kernel.org/6.9/networking/netlink_spec/dpll.html#pin-get

Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://lore.kernel.org/r/20240528140652.9445-3-donald.hunter@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/dpll.yaml
tools/net/ynl/ynl-gen-rst.py