From: krishnaa96 Date: Thu, 10 Sep 2020 11:14:40 +0000 (+0530) Subject: Fix swagger link in docs X-Git-Tag: 3.0.0~5^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=a674e20f6d3508e84ec4b2842f47bfff83ec36bb;p=optf%2Fosdf.git Fix swagger link in docs Issue-ID: OPTFRA-805 Signed-off-by: krishnaa96 Change-Id: I412c2c8061032819bab07e97238d7aea8fc4f388 --- 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 - - OSDF API +`OSDF API `_ OOF OPTENG API .............. -.. raw:: html - OPTENG API +`OPTENG API `_