elinuxhenrik | c9a3947 | 2020-09-21 10:11:08 +0200 | [diff] [blame] | 1 | from docs_conf.conf import * |
elinuxhenrik | 3d85420 | 2020-09-22 15:48:10 +0200 | [diff] [blame] | 2 | |
elinuxhenrik | 3d85420 | 2020-09-22 15:48:10 +0200 | [diff] [blame] | 3 | branch = 'latest' |
Jessica Wagantall | 449c8be | 2020-02-06 13:25:49 -0800 | [diff] [blame] | 4 | master_doc = 'index' |
| 5 | |
| 6 | linkcheck_ignore = [ |
| 7 | 'http://localhost', |
| 8 | ] |
| 9 | |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 10 | extensions = ['sphinx_tabs.tabs', 'sphinxcontrib.redoc',] |
| 11 | |
| 12 | redoc = [ |
| 13 | { |
| 14 | 'name': 'PMS API', |
| 15 | 'page': 'offeredapis/pms-api', |
| 16 | 'spec': './offeredapis/swagger/pms-api.json', |
| 17 | 'embed': True, |
elinuxhenrik | ea2fcc8 | 2020-10-13 16:39:13 +0200 | [diff] [blame] | 18 | }, |
| 19 | { |
| 20 | 'name': 'A1 ADAPTER API', |
| 21 | 'page': 'offeredapis/a1-adapter-api', |
| 22 | 'spec': './offeredapis/swagger/a1-adapter-api.json', |
| 23 | 'embed': True, |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 24 | } |
| 25 | ] |
| 26 | |
| 27 | redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js' |
Singal, Kapil (ks220y) | 82fe926 | 2020-09-29 13:02:36 -0400 | [diff] [blame] | 28 | |
Jessica Wagantall | 449c8be | 2020-02-06 13:25:49 -0800 | [diff] [blame] | 29 | intersphinx_mapping = {} |
| 30 | |
| 31 | html_last_updated_fmt = '%d-%b-%y %H:%M' |
| 32 | |
| 33 | def setup(app): |
Jessica Wagantall | fc3b6b3 | 2020-10-01 16:20:24 -0700 | [diff] [blame] | 34 | app.add_css_file("css/ribbon.css") |