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.*', |
| 11 | './rac-api.html' #Generated file that doesn't exist at link check. |
maximesson | e6b4d27 | 2019-10-31 13:26:13 +0100 | [diff] [blame] | 12 | ] |
elinuxhenrik | 0a4c38b | 2020-04-14 10:59:36 +0200 | [diff] [blame] | 13 | |
elinuxhenrik | 5ada515 | 2020-10-19 10:39:59 +0200 | [diff] [blame] | 14 | extensions = ['sphinxcontrib.redoc', 'sphinx.ext.intersphinx',] |
| 15 | |
| 16 | redoc = [ |
| 17 | { |
| 18 | 'name': 'RAC API', |
| 19 | 'page': 'rac-api', |
| 20 | 'spec': '../r-app-catalogue/api/rac-api.json', |
| 21 | 'embed': True, |
| 22 | } |
| 23 | ] |
| 24 | |
| 25 | redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js' |
| 26 | |
elinuxhenrik | 0a4c38b | 2020-04-14 10:59:36 +0200 | [diff] [blame] | 27 | #intershpinx mapping with other projects |
| 28 | intersphinx_mapping = {} |
| 29 | |
| 30 | intersphinx_mapping['nonrtric-controlpanel'] = ('https://docs.o-ran-sc.org/projects/o-ran-sc-portal-nonrtric-controlpanel/en/%s' % branch, None) |
| 31 | intersphinx_mapping['sim-a1-interface'] = ('https://docs.o-ran-sc.org/projects/o-ran-sc-sim-a1-interface/en/%s' % branch, None) |