From e493446eee14980e8747486300dabd02595b987a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 23 May 2023 12:04:24 -0400 Subject: Improve introduction and deployment documentation --- doc/c/meson.build | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'doc/c') diff --git a/doc/c/meson.build b/doc/c/meson.build index fc63421..761557d 100644 --- a/doc/c/meson.build +++ b/doc/c/meson.build @@ -10,8 +10,19 @@ conf_py = configure_file( output: 'conf.py', ) -configure_file(copy: true, input: '../deployment.rst', output: 'deployment.rst') -configure_file(copy: true, input: '../summary.rst', output: 'summary.rst') +deployment_rst = configure_file( + copy: true, + input: '../deployment.rst', + output: 'deployment.rst', +) + +summary_rst = configure_file( + copy: true, + input: '../summary.rst', + output: 'summary.rst', +) + +copied_rst_files = [deployment_rst, summary_rst] c_rst_files = files( 'index.rst', @@ -36,7 +47,7 @@ docs = custom_target( build_by_default: true, command: [sphinx_build, '-M', 'singlehtml', '@OUTDIR@', '@OUTDIR@', '-E', '-q', '-t', 'singlehtml'], - input: [c_rst_files, c_pugl_rst, c_index_xml], + input: [c_rst_files, copied_rst_files, c_pugl_rst, c_index_xml], install: true, install_dir: docdir / 'pugl-0', output: 'singlehtml', @@ -47,7 +58,7 @@ docs = custom_target( build_by_default: true, command: [sphinx_build, '-M', 'html', '@OUTDIR@', '@OUTDIR@', '-E', '-q', '-t', 'html'], - input: [c_rst_files, c_pugl_rst, c_index_xml], + input: [c_rst_files, copied_rst_files, c_pugl_rst, c_index_xml], install: true, install_dir: docdir / 'pugl-0', output: 'html', -- cgit v1.2.1