diff --git a/.ci.yml b/.ci.yml index 7607265..e001a46 100644 --- a/.ci.yml +++ b/.ci.yml @@ -2,18 +2,22 @@ stages: - build - deploy -image: $CI_DOCS_DOCKER_IMAGE - build: stage: build - tags: ['ace-x86_64'] variables: GIT_SUBMODULE_STRATEGY: normal - script: + image: debian:bookworm + before_script: + - apt-get update + - apt-get install python3-venv python3-pip python3 -y - cd docs/ + - python3 -m venv .venv/ + - source .venv/bin/activate - pip3 install -r requirements.txt - - make html latexpdf - - cp build/latex/*.pdf build/html/ + script: + - cd docs/ + - source .venv/bin/activate + - make html - tar cf $CI_DOCS_ARCHIVE -C build/html/ . - mv $CI_DOCS_ARCHIVE build .. artifacts: @@ -24,6 +28,7 @@ build: deploy: variables: GIT_STRATEGY: none + image: $CI_DOCS_DOCKER_IMAGE dependencies: - build stage: deploy diff --git a/docs/requirements.txt b/docs/requirements.txt index 737097c..cbe1d1a 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,2 @@ -Sphinx==8.0.2 +Sphinx>=8.0 https://github.com/antmicro/antmicro-sphinx-utils/archive/main.zip