aboutsummaryrefslogtreecommitdiffstats
path: root/docs/conf.py
blob: b351570aa71e73c0e0e51a78d431377243f01e19 (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
31
32
33
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',
    'https://tools.ietf.org/html/rfc8345'
]

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'

exclude_patterns = ['.tox/**']

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