]> www.infradead.org Git - users/willy/linux.git/commit
doc: netlink: Fix generated .rst for multi-line docs
authorDonald Hunter <donald.hunter@gmail.com>
Tue, 28 May 2024 14:06:49 +0000 (15:06 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 May 2024 01:10:25 +0000 (18:10 -0700)
commitc697f515b6390b17e4a54a6f93aedf27133929c5
tree9d5ea170ccaee2a21e4d5ed538a66053115b43f3
parent1e37449fe3aa32e453eadaaba6e75b66c365efc4
doc: netlink: Fix generated .rst for multi-line docs

Fix the newline replacement in ynl-gen-rst.py to put spaces between
concatenated lines. This fixes the broken doc string formatting.

See the dpll docs for an example of broken concatenation:

https://docs.kernel.org/6.9/networking/netlink_spec/dpll.html#lock-status

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