diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/c/meson.build | 2 | ||||
| -rw-r--r-- | doc/c/reference.doxygen.in | 1 | ||||
| -rw-r--r-- | doc/ns/ext/meson.build | 20 | ||||
| -rw-r--r-- | doc/ns/extensions/meson.build | 20 | ||||
| -rw-r--r-- | doc/ns/meson.build | 16 |
5 files changed, 28 insertions, 31 deletions
diff --git a/doc/c/meson.build b/doc/c/meson.build index da88b86..2642c3a 100644 --- a/doc/c/meson.build +++ b/doc/c/meson.build @@ -1,8 +1,6 @@ # Copyright 2022 David Robillard <d@drobilla.net> # SPDX-License-Identifier: 0BSD OR ISC -lv2_source_doc = meson.current_source_dir() - if doxygen.found() reference_doxygen_in = files('reference.doxygen.in') diff --git a/doc/c/reference.doxygen.in b/doc/c/reference.doxygen.in index 23e0329..333fe1c 100644 --- a/doc/c/reference.doxygen.in +++ b/doc/c/reference.doxygen.in @@ -805,6 +805,7 @@ INPUT = @LV2_SRCDIR@/doc/c/mainpage.md \ @LV2_SRCDIR@/include/lv2/atom/util.h \ @LV2_SRCDIR@/include/lv2/buf-size/buf-size.h \ @LV2_SRCDIR@/include/lv2/core/lv2.h \ + @LV2_SRCDIR@/include/lv2/core/lv2_util.h \ @LV2_SRCDIR@/include/lv2/data-access/data-access.h \ @LV2_SRCDIR@/include/lv2/dynmanifest/dynmanifest.h \ @LV2_SRCDIR@/include/lv2/event/event-helpers.h \ diff --git a/doc/ns/ext/meson.build b/doc/ns/ext/meson.build index bf6431b..58aa40d 100644 --- a/doc/ns/ext/meson.build +++ b/doc/ns/ext/meson.build @@ -1,17 +1,8 @@ -# Copyright 2022 David Robillard <d@drobilla.net> +# Copyright 2022-2025 David Robillard <d@drobilla.net> # SPDX-License-Identifier: 0BSD OR ISC config = configuration_data({'BASE': '/ns/ext'}) -if get_option('online_docs') - htaccess = configure_file( - configuration: config, - input: files('..' / '..' / 'htaccess.in'), - install_dir: lv2_docdir / 'ns' / 'ext', - output: '.htaccess', - ) -endif - spec_names = [ 'atom', 'buf-size', @@ -37,6 +28,15 @@ spec_names = [ ] if build_docs + if get_option('online_docs') + htaccess = configure_file( + configuration: config, + input: files('..' / '..' / 'htaccess.in'), + install_dir: lv2_docdir / 'ns' / 'ext', + output: '.htaccess', + ) + endif + foreach name : spec_names spec_file = files(lv2_source_root / 'lv2' / name + '.lv2' / name + '.ttl') diff --git a/doc/ns/extensions/meson.build b/doc/ns/extensions/meson.build index 837f736..3bf66b4 100644 --- a/doc/ns/extensions/meson.build +++ b/doc/ns/extensions/meson.build @@ -1,23 +1,23 @@ -# Copyright 2022 David Robillard <d@drobilla.net> +# Copyright 2022-2025 David Robillard <d@drobilla.net> # SPDX-License-Identifier: 0BSD OR ISC config = configuration_data({'BASE': '/ns/extensions'}) -if get_option('online_docs') - htaccess = configure_file( - configuration: config, - input: files('..' / '..' / 'htaccess.in'), - install_dir: lv2_docdir / 'ns' / 'extensions', - output: '.htaccess', - ) -endif - spec_names = [ 'ui', 'units', ] if build_docs + if get_option('online_docs') + htaccess = configure_file( + configuration: config, + input: files('..' / '..' / 'htaccess.in'), + install_dir: lv2_docdir / 'ns' / 'extensions', + output: '.htaccess', + ) + endif + foreach name : spec_names spec_file = files(lv2_source_root / 'lv2' / name + '.lv2' / name + '.ttl') diff --git a/doc/ns/meson.build b/doc/ns/meson.build index 126a100..3189cc2 100644 --- a/doc/ns/meson.build +++ b/doc/ns/meson.build @@ -3,15 +3,6 @@ config = configuration_data({'BASE': '/ns'}) -if get_option('online_docs') - htaccess = configure_file( - configuration: config, - input: files('..' / 'htaccess.in'), - install_dir: lv2_docdir / 'ns', - output: '.htaccess', - ) -endif - ###################### # Core Documentation # ###################### @@ -36,6 +27,13 @@ if build_docs ) if get_option('online_docs') + htaccess = configure_file( + configuration: config, + input: files('..' / 'htaccess.in'), + install_dir: lv2_docdir / 'ns', + output: '.htaccess', + ) + configure_file( copy: true, input: spec_file, |