diff options
author | 2020-04-16 14:14:08 +0200 | |
---|---|---|
committer | 2020-04-16 14:33:32 +0200 | |
commit | 78b0ab8c410c9d4c79a98e3a71fe635c028f4785 (patch) | |
tree | 855ab5f046db0930d083f980e9a0356373090c6a /docs/offeredapis/redoc/api_hub.js | |
parent | 86f0fd6ce609d5cf496ce4bb22656fb1ceb43c54 (diff) |
WIP: add embedded ReDoc documentation for API
Include ReDoc using embedded JavaScript capabilities in RST
Create a new directory 'redoc' to store
- <api>.rst to embed RST content for each API
- <api>.js to store link towards the JSON Swagger file for each API
- redoc.js to store JS links to render ReDoc
Modify offeredapis.rst to include a new section
Issue-ID: EXTAPI-433
Signed-off-by: Eric Debeau <eric.debeau@orange.com>
Change-Id: Iaa2430a7d4080ed6f91ec8a3e2d6203319f29425
Diffstat (limited to 'docs/offeredapis/redoc/api_hub.js')
-rw-r--r-- | docs/offeredapis/redoc/api_hub.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/offeredapis/redoc/api_hub.js b/docs/offeredapis/redoc/api_hub.js new file mode 100644 index 0000000..271655e --- /dev/null +++ b/docs/offeredapis/redoc/api_hub.js @@ -0,0 +1 @@ +<redoc spec-url='https://docs.onap.org/en/latest/_downloads/0e070a6a43ca19bec86d24ffc669044a/swagger.json'></redoc>
\ No newline at end of file |