Add ReadTheDocs configuration/site in repo root directory step #2
[nonrtric/plt/ranpm.git] / docs / conf.py
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
18 from docs_conf import *
19
20 branch = 'latest'
21 selfurl = 'https://docs.o-ran-sc.org/projects/o-ran-sc-nonrtric-plt-ranpm/en/%s' % branch
22
23 linkcheck_ignore = [
24     'http://localhost.*',
25     'http://127.0.0.1.*',
26     'https://gerrit.o-ran-sc.org.*'
27 ]
28
29 extensions = [
30     'sphinx.ext.intersphinx',
31     'sphinx.ext.autosectionlabel',
32 ]
33
34 #intershpinx mapping with other projects
35 #intersphinx_mapping = {}
36 ## Note there is a circular dependency here - sub-project pages must exist before they can be checked 
37 #intersphinx_mapping['influxlogger'] = ('%s/influxlogger' % selfurl, None)
38 #intersphinx_mapping['datafilecollector'] = ('%s/datafilecollector' % selfurl, None)
39 #intersphinx_mapping['pmproducer'] = ('%s/pmproducer' % selfurl, None)
40
41
42 intersphinx_disabled_reftypes = ["*"]