summaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorToineSiebelink <toine.siebelink@est.tech>2021-10-21 13:37:33 +0100
committerToine Siebelink <toine.siebelink@est.tech>2021-10-21 16:33:44 +0000
commitb84eea21b586a13e3c8aa58ceddd6beda346c2f0 (patch)
treeb985eb000bcbeeb7c9a88cf7ba6cb6e27e4fe379 /docs/conf.py
parenta013ea1d8355eda14f294bb210ffc4d466454af0 (diff)
Use intersphinx links for easier release update
Issue-ID: CPS-721 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Id6ba0cb5aafb169caead9dad7c9732b88ff4fcc4
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 3aaddd19..723fb21f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -20,14 +20,15 @@
from docutils.parsers.rst import directives
from docs_conf.conf import *
+#change 'latest' to relevant branch-name once branch has been created
branch = 'latest'
doc_url = 'https://docs.onap.org/projects'
master_doc = 'index'
intersphinx_mapping = {}
-# Latest (change to branch)
intersphinx_mapping['onap-cps'] = ('{}/onap-cps/en/%s'.format(doc_url) % branch, None)
+intersphinx_mapping['onap-cps-cps-temporal'] = ('{}/onap-cps-cps-temporal/en/%s'.format(doc_url) % branch, None)
linkcheck_ignore = [
'http://localhost',