mirror of
https://git.gfz-potsdam.de/naaice/tug.git
synced 2025-12-13 09:28:23 +01:00
Merge branch 'sphinx-ci' into 'hannes-philipp'
ci: Enable sphinx-generated documentation deployment on main branch See merge request naaice/tug!14
This commit is contained in:
commit
dada94b1ae
@ -4,6 +4,7 @@ stages:
|
||||
- build
|
||||
- test
|
||||
- static_analyze
|
||||
- doc
|
||||
|
||||
build_release:
|
||||
stage: build
|
||||
@ -22,6 +23,23 @@ test:
|
||||
script:
|
||||
- ./build/test/testTug
|
||||
|
||||
pages:
|
||||
stage: doc
|
||||
image: python:slim
|
||||
before_script:
|
||||
- apt-get update && apt-get install --no-install-recommends -y graphviz imagemagick doxygen make
|
||||
- pip install --upgrade pip && pip install Sphinx Pillow breathe sphinx-rtd-theme
|
||||
- mkdir public
|
||||
script:
|
||||
- pushd docs_sphinx
|
||||
- make html
|
||||
- popd && mv docs_sphinx/_build/html/* public/
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||
|
||||
lint:
|
||||
stage: static_analyze
|
||||
before_script:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user