Fix swagger link in docs 30/112530/1
authorkrishnaa96 <krishna.moorthy6@wipro.com>
Thu, 10 Sep 2020 11:14:40 +0000 (16:44 +0530)
committerkrishnaa96 <krishna.moorthy6@wipro.com>
Thu, 10 Sep 2020 11:14:40 +0000 (16:44 +0530)
Issue-ID: OPTFRA-805
Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com>
Change-Id: I412c2c8061032819bab07e97238d7aea8fc4f388

docs/conf.py
docs/sections/offeredapis.rst

index 59016f1..1f5af3c 100644 (file)
@@ -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,
                    }
index c74b1b1..e7d9f1f 100644 (file)
@@ -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>`_