diff --git a/dnf5daemon-server/dbus/interfaces/CMakeLists.txt b/dnf5daemon-server/dbus/interfaces/CMakeLists.txt index c3415adb1..ed408f2af 100644 --- a/dnf5daemon-server/dbus/interfaces/CMakeLists.txt +++ b/dnf5daemon-server/dbus/interfaces/CMakeLists.txt @@ -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) diff --git a/doc/dnf_daemon/dnf5daemon_dbus_api.8.rst b/doc/dnf_daemon/dnf5daemon_dbus_api.8.rst index f11a7b6c7..abaefefc9 100644 --- a/doc/dnf_daemon/dnf5daemon_dbus_api.8.rst +++ b/doc/dnf_daemon/dnf5daemon_dbus_api.8.rst @@ -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