image: registry.gitlab.com/paddy-hack/sphinx/debian/pdf:2.2.1 stages: - test - publish test: stage: test before_script: - apt-get update -qq - apt-get install -qqy --no-install-recommends python3-setuptools python3-wheel - pip3 --quiet install -r requirements.txt script: # Prevent versioning support from kicking in as that breaks # sphinx-build invocations. - unset CI - sphinx-build -M linkcheck . _build/ pages: stage: publish before_script: - apt-get update -qq - apt-get install -qqy --no-install-recommends python3-setuptools python3-wheel git - pip3 --quiet install -r requirements.txt script: - sphinx-versioning build -P sane-standard.pdf . public/ artifacts: paths: - public