Fix docs creation Closes #218 (#219)

* Fix swagger link in sphynx docs.
This commit is contained in:
Dominique Lasserre 2024-11-23 16:44:46 +01:00 committed by GitHub
parent 5e2eae7331
commit ab4cef4b0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -51,6 +51,7 @@ dist: pip
# Target to generate HTML documentation
docs: pip-dev
mkdir -p docs/develop
cp README.md docs/develop/getting_started.md
# remove top level header and coresponding description
sed -i '/^##[^#]/,$$!d' docs/develop/getting_started.md

View File

@ -7,7 +7,7 @@
Server API
##########
For a more detailed documentation see the Swagger interface: `EOS OpenAPI Spec <https://petstore3.swagger.io/?url=https://raw.githubusercontent.com/Akkudoktor-EOS/EOS/refs/heads/main/openapi.json>`_
For a more detailed documentation see the Swagger interface: `EOS OpenAPI Spec <https://petstore3.swagger.io/?url=https://raw.githubusercontent.com/Akkudoktor-EOS/EOS/refs/heads/main/docs/akkudoktoreos/openapi.json>`_
.. openapi:: openapi.json
:examples: