blob: a8dac9ba4e6594db413b5babaa722427266ae518 [file] [log] [blame]
PatrikBuhr608883c2023-04-06 13:17:36 +02001# ============LICENSE_START===============================================
PatrikBuhr32de6c42023-04-20 06:42:23 +02002# Copyright (C) 2021-2023 Nordix Foundation. All rights reserved.
PatrikBuhr608883c2023-04-06 13:17:36 +02003# ========================================================================
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',
PatrikBuhr32de6c42023-04-20 06:42:23 +020040 'embed': True,
PatrikBuhr608883c2023-04-06 13:17:36 +020041 }
42 ]
43
44redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js'
45
46#intershpinx mapping with other projects
47intersphinx_mapping = {}
48
49intersphinx_mapping['nonrtric'] = ('https://docs.o-ran-sc.org/projects/o-ran-sc-nonrtric/en/%s' % branch, None)