maximesson | e6b4d27 | 2019-10-31 13:26:13 +0100 | [diff] [blame] | 1 | from docs_conf.conf import * |
elinuxhenrik | 0a4c38b | 2020-04-14 10:59:36 +0200 | [diff] [blame] | 2 | |
| 3 | #branch configuration |
| 4 | |
| 5 | branch = 'latest' |
| 6 | |
maximesson | e6b4d27 | 2019-10-31 13:26:13 +0100 | [diff] [blame] | 7 | linkcheck_ignore = [ |
| 8 | 'http://localhost.*', |
| 9 | 'http://127.0.0.1.*', |
elinuxhenrik | 5ada515 | 2020-10-19 10:39:59 +0200 | [diff] [blame] | 10 | 'https://gerrit.o-ran-sc.org.*', |
elinuxhenrik | 6208ce8 | 2020-11-18 15:15:07 +0100 | [diff] [blame] | 11 | './rac-api.html', #Generated file that doesn't exist at link check. |
| 12 | './ecs-api.html' #Generated file that doesn't exist at link check. |
maximesson | e6b4d27 | 2019-10-31 13:26:13 +0100 | [diff] [blame] | 13 | ] |
elinuxhenrik | 0a4c38b | 2020-04-14 10:59:36 +0200 | [diff] [blame] | 14 | |
elinuxhenrik | 5ada515 | 2020-10-19 10:39:59 +0200 | [diff] [blame] | 15 | extensions = ['sphinxcontrib.redoc', 'sphinx.ext.intersphinx',] |
| 16 | |
| 17 | redoc = [ |
| 18 | { |
| 19 | 'name': 'RAC API', |
| 20 | 'page': 'rac-api', |
| 21 | 'spec': '../r-app-catalogue/api/rac-api.json', |
| 22 | 'embed': True, |
elinuxhenrik | 6208ce8 | 2020-11-18 15:15:07 +0100 | [diff] [blame] | 23 | }, |
| 24 | { |
| 25 | 'name': 'ECS API', |
| 26 | 'page': 'ecs-api', |
PatrikBuhr | c691603 | 2021-11-22 16:12:27 +0100 | [diff] [blame] | 27 | 'spec': '../information-coordinator-service/api/ics-api.json', |
elinuxhenrik | 6208ce8 | 2020-11-18 15:15:07 +0100 | [diff] [blame] | 28 | 'embed': True, |
elinuxhenrik | 5ada515 | 2020-10-19 10:39:59 +0200 | [diff] [blame] | 29 | } |
| 30 | ] |
| 31 | |
| 32 | redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js' |
| 33 | |
elinuxhenrik | 0a4c38b | 2020-04-14 10:59:36 +0200 | [diff] [blame] | 34 | #intershpinx mapping with other projects |
| 35 | intersphinx_mapping = {} |
| 36 | |
| 37 | intersphinx_mapping['nonrtric-controlpanel'] = ('https://docs.o-ran-sc.org/projects/o-ran-sc-portal-nonrtric-controlpanel/en/%s' % branch, None) |
| 38 | intersphinx_mapping['sim-a1-interface'] = ('https://docs.o-ran-sc.org/projects/o-ran-sc-sim-a1-interface/en/%s' % branch, None) |