doc: rebuild all Sphinx guides
PATCH 1/1 doc: rebuild all Sphinx guides
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.
--- doc/guides/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
doc/guides/meson.build +1 -1
@@ -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
Signature · 1 line
2.39.1
Quoted 6 lines · Thomas Monjalon
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.
I can't reproduce such behavior, but the principle looks ok to me and I did not notice a difference in terms of time spending generating the documentation.
Quoted 2 lines
Signed-off-by Thomas Monjalon <[email protected]>
We have no guide describing Sphinx, I'd rather update this patch title like "doc: rebuild all guides with Sphinx".
Signature · 1 line
David Marchand
07/02/2023 09:54, David Marchand:
Quoted 11 lines · Thomas Monjalon
Quoted 6 lines
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.I can't reproduce such behavior, but the principle looks ok to me and I did not notice a difference in terms of time spending generating the documentation.
I think your system behaves with -a option forced somewhere.
Quoted 4 lines
Quoted 1 line
Signed-off-by Thomas Monjalon <[email protected]>We have no guide describing Sphinx, I'd rather update this patch title like "doc: rebuild all guides with Sphinx".
Yes
Quoted 1 line
Reviewed-by David Marchand <[email protected]>
Thomas Monjalon
Applied07/02/2023 10:09, Thomas Monjalon:
Quoted 13 lines
07/02/2023 09:54, David Marchand:
Quoted 11 lines · Thomas Monjalon
Quoted 6 lines
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.I can't reproduce such behavior, but the principle looks ok to me and I did not notice a difference in terms of time spending generating the documentation.
Quoted 10 lines
I think your system behaves with -a option forced somewhere.
Quoted 4 lines
Quoted 1 line
Signed-off-by Thomas Monjalon <[email protected]>We have no guide describing Sphinx, I'd rather update this patch title like "doc: rebuild all guides with Sphinx".
Yes
Quoted 1 line
Reviewed-by David Marchand <[email protected]>
Applied