Show both http and python api on pages

This commit is contained in:
Julian Stirling 2026-02-12 16:36:55 +00:00
parent 4071b81d5f
commit 7cce823bd1
4 changed files with 151 additions and 1 deletions

View file

@ -180,11 +180,13 @@ build-docs:
- |
pydoctor -W \
--docformat restructuredtext \
--html-output apidocs/python \
--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
- ./generate_http_api_data.py
- echo "JOB_ID=$CI_JOB_ID" > build-docs.env
artifacts:
expire_in: 1 week