summaryrefslogtreecommitdiffstats
path: root/docs/conf.py
blob: 5785e83ebef70df263aa5253fd9568ed583c093a (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
34
35
36
37
38
from docs_conf.conf import *

branch = 'latest'
master_doc = 'index'
version = 'honolulu'

linkcheck_ignore = [
    'http://localhost',
]

intersphinx_mapping.update({
    'modeling': ('https://docs.onap.org/projects/onap-modeling-modelspec/en/latest/', None),
    'dcae': ('https://docs.onap.org/projects/onap-dcaegen2/en/latest/', None),
    'appc': ('https://docs.onap.org/projects/onap-appc/en/latest/', None),
    'appc-deployment': ('https://docs.onap.org/projects/onap-appc-deployment/en/latest/', None),
})

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


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


from docutils.parsers.rst import directives

needs_extra_options = {
    "target": directives.unchanged,
    "keyword": directives.unchanged,
    "introduced": directives.unchanged,
    "updated": directives.unchanged,
    "impacts": directives.unchanged,
    "validation_mode": directives.unchanged,
}

needs_id_regex = "^[A-Z0-9]+-[A-Z0-9]+"
needs_id_required = True
needs_title_optional = True