From 401a80d8cf0daba93a5fe6bc20465f25d24bf00e Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 26 Jun 2020 09:27:47 +1000 Subject: doc: don't ship the .doctree files with the documentation They're build artifacts and not needed for the actual documentation. Tell sphinx-build to generate those files in a custom directory that's not part of the documentation. Signed-off-by: Peter Hutterer --- doc/user/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') diff --git a/doc/user/meson.build b/doc/user/meson.build index c5dc32a4..733e1b90 100644 --- a/doc/user/meson.build +++ b/doc/user/meson.build @@ -194,5 +194,6 @@ custom_target('sphinx', input : [ sphinx_conf_py, git_version_page ] + src_sphinx + dst_404s, output : [ sphinx_output_dir ], command : [ sphinx, '-q', '-b', 'html', + '-d', join_paths(meson.current_build_dir(), 'doctrees'), meson.current_build_dir(), sphinx_output_dir], build_by_default : true) -- cgit v1.2.1