aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/c/meson.build32
-rw-r--r--doc/cpp/meson.build28
2 files changed, 44 insertions, 16 deletions
diff --git a/doc/c/meson.build b/doc/c/meson.build
index 761557d..1401aa3 100644
--- a/doc/c/meson.build
+++ b/doc/c/meson.build
@@ -25,14 +25,14 @@ summary_rst = configure_file(
copied_rst_files = [deployment_rst, summary_rst]
c_rst_files = files(
+ 'clipboards.rst',
+ 'event-loop.rst',
+ 'events.rst',
'index.rst',
'overview.rst',
- 'world.rst',
+ 'shutting-down.rst',
'view.rst',
- 'events.rst',
- 'event-loop.rst',
- 'clipboards.rst',
- 'shutting-down.rst'
+ 'world.rst',
)
foreach f : c_rst_files
@@ -45,8 +45,15 @@ subdir('api')
docs = custom_target(
'singlehtml',
build_by_default: true,
- command: [sphinx_build, '-M', 'singlehtml', '@OUTDIR@', '@OUTDIR@',
- '-E', '-q', '-t', 'singlehtml'],
+ command: [
+ sphinx_build,
+ '-M', 'singlehtml',
+ '@OUTDIR@',
+ '@OUTDIR@',
+ '-E',
+ '-q',
+ '-t', 'singlehtml',
+ ],
input: [c_rst_files, copied_rst_files, c_pugl_rst, c_index_xml],
install: true,
install_dir: docdir / 'pugl-0',
@@ -56,8 +63,15 @@ docs = custom_target(
docs = custom_target(
'html',
build_by_default: true,
- command: [sphinx_build, '-M', 'html', '@OUTDIR@', '@OUTDIR@',
- '-E', '-q', '-t', 'html'],
+ command: [
+ sphinx_build,
+ '-M', 'html',
+ '@OUTDIR@',
+ '@OUTDIR@',
+ '-E',
+ '-q',
+ '-t', 'html',
+ ],
input: [c_rst_files, copied_rst_files, c_pugl_rst, c_index_xml],
install: true,
install_dir: docdir / 'pugl-0',
diff --git a/doc/cpp/meson.build b/doc/cpp/meson.build
index f18be1b..ca6bc5b 100644
--- a/doc/cpp/meson.build
+++ b/doc/cpp/meson.build
@@ -14,12 +14,12 @@ configure_file(copy: true, input: '../deployment.rst', output: 'deployment.rst')
configure_file(copy: true, input: '../summary.rst', output: 'summary.rst')
cpp_rst_files = files(
+ 'event-loop.rst',
+ 'events.rst',
'index.rst',
'overview.rst',
- 'world.rst',
'view.rst',
- 'events.rst',
- 'event-loop.rst',
+ 'world.rst',
)
foreach f : cpp_rst_files
@@ -32,8 +32,15 @@ subdir('api')
docs = custom_target(
'singlehtml',
build_by_default: true,
- command: [sphinx_build, '-M', 'singlehtml', '@OUTDIR@', '@OUTDIR@',
- '-E', '-q', '-t', 'singlehtml'],
+ command: [
+ sphinx_build,
+ '-M', 'singlehtml',
+ '@OUTDIR@',
+ '@OUTDIR@',
+ '-E',
+ '-q',
+ '-t', 'singlehtml',
+ ],
input: [cpp_rst_files, cpp_pugl_rst, cpp_index_xml],
install: true,
install_dir: docdir / 'puglpp-0',
@@ -42,8 +49,15 @@ docs = custom_target(
docs = custom_target(
'html',
- command: [sphinx_build, '-M', 'html', '@OUTDIR@', '@OUTDIR@',
- '-E', '-q', '-t', 'html'],
+ command: [
+ sphinx_build,
+ '-M', 'html',
+ '@OUTDIR@',
+ '@OUTDIR@',
+ '-E',
+ '-q',
+ '-t', 'html',
+ ],
build_by_default: true,
input: [cpp_rst_files, cpp_pugl_rst, cpp_index_xml],
install: true,