aboutsummaryrefslogtreecommitdiffstats
path: root/doc/cpp/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'doc/cpp/meson.build')
-rw-r--r--doc/cpp/meson.build22
1 files changed, 13 insertions, 9 deletions
diff --git a/doc/cpp/meson.build b/doc/cpp/meson.build
index 559362d..bc7af98 100644
--- a/doc/cpp/meson.build
+++ b/doc/cpp/meson.build
@@ -4,9 +4,11 @@
config = configuration_data()
config.set('PUGL_VERSION', meson.project_version())
-conf_py = configure_file(configuration: config,
- input: '../conf.py.in',
- output: 'conf.py')
+conf_py = configure_file(
+ configuration: config,
+ input: '../conf.py.in',
+ output: 'conf.py',
+)
configure_file(copy: true, input: '../deployment.rst', output: 'deployment.rst')
configure_file(copy: true, input: '../summary.rst', output: 'summary.rst')
@@ -29,20 +31,22 @@ subdir('api')
docs = custom_target(
'singlehtml',
+ build_by_default: true,
command: [sphinx_build, '-M', 'singlehtml', '@OUTDIR@', '@OUTDIR@',
'-E', '-q', '-t', 'singlehtml'],
input: [cpp_rst_files, cpp_pugl_rst, cpp_index_xml],
- output: 'singlehtml',
- build_by_default: true,
install: true,
- install_dir: docdir / 'puglpp-0')
+ install_dir: docdir / 'puglpp-0',
+ output: 'singlehtml',
+)
docs = custom_target(
'html',
command: [sphinx_build, '-M', 'html', '@OUTDIR@', '@OUTDIR@',
'-E', '-q', '-t', 'html'],
- input: [cpp_rst_files, cpp_pugl_rst, cpp_index_xml],
- output: 'html',
build_by_default: true,
+ input: [cpp_rst_files, cpp_pugl_rst, cpp_index_xml],
install: true,
- install_dir: docdir / 'puglpp-0')
+ install_dir: docdir / 'puglpp-0',
+ output: 'html',
+)