On some systems, Sphinx is lazy enough to not recompile an RST file,
even if it contains a link pointing to a file which has been removed.

In order to detect such broken links,
the option "-a" is used to always rebuild all.

Signed-off-by: Thomas Monjalon <tho...@monjalon.net>
---
 doc/guides/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/guides/meson.build b/doc/guides/meson.build
index 03b8bee567..51f81da2e3 100644
--- a/doc/guides/meson.build
+++ b/doc/guides/meson.build
@@ -7,7 +7,7 @@ if not sphinx.found()
     subdir_done()
 endif
 
-extra_sphinx_args = []
+extra_sphinx_args = ['-a']
 if get_option('werror')
     extra_sphinx_args += '-W'
 endif
-- 
2.39.1

Reply via email to