From 1330292d057c3dafae847b2de0febd3da9a0647c Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Sun, 13 Nov 2022 21:56:05 +0100 Subject: [PATCH] docs/libnm: fix gtkdoc-scan ignore lists These went out of date and now all sorts of useless junk is included in the libnm documentation They contain everything outside *-public/ (perhaps they could be generated, but I'm not doing that) and nm-core-types.h (because that one confuses gtk-doc in an outrageous manner). --- docs/libnm/Makefile.am | 31 ++++++++++--------------------- docs/libnm/meson.build | 29 ++++++++++------------------- 2 files changed, 20 insertions(+), 40 deletions(-) diff --git a/docs/libnm/Makefile.am b/docs/libnm/Makefile.am index 17244c122..c5a64a4fc 100644 --- a/docs/libnm/Makefile.am +++ b/docs/libnm/Makefile.am @@ -38,41 +38,30 @@ CFILE_GLOB=$(top_srcdir)/src/libnm-core-impl/*.c $(top_srcdir)/src/libnm-client- # Header files to ignore when scanning. IGNORE_HFILES= \ - common.h \ - nm-core-internal.h \ - nm-core-tests-enum-types.h \ - nm-crypto-impl.h \ - nm-crypto.h \ + nm-core-types.h \ + \ nm-dbus-helpers.h \ - nm-default-libnm-core.h \ + nm-default-libnm.h \ nm-device-private.h \ nm-dhcp4-config.h \ nm-dhcp6-config.h \ nm-dns-manager.h \ nm-ip4-config.h \ nm-ip6-config.h \ - nm-manager.h \ + nm-libnm-utils.h \ nm-object-private.h \ - nm-property-compare.h \ nm-remote-connection-private.h \ + \ + nm-connection-private.h \ + nm-default-libnm-core.h \ + nm-property-compare.h \ nm-setting-private.h \ + nm-team-utils.h \ nm-utils-private.h \ \ + nm-core-tests-enum-types.h \ test-general-enums.h \ \ - nm-keyfile-internal.h \ - nm-keyfile-utils.h \ - \ - nm-auth-subject.h \ - nm-common-macros.h \ - nm-ethtool-base.h \ - nm-libnm-core-utils.h \ - \ - nm-dispatcher-api.h \ - nm-libnm-core-aux.h \ - \ - nm-libnm-aux.h \ - \ $(NULL) # Images to copy into HTML directory. diff --git a/docs/libnm/meson.build b/docs/libnm/meson.build index 5a87b62a7..5d332e504 100644 --- a/docs/libnm/meson.build +++ b/docs/libnm/meson.build @@ -1,38 +1,29 @@ # SPDX-License-Identifier: LGPL-2.1-or-later private_headers = [ - 'common.h', - 'nm-core-internal.h', - 'nm-core-tests-enum-types.h', - 'nm-crypto-impl.h', - 'nm-crypto.h', + 'nm-core-types.h', + 'nm-dbus-helpers.h', - 'nm-default-libnm-core.h', + 'nm-default-libnm.h', 'nm-device-private.h', 'nm-dhcp4-config.h', 'nm-dhcp6-config.h', 'nm-dns-manager.h', 'nm-ip4-config.h', 'nm-ip6-config.h', - 'nm-manager.h', + 'nm-libnm-utils.h', 'nm-object-private.h', - 'nm-property-compare.h', 'nm-remote-connection-private.h', + + 'nm-connection-private.h', + 'nm-default-libnm-core.h', + 'nm-property-compare.h', 'nm-setting-private.h', + 'nm-team-utils.h', 'nm-utils-private.h', + 'nm-core-tests-enum-types.h', 'test-general-enums.h', - - 'nm-keyfile-internal.h', - 'nm-keyfile-utils.h', - - 'nm-auth-subject.h', - 'nm-common-macros.h', - 'nm-ethtool-base.h', - 'nm-libnm-core-utils.h', - - 'nm-dispatcher-api.h', - 'nm-libnm-core-aux.h', ] scan_args = [