On 2/23/22 15:46, Quentin Schulz wrote:
> From: Quentin Schulz <[email protected]>
>
> Default flags for sphinx-build contain -W which turns warnings into
> errors. This is really helpful during debugging and could be used for
> continuous integration though we do not have such a thing separate from
> the continuous delivery in place currently. Nowadays, the docs files
> served at docs.yoctoproject.com are actually removed before being
> updated from the newly built docs. If the `html` target, a dependency of
> `publish` target is failing, the docs aren't copied over to the `final`
> temporary directory. Therefore it'll be missing in the rsync upload to
> docs.yoctoproject.org.
>
> Instead, let's disable the turning of warnings into errors so that the
> `html` make target can finish successfully and the `publish` make target
> to finish successfully too.
>
> Cc: Quentin Schulz <[email protected]>
> Signed-off-by: Quentin Schulz <[email protected]>
> ---
>  scripts/run-docs-build | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)


Looks like a great solution to detect issues in development without
blocking the generation of the manuals.
Reviewed-by: Michael Opdenacker <[email protected]>
👍

Cheers
Michael.

-- 
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#56267): https://lists.yoctoproject.org/g/yocto/message/56267
Mute This Topic: https://lists.yoctoproject.org/mt/89342077/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to