[gegl/wip/smcv/gtk-doc-no-ctx] docs: Don't scan ctx.h with gtk-doc




commit cf7e328c931a46997fbc4a40540afccd2da8f1e9
Author: Simon McVittie <smcv debian org>
Date:   Thu Sep 9 13:00:36 2021 +0100

    docs: Don't scan ctx.h with gtk-doc
    
    ctx.h contains both declarations and implementation, causing gtk-doc to
    fail. It isn't part of GEGL's public API anyway, so don't try to
    document it as such.
    
    Signed-off-by: Simon McVittie <smcv debian org>

 docs/reference/meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index 8193a25ba..2348cec92 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -12,6 +12,7 @@ if gtkdoc_scan.found()
       project_source_root / 'gegl',
       project_build_root / 'gegl',
     ],
+    ignore_headers: ['ctx.h'],
     fixxref_args: [
       '--html-dir=@0@'.format(gegl_gtk_docdir),
       '--extra-dir=@0@'.format(glib_gtk_docdir),


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