[v2,3/5] gitlab: build HTML documentation
diff mbox series

Message ID 20200221172403.5358-4-xypron.glpk@gmx.de
State Accepted
Delegated to: Tom Rini
Headers show
Series
  • make htmldocs in CI
Related show

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 Gitlab CI.

Provide a build step for 'make htmldocs'.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
---
v2:
	no change
---
 .gitlab-ci.yml | 7 +++++++
 1 file changed, 7 insertions(+)

--
2.25.0

Comments

Tom Rini Feb. 25, 2020, 2:07 p.m. UTC | #1
On Fri, Feb 21, 2020 at 06:24:01PM +0100, Heinrich Schuchardt wrote:

> Several patches delivered incorrect restructured text as documentation. We
> should be able to discover this in Gitlab CI.
> 
> Provide a build step for 'make htmldocs'.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

Applied to u-boot/master, thanks!

Patch
diff mbox series

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d486e72042..652ed3b501 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -122,6 +122,13 @@  grep TODO/FIXME/HACK:
     # search for HACK within source tree and ignore HACKKIT board
     - grep -r HACK . | grep -v HACKKIT

+# build HTML documentation
+htmldocs:
+  tags: [ 'all' ]
+  stage: testsuites
+  script:
+    - make htmldocs
+
 # some statistics about the code base
 sloccount:
   tags: [ 'all' ]