blob: 3eb6acbc0025590dd7d1e0790d31bd542aa9bea2 [file] [log] [blame]
halil.cakala578dd22022-08-12 11:24:19 +01001# ============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
elinuxhenrik1cd0f2e2022-03-28 09:48:52 +020018from docs_conf.conf import *
19
20#branch configuration
21
22branch = 'latest'
23
PatrikBuhr2b459a12022-06-08 10:12:00 +020024language = 'en'
25
elinuxhenrik1cd0f2e2022-03-28 09:48:52 +020026linkcheck_ignore = [
27 'http://localhost.*',
28 'http://127.0.0.1.*',
29 'https://gerrit.o-ran-sc.org.*',
30 './dmaap-adapter-api.html', #Generated file that doesn't exist at link check.
31]
32
33extensions = ['sphinxcontrib.redoc', 'sphinx.ext.intersphinx',]
34
35redoc = [
36 {
37 'name': 'DMaaP Adapter API',
38 'page': 'dmaap-adapter-api',
39 'spec': '../api/api.json',
40 }
41 ]
42
43redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js'
elinuxhenrik873c5b92022-06-23 10:37:43 +020044
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)