Skip to content
Snippets Groups Projects

RTD docs pages

Merged Whitney Armstrong requested to merge rtd_docs into master
2 files
+ 20
3
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 17
2
@@ -60,16 +60,31 @@ gen_doxygen_src:
- build/src/dd4pod/src
- build/src/dd4pod/dd4pod
rtd_sphinx_build:
stage: container
#image: eicweb.phy.anl.gov:4567/containers/eic_container/rtd_builder
image: eicweb.phy.anl.gov:4567/containers/image_recipes/ubuntu_dind:latest
rules:
- if: '$CI_SERVER_HOST != "eicweb.phy.anl.gov" && $CI_COMMIT_BRANCH == "master"'
script:
- apt-get update && apt-get install -y python3-sphinx python3-pip
- pip3 install sphinx && pip3 install sphinx_rtd_theme
- cd docs && pip3 install -r requirements.txt && make html
artifacts:
paths:
- docs/_build/html
pages:
image: eicweb.phy.anl.gov:4567/containers/eic_container/alpine
stage: deploy
extends: .not-eicweb
needs: ['gen_doxygen_src']
needs: ['gen_doxygen_src','rtd_sphinx_build']
rules:
- if: '$CI_SERVER_HOST != "eicweb.phy.anl.gov" && $CI_COMMIT_BRANCH == "master"'
script:
- apk update && apk add doxygen graphviz ttf-ubuntu-font-family
- cd doc && doxygen Doxyfile && mv doxygen_output/html/ ../public/
- mkdir -p public && cp -r docs/_build/html/* public/.
- cd doc && doxygen Doxyfile && mv doxygen_output/html ../public/ref_doc && cd ..
artifacts:
paths:
- public
Loading