Skip to content

Commit 416efbf

Browse files
committed
docs: autoregenerate id128.rst
1 parent d713eac commit 416efbf

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ update-constants: $(INCLUDE_DIR)/systemd/sd-messages.h
2525
sort -u >systemd/id128-constants.h.tmp
2626
mv systemd/id128-defines.h{.tmp,}
2727
mv systemd/id128-constants.h{.tmp,}
28+
($(SED) 9q <docs/id128.rst && \
29+
sed -n -r 's/#define (SD_MESSAGE_[A-Z0-9_]+) .*/ .. autoattribute:: systemd.id128.\1/p' \
30+
systemd/id128-defines.h) >docs/id128.rst.tmp
31+
mv docs/id128.rst{.tmp,}
2832

2933
build:
3034
$(PYTHON) setup.py build

docs/id128.rst

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,25 @@
66
:undoc-members:
77
:inherited-members:
88

9+
.. autogenerated, do not edit!
10+
.. autoattribute:: systemd.id128.SD_MESSAGE_BOOTCHART
11+
.. autoattribute:: systemd.id128.SD_MESSAGE_CONFIG_ERROR
912
.. autoattribute:: systemd.id128.SD_MESSAGE_COREDUMP
13+
.. autoattribute:: systemd.id128.SD_MESSAGE_DNSSEC_DOWNGRADE
14+
.. autoattribute:: systemd.id128.SD_MESSAGE_DNSSEC_FAILURE
15+
.. autoattribute:: systemd.id128.SD_MESSAGE_DNSSEC_TRUST_ANCHOR_REVOKED
1016
.. autoattribute:: systemd.id128.SD_MESSAGE_FORWARD_SYSLOG_MISSED
1117
.. autoattribute:: systemd.id128.SD_MESSAGE_HIBERNATE_KEY
18+
.. autoattribute:: systemd.id128.SD_MESSAGE_INVALID_CONFIGURATION
1219
.. autoattribute:: systemd.id128.SD_MESSAGE_JOURNAL_DROPPED
1320
.. autoattribute:: systemd.id128.SD_MESSAGE_JOURNAL_MISSED
1421
.. autoattribute:: systemd.id128.SD_MESSAGE_JOURNAL_START
1522
.. autoattribute:: systemd.id128.SD_MESSAGE_JOURNAL_STOP
23+
.. autoattribute:: systemd.id128.SD_MESSAGE_JOURNAL_USAGE
1624
.. autoattribute:: systemd.id128.SD_MESSAGE_LID_CLOSED
1725
.. autoattribute:: systemd.id128.SD_MESSAGE_LID_OPENED
26+
.. autoattribute:: systemd.id128.SD_MESSAGE_MACHINE_START
27+
.. autoattribute:: systemd.id128.SD_MESSAGE_MACHINE_STOP
1828
.. autoattribute:: systemd.id128.SD_MESSAGE_OVERMOUNTING
1929
.. autoattribute:: systemd.id128.SD_MESSAGE_POWER_KEY
2030
.. autoattribute:: systemd.id128.SD_MESSAGE_SEAT_START
@@ -27,13 +37,14 @@
2737
.. autoattribute:: systemd.id128.SD_MESSAGE_SPAWN_FAILED
2838
.. autoattribute:: systemd.id128.SD_MESSAGE_STARTUP_FINISHED
2939
.. autoattribute:: systemd.id128.SD_MESSAGE_SUSPEND_KEY
30-
.. autoattribute:: systemd.id128.SD_MESSAGE_TIMEZONE_CHANGE
40+
.. autoattribute:: systemd.id128.SD_MESSAGE_SYSTEM_DOCKED
41+
.. autoattribute:: systemd.id128.SD_MESSAGE_SYSTEM_UNDOCKED
3142
.. autoattribute:: systemd.id128.SD_MESSAGE_TIME_CHANGE
43+
.. autoattribute:: systemd.id128.SD_MESSAGE_TIMEZONE_CHANGE
3244
.. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_FAILED
3345
.. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_RELOADED
3446
.. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_RELOADING
3547
.. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_STARTED
3648
.. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_STARTING
3749
.. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_STOPPED
3850
.. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_STOPPING
39-
.. autoattribute:: systemd.id128.SD_MESSAGE_BOOTCHART

0 commit comments

Comments
 (0)