diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | docs/id128.rst | 15 |
2 files changed, 17 insertions, 2 deletions
@@ -25,6 +25,10 @@ update-constants: $(INCLUDE_DIR)/systemd/sd-messages.h sort -u >systemd/id128-constants.h.tmp mv systemd/id128-defines.h{.tmp,} mv systemd/id128-constants.h{.tmp,} + ($(SED) 9q <docs/id128.rst && \ + sed -n -r 's/#define (SD_MESSAGE_[A-Z0-9_]+) .*/ .. autoattribute:: systemd.id128.\1/p' \ + systemd/id128-defines.h) >docs/id128.rst.tmp + mv docs/id128.rst{.tmp,} build: $(PYTHON) setup.py build diff --git a/docs/id128.rst b/docs/id128.rst index 43392bd..ba9f340 100644 --- a/docs/id128.rst +++ b/docs/id128.rst @@ -6,15 +6,25 @@ :undoc-members: :inherited-members: + .. autogenerated, do not edit! + .. autoattribute:: systemd.id128.SD_MESSAGE_BOOTCHART + .. autoattribute:: systemd.id128.SD_MESSAGE_CONFIG_ERROR .. autoattribute:: systemd.id128.SD_MESSAGE_COREDUMP + .. autoattribute:: systemd.id128.SD_MESSAGE_DNSSEC_DOWNGRADE + .. autoattribute:: systemd.id128.SD_MESSAGE_DNSSEC_FAILURE + .. autoattribute:: systemd.id128.SD_MESSAGE_DNSSEC_TRUST_ANCHOR_REVOKED .. autoattribute:: systemd.id128.SD_MESSAGE_FORWARD_SYSLOG_MISSED .. autoattribute:: systemd.id128.SD_MESSAGE_HIBERNATE_KEY + .. autoattribute:: systemd.id128.SD_MESSAGE_INVALID_CONFIGURATION .. autoattribute:: systemd.id128.SD_MESSAGE_JOURNAL_DROPPED .. autoattribute:: systemd.id128.SD_MESSAGE_JOURNAL_MISSED .. autoattribute:: systemd.id128.SD_MESSAGE_JOURNAL_START .. autoattribute:: systemd.id128.SD_MESSAGE_JOURNAL_STOP + .. autoattribute:: systemd.id128.SD_MESSAGE_JOURNAL_USAGE .. autoattribute:: systemd.id128.SD_MESSAGE_LID_CLOSED .. autoattribute:: systemd.id128.SD_MESSAGE_LID_OPENED + .. autoattribute:: systemd.id128.SD_MESSAGE_MACHINE_START + .. autoattribute:: systemd.id128.SD_MESSAGE_MACHINE_STOP .. autoattribute:: systemd.id128.SD_MESSAGE_OVERMOUNTING .. autoattribute:: systemd.id128.SD_MESSAGE_POWER_KEY .. autoattribute:: systemd.id128.SD_MESSAGE_SEAT_START @@ -27,8 +37,10 @@ .. autoattribute:: systemd.id128.SD_MESSAGE_SPAWN_FAILED .. autoattribute:: systemd.id128.SD_MESSAGE_STARTUP_FINISHED .. autoattribute:: systemd.id128.SD_MESSAGE_SUSPEND_KEY - .. autoattribute:: systemd.id128.SD_MESSAGE_TIMEZONE_CHANGE + .. autoattribute:: systemd.id128.SD_MESSAGE_SYSTEM_DOCKED + .. autoattribute:: systemd.id128.SD_MESSAGE_SYSTEM_UNDOCKED .. autoattribute:: systemd.id128.SD_MESSAGE_TIME_CHANGE + .. autoattribute:: systemd.id128.SD_MESSAGE_TIMEZONE_CHANGE .. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_FAILED .. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_RELOADED .. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_RELOADING @@ -36,4 +48,3 @@ .. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_STARTING .. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_STOPPED .. autoattribute:: systemd.id128.SD_MESSAGE_UNIT_STOPPING - .. autoattribute:: systemd.id128.SD_MESSAGE_BOOTCHART |