blob: ca7bb8f3adcb1b029d7bae34031aea2319451078 [file] [log] [blame]
PatrikBuhr608883c2023-04-06 13:17:36 +02001# ============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
18from docs_conf.conf import *
19
20#branch configuration
21
22branch = 'latest'
23
24language = 'en'
25
26linkcheck_ignore = [
27 'http://localhost.*',
28 'http://127.0.0.1.*',
29 'https://gerrit.o-ran-sc.org.*',
30 './pm-producer-api.html', #Generated file that doesn't exist at link check.
31]
32
33extensions = ['sphinxcontrib.redoc', 'sphinx.ext.intersphinx',]
34
35redoc = [
36 {
37 'name': 'PM Producer API',
38 'page': 'pm-producer-api',
39 'spec': '../api/api.json',
40 }
41 ]
42
43redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js'
44
45#intershpinx mapping with other projects
46intersphinx_mapping = {}
47
48intersphinx_mapping['nonrtric'] = ('https://docs.o-ran-sc.org/projects/o-ran-sc-nonrtric/en/%s' % branch, None)