aboutsummaryrefslogtreecommitdiffstats
path: root/docs/conf.py
blob: 1297b0b339eaf828c7ffbcae5e5e051b37a6a0eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from docs_conf.conf import *

branch = 'latest'
master_doc = 'index'

doc_url = 'https://docs.onap.org/projects'

linkcheck_ignore = [
    r'http://localhost:.*',
    'http://CONSUL_SERVER_UI:30270/ui/#/dc1/services',
    r'https://.*h=frankfurt',
    r'http.*frankfurt.*',
    r'http.*simpledemo.onap.org.*',
    r'http://ANY_K8S_IP.*',
    'http://so-monitoring:30224',
    r'http://SINK_IP_ADDRESS:667.*',
    r'http.*K8S_HOST:30227.*',
    r'http.*K8S_NODE_IP.*',
    r'http.*REPO_IP.*',
    'http://team.onap.eu'
]

intersphinx_mapping = {}
intersphinx_mapping['onap-oom'] = ('{}/onap-oom/en/%s'.format(doc_url) % branch, None)
intersphinx_mapping['onap-cli'] = ('{}/onap-cli/en/%s'.format(doc_url) % branch, None)

html_last_updated_fmt = '%d-%b-%y %H:%M'

def setup(app):
    app.add_css_file("css/ribbon.css")