diff options
Diffstat (limited to 'docs/meson.build')
-rw-r--r-- | docs/meson.build | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/docs/meson.build b/docs/meson.build index 2eeb084..f2aeb76 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -1,5 +1,3 @@ -subdir('reference/rest') - if get_option('gtk_doc') and get_option('introspection') dependency('gi-docgen', version: '>= 2021.6', fallback: ['gi-docgen', 'dummy_dep'], @@ -11,6 +9,7 @@ if get_option('gtk_doc') and get_option('introspection') toml_conf = configuration_data() toml_conf.set('REST_VERSION', meson.project_version()) + toml_conf.set('SOUP_VERSION', libsoup_api_version) rest_toml = configure_file( input: 'librest.toml.in', @@ -39,5 +38,19 @@ if get_option('gtk_doc') and get_option('introspection') install_dir: rest_docdir, ) + # if get_option('tests') + # test('doc-check', + # gidocgen, + # args: [ + # 'check', + # '--config', rest_toml, + # '--add-include-path=@0@'.format(meson.current_build_dir() / '../rest'), + # librest_gir[0], + # ], + # depends: librest_gir[0], + # suite: ['docs'], + # ) + # endif + endif |