verilog_data-2 / BerkeleyLab_Bedrock /.gitlab /ci /docs.gitlab-ci.yml
SAIFIINDUSTRIES's picture
Add Batch 8 with 10 repos
7df9186 verified
Raw
History Blame
963 Bytes
make_docs:
extends: .build-matrix
image: $IMAGE
before_script:
- cd build-tools/make-demo && make clean
stage: test
script:
- make check consistency
sphinx_docs:
extends: .build-matrix
image: $IMAGE
stage: docs
before_script: |
apt-get update
apt-get install -y \
imagemagick \
ghostscript \
xvfb \
gtkwave \
texlive-binaries
python3 -m pip install \
standard-imghdr \
sphinx==8.1.3 \
sphinx_rtd_theme \
m2r2==0.3.4
sed -i -e '/pattern="PS"/ s/rights=".*" pattern=/rights="read|write" pattern=/g' \
-e '/pattern="PDF"/ s/rights=".*" pattern=/rights="read|write" pattern=/g' \
-e '/pattern="EPS"/ s/rights=".*" pattern=/rights="read|write" pattern=/g' \
-e '/<\/policymap>/i \ <policy domain="coder" rights="read|write" pattern="{GIF,JPEG,PNG,WEBP}" \/>' \
/etc/ImageMagick-*/policy.xml
script:
- make -C doc html