[json-glib/docs-introspection] build: Generate docs if we have introspection data




commit b34a05c8e1d88d8e146ee81be8f16d8f163bc9cc
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Aug 17 17:47:13 2021 +0100

    build: Generate docs if we have introspection data
    
    Our documentation is gated on having both the gtk_doc configuration
    feature and the introspection configuration feature enabled at the same
    time.

 doc/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/doc/meson.build b/doc/meson.build
index c4ebf4a..30e2039 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -1,4 +1,4 @@
-if get_option('gtk_doc').enabled()
+if get_option('gtk_doc').enabled() and get_option('introspection').enabled()
   dependency('gi-docgen', version: '>= 2021.6',
     fallback: ['gi-docgen', 'dummy_dep'],
   )


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