[COMMON] Add doc linting
[oom.git] / docs / conf.py
1 from docs_conf.conf import *
2
3 branch = 'latest'
4 master_doc = 'index'
5
6 linkcheck_ignore = [
7     'http://localhost',
8 ]
9
10 intersphinx_mapping = {}
11
12 needs_services = {
13     'github-issues': {
14         'url': 'https://api.github.com/',
15         'need_type': 'spec',
16         'max_amount': 2,
17         'max_content_lines': 20,
18         'id_prefix': 'GH_ISSUE_'
19     },
20     'github-prs': {
21         'url': 'https://api.github.com/',
22         'need_type': 'spec',
23         'max_amount': 2,
24         'max_content_lines': 20,
25         'id_prefix': 'GH_PR_'
26     },
27     'github-commits': {
28         'url': 'https://api.github.com/',
29         'need_type': 'spec',
30         'max_amount': 2,
31         'max_content_lines': 20,
32         'id_prefix': 'GH_COMMIT_'
33     }
34 }
35
36 html_last_updated_fmt = '%d-%b-%y %H:%M'
37
38 def setup(app):
39     app.add_css_file("css/ribbon_onap.css")