Add extra options to Pydoctor CI command
This commit is contained in:
parent
2cb4003835
commit
12df8c9072
1 changed files with 8 additions and 1 deletions
|
|
@ -172,7 +172,14 @@ build-docs:
|
||||||
extends: .python
|
extends: .python
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- pydoctor --docformat restructuredtext --theme readthedocs src/openflexure_microscope_server
|
- |
|
||||||
|
pydoctor -W \
|
||||||
|
--docformat restructuredtext \
|
||||||
|
--project-name "OpenFlexure Microscope Server" \
|
||||||
|
--project-version $CI_COMMIT_REF_NAME \
|
||||||
|
--theme readthedocs \
|
||||||
|
--html-viewsource-base https://gitlab.com/openflexure/openflexure-microscope-server/-/tree/$CI_COMMIT_SHA/ \
|
||||||
|
src/openflexure_microscope_server
|
||||||
- echo "JOB_ID=$CI_JOB_ID" > build-docs.env
|
- echo "JOB_ID=$CI_JOB_ID" > build-docs.env
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue