docs: add a script to check sysctl docs
authorStephen Kitt <steve@sk2.org>
Wed, 19 Feb 2020 15:34:42 +0000 (16:34 +0100)
committerJonathan Corbet <corbet@lwn.net>
Tue, 25 Feb 2020 10:35:16 +0000 (03:35 -0700)
commit021622df556b7213cffec1c0713f093fc7d045e3
treeded852cd5b856844d758011e471040c520bcd6a8
parentbf347b9da9bbba14b4af845b00d443f24d17d46d
docs: add a script to check sysctl docs

This script allows sysctl documentation to be checked against the
kernel source code, to identify missing or obsolete entries. Running
it against 5.5 shows for example that sysctl/kernel.rst has two
obsolete entries and is missing 52 entries.

Signed-off-by: Stephen Kitt <steve@sk2.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/admin-guide/sysctl/kernel.rst
scripts/check-sysctl-docs [new file with mode: 0755]