JohnKeeney | ff7ea9d | 2023-04-25 19:32:40 +0100 | [diff] [blame] | 1 | # ============LICENSE_START=============================================== |
| 2 | # Copyright (C) 2021-2023 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 | |
JohnKeeney | dc457fa | 2023-04-26 21:46:11 +0100 | [diff] [blame] | 18 | # NB: This is the only conf.yaml file used by the upstream readthedocs job (ref '.readthedocs.yaml') |
JohnKeeney | e3b4aa5 | 2023-04-26 22:00:08 +0100 | [diff] [blame] | 19 | # Where possible include contents of the sub-folders' 'conf.yaml' files here if appropriate |
JohnKeeney | a1a543b | 2023-04-26 18:54:30 +0100 | [diff] [blame] | 20 | |
| 21 | from docs_conf.conf import * |
JohnKeeney | fe56ddf | 2023-04-25 16:55:30 +0100 | [diff] [blame] | 22 | |
| 23 | branch = 'latest' |
JohnKeeney | dcecbc9 | 2023-04-26 22:42:08 +0100 | [diff] [blame^] | 24 | baseurl = 'https://docs.o-ran-sc.org/projects/' |
| 25 | selfurl = '%s/o-ran-sc-nonrtric-plt-ranpm/en/%s' %(baseurl, branch) |
JohnKeeney | fe56ddf | 2023-04-25 16:55:30 +0100 | [diff] [blame] | 26 | |
| 27 | linkcheck_ignore = [ |
| 28 | 'http://localhost.*', |
| 29 | 'http://127.0.0.1.*', |
| 30 | 'https://gerrit.o-ran-sc.org.*' |
| 31 | ] |
| 32 | |
JohnKeeney | fe56ddf | 2023-04-25 16:55:30 +0100 | [diff] [blame] | 33 | extensions = [ |
| 34 | 'sphinx.ext.intersphinx', |
| 35 | 'sphinx.ext.autosectionlabel', |
| 36 | ] |
| 37 | |
| 38 | #intershpinx mapping with other projects |
JohnKeeney | dcecbc9 | 2023-04-26 22:42:08 +0100 | [diff] [blame^] | 39 | intersphinx_mapping = {} |
| 40 | intersphinx_mapping['nonrtric'] = ('%s/o-ran-sc-nonrtric/en/%s' %(baseurl, branch), None) |
JohnKeeney | a1a543b | 2023-04-26 18:54:30 +0100 | [diff] [blame] | 41 | ## Note there is a circular dependency here - sub-project pages must exist before they can be checked |
JohnKeeney | dcecbc9 | 2023-04-26 22:42:08 +0100 | [diff] [blame^] | 42 | intersphinx_mapping['influxlogger'] = ('%s/influxlogger' % selfurl, None) |
| 43 | intersphinx_mapping['datafilecollector'] = ('%s/datafilecollector' % selfurl, None) |
| 44 | intersphinx_mapping['pmproducer'] = ('%s/pmproducer' % selfurl, None) |
JohnKeeney | fe56ddf | 2023-04-25 16:55:30 +0100 | [diff] [blame] | 45 | |
| 46 | |
| 47 | intersphinx_disabled_reftypes = ["*"] |