aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorkrishnaa96 <krishna.moorthy6@wipro.com>2020-09-10 16:44:40 +0530
committerkrishnaa96 <krishna.moorthy6@wipro.com>2020-09-10 16:44:40 +0530
commita674e20f6d3508e84ec4b2842f47bfff83ec36bb (patch)
treeac99b9fc4309b97cefb31087e8315a0ff8c21585 /docs
parenteaba24134a5a8124387b229dcc6cac53ad00d62c (diff)
Fix swagger link in docs
Issue-ID: OPTFRA-805 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I412c2c8061032819bab07e97238d7aea8fc4f388
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py4
-rw-r--r--docs/sections/offeredapis.rst11
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>`_