diff mbox series

[1/1] gitlab: build HTML documentation

Message ID 20200221052027.5217-1-xypron.glpk@gmx.de
State Superseded
Headers show
Series [1/1] gitlab: build HTML documentation | expand

Commit Message

Heinrich Schuchardt Feb. 21, 2020, 5:20 a.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 at gmx.de>
---
This patch requires a new Docker image. Cf.

[PATCH 1/1] Dockerfile: add imagemagick
https://lists.denx.de/pipermail/u-boot/2020-February/400983.html

If have tested successfully against Docker image
xypron/u-boot-gitlab-ci-runner:2020-02-20:
https://gitlab.denx.de/u-boot/custodians/u-boot-efi/-/jobs/60271
---
 .gitlab-ci.yml | 7 +++++++
 1 file changed, 7 insertions(+)

--
2.25.0

Comments

Bin Meng Feb. 21, 2020, 1:52 p.m. UTC | #1
On Fri, Feb 21, 2020 at 1:20 PM Heinrich Schuchardt <xypron.glpk at gmx.de> 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 at gmx.de>
> ---
> This patch requires a new Docker image. Cf.
>
> [PATCH 1/1] Dockerfile: add imagemagick
> https://lists.denx.de/pipermail/u-boot/2020-February/400983.html
>
> If have tested successfully against Docker image
> xypron/u-boot-gitlab-ci-runner:2020-02-20:
> https://gitlab.denx.de/u-boot/custodians/u-boot-efi/-/jobs/60271
> ---
>  .gitlab-ci.yml | 7 +++++++
>  1 file changed, 7 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
diff mbox series

Patch

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' ]