mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 08:55:15 +00:00
* Fix swagger link in sphynx docs.
This commit is contained in:
parent
5e2eae7331
commit
ab4cef4b0b
1
Makefile
1
Makefile
@ -51,6 +51,7 @@ dist: pip
|
|||||||
|
|
||||||
# Target to generate HTML documentation
|
# Target to generate HTML documentation
|
||||||
docs: pip-dev
|
docs: pip-dev
|
||||||
|
mkdir -p docs/develop
|
||||||
cp README.md docs/develop/getting_started.md
|
cp README.md docs/develop/getting_started.md
|
||||||
# remove top level header and coresponding description
|
# remove top level header and coresponding description
|
||||||
sed -i '/^##[^#]/,$$!d' docs/develop/getting_started.md
|
sed -i '/^##[^#]/,$$!d' docs/develop/getting_started.md
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
Server API
|
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
|
.. openapi:: openapi.json
|
||||||
:examples:
|
:examples:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user