mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
.gitlab-ci: docs: install the main requirements.txt, treat warnings as errors
This commit is contained in:
parent
33b52b2774
commit
2237b940c4
2 changed files with 3 additions and 3 deletions
|
@ -72,9 +72,9 @@ push_docker:
|
|||
.docs:
|
||||
image: "${CI_REGISTRY_IMAGE}:dev"
|
||||
before_script:
|
||||
- pip install -r docs/requirements.txt
|
||||
- pip install -r requirements.txt -r docs/requirements.txt
|
||||
script:
|
||||
- (cd docs && make)
|
||||
- (cd docs && SPHINXARGS='-W' make)
|
||||
- mv docs/html public
|
||||
artifacts:
|
||||
paths:
|
||||
|
|
|
@ -10,7 +10,7 @@ clean:
|
|||
rm -rf html source/cli .buildinfo .doctrees
|
||||
|
||||
html:
|
||||
sphinx-build $(buildargs)
|
||||
sphinx-build $(SPHINXARGS) $(buildargs)
|
||||
|
||||
serve: html
|
||||
(cd html && python -m http.server 9999)
|
||||
|
|
Loading…
Add table
Reference in a new issue