Martin Blanchard pushed to branch mablanch/51-user-facing-docs at BuildGrid / buildgrid
Commits:
-
13ed1241
by Martin Blanchard at 2018-08-16T09:02:54Z
1 changed file:
Changes:
... | ... | @@ -40,6 +40,17 @@ run-dummy-job-debian: |
40 | 40 |
image: buildstream/buildstream-debian
|
41 | 41 |
<<: *dummy-job
|
42 | 42 |
|
43 |
+build-docs:
|
|
44 |
+ stage: test
|
|
45 |
+ script:
|
|
46 |
+ - pip3 install --editable ".[docs]"
|
|
47 |
+ - make -C docs html
|
|
48 |
+ - mkdir -p documentation/
|
|
49 |
+ - cp -a docs/build/html/. documentation/
|
|
50 |
+ artifacts:
|
|
51 |
+ paths:
|
|
52 |
+ - documentation/
|
|
53 |
+ |
|
43 | 54 |
|
44 | 55 |
coverage:
|
45 | 56 |
stage: post
|
... | ... | @@ -61,8 +72,10 @@ pages: |
61 | 72 |
stage: post
|
62 | 73 |
dependencies:
|
63 | 74 |
- tests-debian-stretch
|
75 |
+ - build-docs
|
|
64 | 76 |
script:
|
65 |
- - mv coverage/ public/
|
|
77 |
+ - cp -a coverage/. public/
|
|
78 |
+ - cp -a documentation/* public/
|
|
66 | 79 |
artifacts:
|
67 | 80 |
paths:
|
68 | 81 |
- public/
|