umockdev/0001-docs-Remove-types-handling-from-docs.patch
2021-08-25 12:33:47 +02:00

48 lines
1.7 KiB
Diff

From 7939e8defe7530431730eb6f83e423071846640d Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Wed, 25 Aug 2021 12:29:12 +0200
Subject: [PATCH] docs: Remove types handling from docs
umockdev doesn't export any GObject object types, so gtk-doc should not
be trying to create an empty types file, or including an object class
tree in its documentation.
See https://gitlab.gnome.org/GNOME/gtk-doc/issues/48
See https://github.com/mesonbuild/meson/issues/3892
See https://bugzilla.redhat.com/show_bug.cgi?id=1604585
---
docs/reference/meson.build | 1 -
docs/reference/umockdev-docs.xml | 4 ----
2 files changed, 5 deletions(-)
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index 737f861..25977af 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -14,7 +14,6 @@ gnome.gtkdoc('umockdev',
src_dir: [meson.build_root(), umockdev_c, umockdev_ioctl_c],
content_files: [version_xml],
ignore_headers: ['uevent_sender.h', 'ioctl_tree.h', 'debug.h'],
- scan_args: ['--rebuild-types'],
dependencies: [glib, gobject, declare_dependency(link_with : [umockdev_lib])],
install: true,
)
diff --git a/docs/reference/umockdev-docs.xml b/docs/reference/umockdev-docs.xml
index 4d7216f..0228aef 100644
--- a/docs/reference/umockdev-docs.xml
+++ b/docs/reference/umockdev-docs.xml
@@ -33,10 +33,6 @@
<xi:include href="xml/umockdeverror.xml"/>
</chapter>
- <chapter id="object-tree">
- <title>Object Hierarchy</title>
- <xi:include href="xml/tree_index.sgml"/>
- </chapter>
<index id="api-index-full">
<title>API Index</title>
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
--
2.31.1