From: Mike Yuan Date: Wed, 14 May 2025 18:33:22 +0000 (+0200) Subject: man: don't duplicate version in History section X-Git-Tag: v258-rc1~595^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7d71b23304cf8f7d4b4a06f9322847c22c1c5175;p=thirdparty%2Fsystemd.git man: don't duplicate version in History section --- diff --git a/man/kernel-command-line.xml b/man/kernel-command-line.xml index a2a045d2090..54213d31c6e 100644 --- a/man/kernel-command-line.xml +++ b/man/kernel-command-line.xml @@ -802,11 +802,10 @@ systemd 252 + Kernel command-line arguments systemd.unified_cgroup_hierarchy and systemd.legacy_systemd_cgroup_controller were deprecated. Please switch to - the unified cgroup hierarchy. - - + the unified cgroup hierarchy. diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml index f7b414da5ce..b42a49f6436 100644 --- a/man/systemd-system.conf.xml +++ b/man/systemd-system.conf.xml @@ -754,10 +754,9 @@ systemd 252 - Option DefaultBlockIOAccounting= was deprecated. Please switch - to the unified cgroup hierarchy. - + Option DefaultBlockIOAccounting= was deprecated. Please switch + to the unified cgroup hierarchy. diff --git a/man/systemd.resource-control.xml b/man/systemd.resource-control.xml index a2f1bc02baa..aefee94cac5 100644 --- a/man/systemd.resource-control.xml +++ b/man/systemd.resource-control.xml @@ -1689,7 +1689,8 @@ DeviceAllow=/dev/loop-control systemd 252 - Options for controlling the Legacy Control Group Hierarchy (Options for controlling the Legacy Control Group Hierarchy (Control Groups version 1) are now fully deprecated: CPUShares=weight, @@ -1703,9 +1704,7 @@ DeviceAllow=/dev/loop-control BlockIOReadBandwidth=device bytes, BlockIOWriteBandwidth=device bytes. - Please switch to the unified cgroup hierarchy. - - + Please switch to the unified cgroup hierarchy. diff --git a/man/systemd.xml b/man/systemd.xml index 88dd158021b..857c942eed1 100644 --- a/man/systemd.xml +++ b/man/systemd.xml @@ -1507,11 +1507,10 @@ systemd 252 + Kernel command-line arguments systemd.unified_cgroup_hierarchy and systemd.legacy_systemd_cgroup_controller were deprecated. Please switch to - the unified cgroup hierarchy. - - + the unified cgroup hierarchy. diff --git a/tools/check-version-history.py b/tools/check-version-history.py index efd7023762e..dce2b6abd16 100644 --- a/tools/check-version-history.py +++ b/tools/check-version-history.py @@ -75,9 +75,12 @@ def find_undocumented_commands(pages, ignorelist): parent = listitem if listitem is not None else varlistentry rev = parent.getchildren()[-1] - if rev.get("href") != "version-info.xml": - if (filename, path) not in ignorelist: + if ( + rev.get("href") != "version-info.xml" and + not path.startswith(tuple(entry[1] for entry in ignorelist if entry[0] == filename)) + ): undocumented.append((filename, path)) + return undocumented diff --git a/tools/command_ignorelist b/tools/command_ignorelist index 9408d5a5f95..0159054b8d4 100644 --- a/tools/command_ignorelist +++ b/tools/command_ignorelist @@ -14,6 +14,7 @@ journald.conf.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="Co journald.conf.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="RateLimitIntervalSec="] journald.conf.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="SystemMaxUse="] journald.conf.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="ForwardToSyslog="] +kernel-command-line.xml ./refsect1[title="History"]/ kernel-install.xml ./refsect1[title="Commands"]/variablelist/varlistentry[term="add [[[KERNEL-VERSION] KERNEL-IMAGE] [INITRD-FILE ...]]"]/listitem/variablelist/varlistentry[term="50-depmod.install"] kernel-install.xml ./refsect1[title="Commands"]/variablelist/varlistentry[term="add [[[KERNEL-VERSION] KERNEL-IMAGE] [INITRD-FILE ...]]"]/listitem/variablelist/varlistentry[term="90-loaderentry.install"] kernel-install.xml ./refsect1[title="Commands"]/variablelist/varlistentry[term="add [[[KERNEL-VERSION] KERNEL-IMAGE] [INITRD-FILE ...]]"]/listitem/variablelist/varlistentry[term="90-uki-copy.install"] @@ -129,6 +130,7 @@ systemctl.xml ./refsect1[title="Commands"]/refsect2[title="System Commands"]/var systemctl.xml ./refsect1[title="Commands"]/refsect2[title="System Commands"]/variablelist/varlistentry[term="suspend"] systemctl.xml ./refsect1[title="Commands"]/refsect2[title="System Commands"]/variablelist/varlistentry[term="hibernate"] systemctl.xml ./refsect1[title="Commands"]/refsect2[title="System Commands"]/variablelist/varlistentry[term="switch-root ROOT INIT"] +systemd.xml ./refsect1[title="History"]/ systemd-ask-password.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="--icon="] systemd-ask-password.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="--timeout="] systemd-ask-password.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="--no-tty"] @@ -175,6 +177,7 @@ systemd-nspawn.xml ./refsect1[title="Options"]/refsect2[title="Execution Options systemd-nspawn.xml ./refsect1[title="Options"]/refsect2[title="System Identity Options"]/variablelist/varlistentry[term="--uuid="] systemd-nspawn.xml ./refsect1[title="Options"]/refsect2[title="Networking Options"]/variablelist/varlistentry[term="--private-network"] systemd-nspawn.xml ./refsect1[title="Options"]/refsect2[title="Image Options"]/variablelist/varlistentry[term="--read-only"] +systemd-system.conf.xml ./refsect1[title="History"]/ systemd-tmpfiles.xml ./refsect1[title="Commands and options"]/variablelist/varlistentry[term="--create"] systemd-tmpfiles.xml ./refsect1[title="Commands and options"]/variablelist/varlistentry[term="--clean"] systemd-tmpfiles.xml ./refsect1[title="Commands and options"]/variablelist/varlistentry[term="--remove"] @@ -249,6 +252,7 @@ systemd.path.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="Pat systemd.path.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="Unit="] systemd.path.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="MakeDirectory="] systemd.path.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="DirectoryMode="] +systemd.resource-control.xml ./refsect1[title="History"]/ systemd.service.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="Type="] systemd.service.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="RemainAfterExit="] systemd.service.xml ./refsect1[title="Options"]/variablelist/varlistentry[term="GuessMainPID="]