From a674e20f6d3508e84ec4b2842f47bfff83ec36bb Mon Sep 17 00:00:00 2001 From: krishnaa96 Date: Thu, 10 Sep 2020 16:44:40 +0530 Subject: Fix swagger link in docs Issue-ID: OPTFRA-805 Signed-off-by: krishnaa96 Change-Id: I412c2c8061032819bab07e97238d7aea8fc4f388 --- docs/conf.py | 4 ++-- 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 - - OSDF API +`OSDF API `_ OOF OPTENG API .............. -.. raw:: html - OPTENG API +`OPTENG API `_ -- cgit 1.2.3-korg