X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fconf.py;h=9b8426391c21dc0cb41136c7876d714384b8de0c;hb=2b9e7f4fca3d510a201283a8561f6ff3424f5fd6;hp=5371015c66318d74f5c008e9e2cdb64db157dda4;hpb=22def8bb1ad69cc30f1f7257660b2b646f94c39e;p=optf%2Fosdf.git diff --git a/docs/conf.py b/docs/conf.py index 5371015..9b84263 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -7,9 +7,30 @@ linkcheck_ignore = [ 'http://localhost', ] +extensions = [ + 'sphinxcontrib.redoc', +] + +redoc = [ + { + 'name': 'OSDF API', + 'page': 'sections/osdf-api', + 'spec': './api/swagger/oof-osdf-has-api.json', + 'embed': True, + }, + { + 'name': 'OPTENG API', + 'page': 'sections/opteng-api', + 'spec': './api/swagger/oof-optf-opteng-api.json', + 'embed': True, + } + ] + +redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js' + intersphinx_mapping = {} html_last_updated_fmt = '%d-%b-%y %H:%M' def setup(app): - app.add_stylesheet("css/ribbon.css") + app.add_css_file("css/ribbon.css")