Skip to content

Commit

Permalink
doc: Add Advisory interface to daemon documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
m-blaha authored and inknos committed Mar 20, 2024
1 parent e8c5901 commit e0ae9be
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions dnf5daemon-server/dbus/interfaces/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/org.rpm.dnf.v0.Goal.xml ${CMAKE_CURRE
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/org.rpm.dnf.v0.SessionManager.xml ${CMAKE_CURRENT_BINARY_DIR}/org.rpm.dnf.v0.SessionManager.xml COPYONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/org.rpm.dnf.v0.rpm.Repo.xml ${CMAKE_CURRENT_BINARY_DIR}/org.rpm.dnf.v0.rpm.Repo.xml COPYONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/org.rpm.dnf.v0.rpm.Rpm.xml ${CMAKE_CURRENT_BINARY_DIR}/org.rpm.dnf.v0.rpm.Rpm.xml COPYONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/org.rpm.dnf.v0.Advisory.xml ${CMAKE_CURRENT_BINARY_DIR}/org.rpm.dnf.v0.Advisory.xml COPYONLY)
15 changes: 15 additions & 0 deletions doc/dnf_daemon/dnf5daemon_dbus_api.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,18 @@ Interfaces

.. literalinclude:: ../../dnf5daemon-server/dbus/interfaces/org.rpm.dnf.v0.rpm.Rpm.xml
:language: xml


.. only:: sphinx4

.. dbus-doc:: dnf5daemon-server/dbus/interfaces/org.rpm.dnf.v0.Advisory.xml

.. only:: not sphinx4

.. warning::
Sphinx 4 is required to build D-Bus documentation.

This is the content of ``dnf5daemon-server/dbus/interfaces/org.rpm.dnf.v0.Advisory.xml``:

.. literalinclude:: ../../dnf5daemon-server/dbus/interfaces/org.rpm.dnf.v0.Advisory.xml
:language: xml

0 comments on commit e0ae9be

Please sign in to comment.