From f6f0ecfa0aa9872a582e22f2b839d500105aafa1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 23 Sep 2023 18:53:15 -0400 Subject: Format meson.build files with muon The less time wasted with manual code formatting, the better. --- doc/cpp/meson.build | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) (limited to 'doc/cpp/meson.build') 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, -- cgit v1.2.1