diff options
author | dhebeha mj <dhebeha.mj71@wipro.com> | 2020-09-14 10:40:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-14 10:40:45 +0000 |
commit | 2024d8efab152980640b624402b6076da338ef7f (patch) | |
tree | 55813dc12f35d38c2b311a4978b5131402a53044 | |
parent | 7b4619e523dbeb519eed3b141a0359108c614f55 (diff) | |
parent | a674e20f6d3508e84ec4b2842f47bfff83ec36bb (diff) |
Merge "Fix swagger link in docs"
-rw-r--r-- | docs/conf.py | 4 | ||||
-rw-r--r-- | docs/sections/offeredapis.rst | 11 |
2 files changed, 6 insertions, 9 deletions
diff --git a/docs/conf.py b/docs/conf.py index 59016f1..1f5af3c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,13 +14,13 @@ extensions = [ redoc = [ { 'name': 'OSDF API', - 'page': './osdf-api', + 'page': 'sections/osdf-api', 'spec': './api/swagger/oof-osdf-has-api.json', 'embed': True, }, { 'name': 'OPTENG API', - 'page': './opteng-api', + 'page': 'sections/opteng-api', 'spec': './api/swagger/oof-osdf-has-api.json', 'embed': True, } diff --git a/docs/sections/offeredapis.rst b/docs/sections/offeredapis.rst index c74b1b1..e7d9f1f 100644 --- a/docs/sections/offeredapis.rst +++ b/docs/sections/offeredapis.rst @@ -15,20 +15,17 @@ paste into the swagger tool here: https://editor.swagger.io :header: "API name", "Swagger JSON" :widths: 10,5 - "OOF OSDF HAS API", ":download:`link <./swaggerdoc/oof-osdf-has-api.json>`" - "OOF OPTENG API", ":download:`link <./swaggerdoc/oof-optf-opteng-api.json>`" + "OOF OSDF HAS API", ":download:`link <../api/swagger/oof-osdf-has-api.json>`" + "OOF OPTENG API", ":download:`link <../api/swagger/oof-optf-opteng-api.json>`" OOF OSDF HAS API ................ -.. raw:: html - - <a class="reference internal" href="../osdf-api.html">OSDF API</a> +`OSDF API <osdf-api.html>`_ OOF OPTENG API .............. -.. raw:: html - <a class="reference internal" href="../opteng-api.html">OPTENG API</a> +`OPTENG API <opteng-api.html>`_ |