blob: b7d7c49ef8e330c6c89985f571fff9f6825da22a [file] [log] [blame]
aravind.estac245e12023-11-27 15:17:22 +00001# ============LICENSE_START======================================================================
2# Copyright (C) 2023 OpenInfra Foundation Europe. 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
17from docs_conf.conf import *
18
19#branch configuration
20
21branch = 'latest'
22
23linkcheck_ignore = [
24 'http://localhost.*',
25 'http://127.0.0.1.*',
26 'https://gerrit.o-ran-sc.org.*',
27 './rappmanager-api.html', #Generated file that doesn't exist at link check.
28]
29
30extensions = ['sphinxcontrib.redoc', 'sphinx.ext.intersphinx',]
31
32redoc = [
33 {
34 'name': 'rApp Manager API',
35 'page': 'rappmanager-api',
36 'spec': '../openapi/rappmanager/rappmanager-spec.yaml',
37 'embed': True,
38 }
39 ]
40
41redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js'
42
43#intershpinx mapping with other projects
44intersphinx_mapping = {}
45
46intersphinx_mapping['nonrtric'] = ('https://docs.o-ran-sc.org/projects/o-ran-sc-nonrtric/en/%s' % branch, None)