[gnome-online-accounts] build: Ignore generated/private headers for docs



commit 16ac29b6dc182e779eb4c62db845ab3ff4791b5a
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Aug 8 21:21:43 2022 +0100

    build: Ignore generated/private headers for docs
    
    There are lots private symbols that are not installed, but we're still
    letting gtk-doc parse them.

 doc/meson.build | 41 ++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 40 insertions(+), 1 deletion(-)
---
diff --git a/doc/meson.build b/doc/meson.build
index ec669e81..ace04f64 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -10,6 +10,44 @@ if enable_gtk_doc
     configuration: version_conf
   )
 
+  ignored_headers = [
+    # builddir/goabackend
+    'goadleynaservermanager.h',
+    'goadleynaservermediadevice.h',
+
+    # srcdir/goabackend
+    'gconstructor.h',
+    'goabackendenums-priv.h',
+    'goadlnaservermanager.h',
+    'goaewsclient.h',
+    'goaexchangeprovider.h',
+    'goafedoraprovider.h',
+    'goagoogleprovider.h',
+    'goahttpclient.h',
+    'goaimapauthlogin.h',
+    'goaimapsmtpprovider.h',
+    'goakerberosprovider.h',
+    'goalastfmprovider.h',
+    'goamailauth.h',
+    'goamailclient.h',
+    'goamediaserverprovider.h',
+    'goaoauth2provider-priv.h',
+    'goaoauth2provider-web-extension.h',
+    'goaoauth2provider-web-view.h',
+    'goaoauth2provider.h',
+    'goaobjectskeletonutils.h',
+    'goaowncloudprovider.h',
+    'goaprovider-priv.h',
+    'goarestproxy.h',
+    'goasmtpauth.h',
+    'goasouplogger.h',
+    'goautils.h',
+    'goawebextension.h',
+    'goawebview.h',
+    'goawindowsliveprovider.h',
+    'nautilus-floating-bar.h',
+  ]
+
   expand_content_files = files(
     'goa-daemon.xml',
     'goa-overview.xml'
@@ -19,12 +57,13 @@ if enable_gtk_doc
     goa_name,
     main_xml: goa_name + '-docs.xml',
     src_dir: [goa_inc, goabackend_inc],
+    ignore_headers: ignored_headers,
     dependencies: libgoa_backend_dep,
     mkdb_args: '--name-space=' + goa_name,
     fixxref_args: '--html-dir=' + join_paths(goa_prefix, gnome.gtkdoc_html_dir(goa_name)),
     gobject_typesfile: files(goa_name + '.types'),
     expand_content_files: expand_content_files,
-    install: true
+    install: true,
   )
 endif
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]