Add new OCS API documentation

Signed-off-by: jld3103 <jld3103yt@gmail.com>
This commit is contained in:
jld3103
2023-04-05 12:49:16 +02:00
parent f4c96a4acb
commit 3435dacebb
7 changed files with 41 additions and 4 deletions

View File

@@ -0,0 +1,10 @@
<html>
<head>
<title>OCS API</title>
<script src="stoplight-elements.js"></script>
<link rel="stylesheet" href="stoplight-elements.css">
</head>
<body>
<elements-api apiDescriptionUrl="openapi.json" router="hash" hideTryIt="true" logo="logo-blue.png"></elements-api>
</body>
</html>

View File

@@ -4,6 +4,10 @@
OCS API
===============================
To browse the new OCS API documentation please go `here <../../_static/openapi.html>`_.
The old documentation is still kept as it provides some additional documentation that is not completely covered in the new documentation:
.. toctree::
ocs-api-overview

View File

@@ -126,7 +126,7 @@ html_short_title = "Developer Manual"
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['../_shared_assets/static']
html_static_path = ['../_shared_assets/static', '_static']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.