Skip to content

doc: netlink: Fixes for ynl doc generator

Donald Hunter netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4doc: netlink: Fix generated .rst for multi-line docstools/net/ynl/ynl-gen-rst.py+1 -11 replyApplied
2/4doc: netlink: Don't 'sanitize' op docstrings in generated .rstDocumentation/netlink/specs/dpll.yaml tools/net/ynl/ynl-gen-rst.py+2 -11 replyApplied
3/4doc: netlink: Fix formatting of op flags in generated .rsttools/net/ynl/ynl-gen-rst.py+3 -11 replyApplied
4/4doc: netlink: Fix op pre and post fields in generated .rsttools/net/ynl/ynl-gen-rst.py+4 -13 repliesApplied

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchBreno Leitao
1/4Reviwed-by
2/4
3/4Reviwed-by
4/4Reviwed-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next v1 0/4] doc: netlink: Fixes for ynl doc generator

Several fixes to ynl-gen-rst to resolve issues that can be seen in:

https://docs.kernel.org/6.10-rc1/networking/netlink_spec/dpll.html#device-id-get
https://docs.kernel.org/6.10-rc1/networking/netlink_spec/dpll.html#lock-status

In patch 2, by not using 'sanitize' for op docs, any formatting in the .yaml gets passed straight through to the generated .rst which means that basic rst (also markdown compatible) list formatting can be used in the .yaml

Donald Hunter (4):
doc: netlink: Fix generated .rst for multi-line docs
doc: netlink: Don't 'sanitize' op docstrings in generated .rst
doc: netlink: Fix formatting of op flags in generated .rst
doc: netlink: Fix op pre and post fields in generated .rst

 Documentation/netlink/specs/dpll.yaml |  1 +
 tools/net/ynl/ynl-gen-rst.py          | 13 +++++++++----
 2 files changed, 10 insertions(+), 4 deletions(-)
Signature · 1 line
2.44.0