blob: f0e4e4cb0a062f257eb8cd29200f2d9c672457ed [file] [log] [blame]
JohnKeeneyff7ea9d2023-04-25 19:32:40 +01001# ============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
JohnKeeneydc457fa2023-04-26 21:46:11 +010018# NB: This is the only conf.yaml file used by the upstream readthedocs job (ref '.readthedocs.yaml')
JohnKeeneye3b4aa52023-04-26 22:00:08 +010019# Where possible include contents of the sub-folders' 'conf.yaml' files here if appropriate
JohnKeeneya1a543b2023-04-26 18:54:30 +010020
21from docs_conf.conf import *
JohnKeeneyfe56ddf2023-04-25 16:55:30 +010022
23branch = 'latest'
JohnKeeneydcecbc92023-04-26 22:42:08 +010024baseurl = 'https://docs.o-ran-sc.org/projects/'
25selfurl = '%s/o-ran-sc-nonrtric-plt-ranpm/en/%s' %(baseurl, branch)
JohnKeeneyfe56ddf2023-04-25 16:55:30 +010026
27linkcheck_ignore = [
28 'http://localhost.*',
29 'http://127.0.0.1.*',
30 'https://gerrit.o-ran-sc.org.*'
31]
32
JohnKeeneyfe56ddf2023-04-25 16:55:30 +010033extensions = [
34 'sphinx.ext.intersphinx',
35 'sphinx.ext.autosectionlabel',
36]
37
38#intershpinx mapping with other projects
JohnKeeneydcecbc92023-04-26 22:42:08 +010039intersphinx_mapping = {}
40intersphinx_mapping['nonrtric'] = ('%s/o-ran-sc-nonrtric/en/%s' %(baseurl, branch), None)
JohnKeeneya1a543b2023-04-26 18:54:30 +010041## Note there is a circular dependency here - sub-project pages must exist before they can be checked
JohnKeeneydcecbc92023-04-26 22:42:08 +010042intersphinx_mapping['influxlogger'] = ('%s/influxlogger' % selfurl, None)
43intersphinx_mapping['datafilecollector'] = ('%s/datafilecollector' % selfurl, None)
44intersphinx_mapping['pmproducer'] = ('%s/pmproducer' % selfurl, None)
JohnKeeneyfe56ddf2023-04-25 16:55:30 +010045
46
47intersphinx_disabled_reftypes = ["*"]