Skip to content

Commit

Permalink
Tweak internal docs build
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Gielda <[email protected]>
  • Loading branch information
mgielda committed Dec 14, 2024
1 parent 18526d8 commit dde851a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
17 changes: 11 additions & 6 deletions .ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -24,6 +28,7 @@ build:
deploy:
variables:
GIT_STRATEGY: none
image: $CI_DOCS_DOCKER_IMAGE
dependencies:
- build
stage: deploy
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Sphinx==8.0.2
Sphinx>=8.0
https://github.com/antmicro/antmicro-sphinx-utils/archive/main.zip

0 comments on commit dde851a

Please sign in to comment.