halil.cakal | a578dd2 | 2022-08-12 11:24:19 +0100 | [diff] [blame] | 1 | # ============LICENSE_START=============================================== |
| 2 | # Copyright (C) 2021-2022 Nordix Foundation. All rights reserved. |
| 3 | # ======================================================================== |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # ============LICENSE_END================================================= |
| 16 | # |
| 17 | |
elinuxhenrik | 1cd0f2e | 2022-03-28 09:48:52 +0200 | [diff] [blame] | 18 | from docs_conf.conf import * |
| 19 | |
| 20 | #branch configuration |
| 21 | |
| 22 | branch = 'latest' |
| 23 | |
PatrikBuhr | 2b459a1 | 2022-06-08 10:12:00 +0200 | [diff] [blame] | 24 | language = 'en' |
| 25 | |
elinuxhenrik | 1cd0f2e | 2022-03-28 09:48:52 +0200 | [diff] [blame] | 26 | linkcheck_ignore = [ |
| 27 | 'http://localhost.*', |
| 28 | 'http://127.0.0.1.*', |
| 29 | 'https://gerrit.o-ran-sc.org.*', |
| 30 | './dmaap-adapter-api.html', #Generated file that doesn't exist at link check. |
| 31 | ] |
| 32 | |
| 33 | extensions = ['sphinxcontrib.redoc', 'sphinx.ext.intersphinx',] |
| 34 | |
| 35 | redoc = [ |
| 36 | { |
| 37 | 'name': 'DMaaP Adapter API', |
| 38 | 'page': 'dmaap-adapter-api', |
| 39 | 'spec': '../api/api.json', |
| 40 | } |
| 41 | ] |
| 42 | |
| 43 | redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js' |
elinuxhenrik | 873c5b9 | 2022-06-23 10:37:43 +0200 | [diff] [blame] | 44 | |
| 45 | #intershpinx mapping with other projects |
| 46 | intersphinx_mapping = {} |
| 47 | |
| 48 | intersphinx_mapping['nonrtric'] = ('https://docs.o-ran-sc.org/projects/o-ran-sc-nonrtric/en/%s' % branch, None) |