From b97d13cd99b585ea1f77d3662028e6c651e945b8 Mon Sep 17 00:00:00 2001 From: ToineSiebelink Date: Thu, 21 Oct 2021 12:11:25 +0100 Subject: Prepare for links accross different name-spaces -add intersphinx mapping -add labels for re-use in other CPS components Issue-ID: CPS-721 Signed-off-by: ToineSiebelink Change-Id: Ib45716e75f85bd3ba28295ffe79db95e3575daaa (cherry picked from commit 39207857709df915719f1f3e4dbe7f84b9ff825c) --- docs/conf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/conf.py') diff --git a/docs/conf.py b/docs/conf.py index 3aaddd194f..84dac1ea21 100755 --- 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-ncmp-dmi-plugin'] = ('{}/onap-cps-ncmp-dmi-plugin/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', -- cgit 1.2.3-korg