All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc: rebuild all Sphinx guides
@ 2023-02-07  8:43 Thomas Monjalon
  2023-02-07  8:54 ` David Marchand
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Monjalon @ 2023-02-07  8:43 UTC (permalink / raw)
  To: dev; +Cc: Luca Boccassi, Bruce Richardson, David Marchand, John McNamara

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 <thomas@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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-02-14 11:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-07  8:43 [PATCH] doc: rebuild all Sphinx guides Thomas Monjalon
2023-02-07  8:54 ` David Marchand
2023-02-07  9:09   ` Thomas Monjalon
2023-02-14 11:31     ` Thomas Monjalon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.