diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c06216607e7d5fcb4cca24413fe252e34c31e1e6..9ba4edd7f29e1f46a6611a7ddeb47fd07977b724 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ build_docs: stage: build script: - cd docs - - make html + - pyenv local 3.6.3 && make html - CI_LATEST_OUTPUT_PATH=/mace-build-output/$CI_PROJECT_NAME/latest - CI_JOB_OUTPUT_PATH=/mace-build-output/$CI_PROJECT_NAME/$CI_PIPELINE_ID - rm -rf $CI_JOB_OUTPUT_PATH diff --git a/docs/Makefile b/docs/Makefile index 10559b41b6b92c00e4a7b6785d6fa987e0c7518e..f4fa89c6fc7798b4df898f6510b7e4a558fc7279 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -17,5 +17,4 @@ help: # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: Makefile - pyenv local 3.6.3 @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)