diff mbox series

[v2,5/5] doc/Makefile: turn warnings into errors

Message ID 20200221172403.5358-6-xypron.glpk@gmx.de
State Accepted
Commit f3957b69fd1d691c0129d3dd3283169056d3c928
Headers show
Series make htmldocs in CI | expand

Commit Message

Heinrich Schuchardt Feb. 21, 2020, 5:24 p.m. UTC
Several patches delivered incorrect restructured text as documentation. We
should be able to discover this in Travis CI, Gitlab CI, or Azure CI.

So let us turn all build warnings into errors.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
v2:
	change commit message
---
 doc/Makefile | 1 +
 1 file changed, 1 insertion(+)

--
2.25.0

Comments

Bin Meng Feb. 22, 2020, 2:47 a.m. UTC | #1
On Sat, Feb 22, 2020 at 1:25 AM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> Several patches delivered incorrect restructured text as documentation. We
> should be able to discover this in Travis CI, Gitlab CI, or Azure CI.
>
> So let us turn all build warnings into errors.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> v2:
>         change commit message
> ---
>  doc/Makefile | 1 +
>  1 file changed, 1 insertion(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
Tom Rini Feb. 25, 2020, 2:07 p.m. UTC | #2
On Fri, Feb 21, 2020 at 06:24:03PM +0100, Heinrich Schuchardt wrote:

> Several patches delivered incorrect restructured text as documentation. We
> should be able to discover this in Travis CI, Gitlab CI, or Azure CI.
> 
> So let us turn all build warnings into errors.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/doc/Makefile b/doc/Makefile
index 5135a96e88..0e0da5666f 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -56,6 +56,7 @@  quiet_cmd_sphinx = SPHINX  $@ --> file://$(abspath $(BUILDDIR)/$3/$4)
 	PYTHONDONTWRITEBYTECODE=1 \
 	BUILDDIR=$(abspath $(BUILDDIR)) SPHINX_CONF=$(abspath $(srctree)/$(src)/$5/$(SPHINX_CONF)) \
 	$(SPHINXBUILD) \
+	-W \
 	-b $2 \
 	-c $(abspath $(srctree)/$(src)) \
 	-d $(abspath $(BUILDDIR)/.doctrees/$3) \