aboutsummaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2021-01-20 15:09:35 +0000
committerGerrit Code Review <gerrit@onap.org>2021-01-20 15:09:35 +0000
commit260f1e9a5fddadb6f0a5ecfd4fcb7498ec8b08fe (patch)
treeaaf39ebb01b1cb5ff90d4118ba46dee7b77642f1 /docs/conf.py
parentd81bfccfb32a9c368e4542855e733bf18552ead4 (diff)
parent090941b572c917d8e84ea709eb3696fdc8f53be1 (diff)
Merge "[COMMON] Add doc linting" into guilin
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 3b28eb74a8..a45acf370f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -9,6 +9,30 @@ linkcheck_ignore = [
intersphinx_mapping = {}
+needs_services = {
+ 'github-issues': {
+ 'url': 'https://api.github.com/',
+ 'need_type': 'spec',
+ 'max_amount': 2,
+ 'max_content_lines': 20,
+ 'id_prefix': 'GH_ISSUE_'
+ },
+ 'github-prs': {
+ 'url': 'https://api.github.com/',
+ 'need_type': 'spec',
+ 'max_amount': 2,
+ 'max_content_lines': 20,
+ 'id_prefix': 'GH_PR_'
+ },
+ 'github-commits': {
+ 'url': 'https://api.github.com/',
+ 'need_type': 'spec',
+ 'max_amount': 2,
+ 'max_content_lines': 20,
+ 'id_prefix': 'GH_COMMIT_'
+ }
+}
+
html_last_updated_fmt = '%d-%b-%y %H:%M'
def setup(app):