[libsoup/wip/doc-fixes: 3/4] docs: Fix glib references




commit 6af11afc7fa8681e1dbdfc8cca7fe7a15f54f7c8
Author: Patrick Griffis <pgriffis igalia com>
Date:   Sat Sep 19 19:57:31 2020 -0700

    docs: Fix glib references

 docs/reference/meson.build | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index bbdc0054..6aec3a0a 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -52,6 +52,9 @@ scan_args = [
   '--ignore-decorators="SOUP_DEPRECATED\w*\s*\([^)]*\)|SOUP_DEPRECATED\w*|SOUP_AVAILABLE\w*"'
 ]
 
+glib_prefix = glib_dep.get_pkgconfig_variable('prefix')
+glib_docpath = glib_prefix / 'share' / 'gtk-doc' / 'html'
+
 gnome.gtkdoc('libsoup-3.0',
   main_xml : 'libsoup-3.0-docs.xml',
   src_dir : srcdir,
@@ -59,6 +62,11 @@ gnome.gtkdoc('libsoup-3.0',
   namespace : 'soup',
   mkdb_args : mkdb_args,
   scan_args : scan_args,
+  fixxref_args : [
+    '--extra-dir=@0@'.format(glib_docpath / 'glib'),
+    '--extra-dir=@0@'.format(glib_docpath /'gobject'),
+    '--extra-dir=@0@'.format(glib_docpath /'gio'),
+  ],
   dependencies : libsoup_private_dep,
   install : true,
   content_files: [


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