blob: 2a9bb4a341eded3866ae725106ac841292abd9d3 [file] [log] [blame]
Aric Gardner0fb94b12020-01-28 15:21:34 -05001from docs_conf.conf import *
Rich Bennett22ef0852017-07-19 18:05:55 -04002
Aric Gardnera78f0db2020-06-26 13:09:32 -04003doc_url = 'https://docs.onap.org/projects'
Rich Bennett22ef0852017-07-19 18:05:55 -04004master_doc = 'index'
5
Aric Gardner0fb94b12020-01-28 15:21:34 -05006intersphinx_mapping = {}
Rich Bennettc5995662017-10-18 15:27:52 -04007
Andreas Geisslerfc99e1b2021-10-19 11:10:28 +00008#
9# Mapping to 'latest' if this files is used in 'latest' (master) branch.
10# Changed to '<Name_of_the_new_ONAP_Release>' after you have create the new
11# branch for the 'doc' project.
12#
13
thmsdte2f3acb2021-11-15 14:39:44 +010014# Latest
15branch = 'latest'
andreasgeissleref2ee3f2021-03-18 16:00:37 +010016intersphinx_mapping['onap-aai-aai-common'] = ('{}/onap-aai-aai-common/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010017intersphinx_mapping['onap-aai-sparky-be'] = ('{}/onap-aai-sparky-be/en/%s'.format(doc_url) % branch, None)
thmsdt9d2461c2021-11-12 10:35:10 +010018intersphinx_mapping['onap-ccsdk-apps'] = ('{}/onap-ccsdk-apps/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010019intersphinx_mapping['onap-ccsdk-cds'] = ('{}/onap-ccsdk-cds/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010020intersphinx_mapping['onap-ccsdk-features'] = ('{}/onap-ccsdk-features/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020021intersphinx_mapping['onap-ccsdk-distribution'] = ('{}/onap-ccsdk-distribution/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010022intersphinx_mapping['onap-ccsdk-oran'] = ('{}/onap-ccsdk-oran/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010023intersphinx_mapping['onap-cli'] = ('{}/onap-cli/en/%s'.format(doc_url) % branch, None)
24intersphinx_mapping['onap-cps'] = ('{}/onap-cps/en/%s'.format(doc_url) % branch, None)
Eric Debeaudc78aca2021-09-29 14:33:29 +020025intersphinx_mapping['onap-cps-ncmp-dmi-plugin'] = ('{}/onap-cps-ncmp-dmi-plugin/en/%s'.format(doc_url) % branch, None)
Eric Debeau84037692021-10-06 19:54:57 +020026intersphinx_mapping['onap-cps-cps-temporal'] = ('{}/onap-cps-cps-temporal/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010027intersphinx_mapping['onap-dcaegen2'] = ('{}/onap-dcaegen2/en/%s'.format(doc_url) % branch, None)
thmsdt1190a2f2022-03-15 15:21:49 +010028intersphinx_mapping['onap-dmaap-messagerouter-messageservice'] = ('{}/onap-dmaap-messagerouter-messageservice/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020029intersphinx_mapping['onap-dmaap-buscontroller'] = ('{}/onap-dmaap-buscontroller/en/%s'.format(doc_url) % branch, None)
30intersphinx_mapping['onap-dmaap-datarouter'] = ('{}/onap-dmaap-datarouter/en/%s'.format(doc_url) % branch, None)
thmsdt1190a2f2022-03-15 15:21:49 +010031intersphinx_mapping['onap-holmes-engine-management'] = ('{}/onap-holmes-engine-management/en/%s'.format(doc_url) % branch, None)
32intersphinx_mapping['onap-holmes-rule-management'] = ('{}/onap-holmes-rule-management/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010033intersphinx_mapping['onap-integration'] = ('{}/onap-integration/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020034intersphinx_mapping['onap-modeling-etsicatalog'] = ('{}/onap-modeling-etsicatalog/en/%s'.format(doc_url) % branch, None)
35intersphinx_mapping['onap-modeling-modelspec'] = ('{}/onap-modeling-modelspec/en/%s'.format(doc_url) % branch, None)
36intersphinx_mapping['onap-multicloud-framework'] = ('{}/onap-multicloud-framework/en/%s'.format(doc_url) % branch, None)
thmsdt9d2461c2021-11-12 10:35:10 +010037intersphinx_mapping['onap-multicloud-k8s'] = ('{}/onap-multicloud-k8s/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020038intersphinx_mapping['onap-msb-apigateway'] = ('{}/onap-msb-apigateway/en/%s'.format(doc_url) % branch, None)
thmsdt9d2461c2021-11-12 10:35:10 +010039intersphinx_mapping['onap-msb-swagger-sdk'] = ('{}/onap-msb-swagger-sdk/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020040intersphinx_mapping['onap-oom'] = ('{}/onap-oom/en/%s'.format(doc_url) % branch, None)
andreasgeisslercb391d02021-04-01 17:27:20 +020041intersphinx_mapping['onap-oom-offline-installer'] = ('{}/onap-oom-offline-installer/en/%s'.format(doc_url) % branch, None)
thmsdt1190a2f2022-03-15 15:21:49 +010042intersphinx_mapping['onap-oom-platform-cert-service'] = ('{}/onap-oom-platform-cert-service/en/%s'.format(doc_url) % branch, None)
Andreas Geisslerfc99e1b2021-10-19 11:10:28 +000043#intersphinx_mapping['onap-optf-cmso'] = ('{}/onap-optf-cmso/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020044intersphinx_mapping['onap-optf-osdf'] = ('{}/onap-optf-osdf/en/%s'.format(doc_url) % branch, None)
45intersphinx_mapping['onap-optf-has'] = ('{}/onap-optf-has/en/%s'.format(doc_url) % branch, None)
Andreas Geisslerfc99e1b2021-10-19 11:10:28 +000046#intersphinx_mapping['onap-policy-clamp'] = ('{}/onap-policy-clamp/en/%s'.format(doc_url) % branch, None)
andreasgeisslercb391d02021-04-01 17:27:20 +020047intersphinx_mapping['onap-policy-parent'] = ('{}/onap-policy-parent/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020048intersphinx_mapping['onap-sdc'] = ('{}/onap-sdc/en/%s'.format(doc_url) % branch, None)
49intersphinx_mapping['onap-sdnc-oam'] = ('{}/onap-sdnc-oam/en/%s'.format(doc_url) % branch, None)
50intersphinx_mapping['onap-so'] = ('{}/onap-so/en/%s'.format(doc_url) % branch, None)
51intersphinx_mapping['onap-usecase-ui'] = ('{}/onap-usecase-ui/en/%s'.format(doc_url) % branch, None)
52intersphinx_mapping['onap-vfc-nfvo-lcm'] = ('{}/onap-vfc-nfvo-lcm/en/%s'.format(doc_url) % branch, None)
andreasgeisslercb391d02021-04-01 17:27:20 +020053intersphinx_mapping['onap-vnfrqts-guidelines'] = ('{}/onap-vnfrqts-guidelines/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020054intersphinx_mapping['onap-vnfrqts-requirements'] = ('{}/onap-vnfrqts-requirements/en/%s'.format(doc_url) % branch, None)
andreasgeisslercb391d02021-04-01 17:27:20 +020055intersphinx_mapping['onap-vnfrqts-testcases'] = ('{}/onap-vnfrqts-testcases/en/%s'.format(doc_url) % branch, None)
56intersphinx_mapping['onap-vnfrqts-usecases'] = ('{}/onap-vnfrqts-usecases/en/%s'.format(doc_url) % branch, None)
thmsdt97726362021-11-30 10:45:32 +010057intersphinx_mapping['onap-vnfsdk-model'] = ('{}/onap-vnfsdk-model/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020058intersphinx_mapping['onap-vvp-documentation'] = ('{}/onap-vvp-documentation/en/%s'.format(doc_url) % branch, None)
59
Andreas Geisslerfc99e1b2021-10-19 11:10:28 +000060#
61# Mapping to an older version of documentation for those projects who are part
62# of the new ONAP release but have not created a branch for it.
63# This can happen e.g. for 'unmaintained' (but still required) projects.
64#
65
66# Honolulu
67branch = 'honolulu'
thmsdt97726362021-11-30 10:45:32 +010068# consolidated to dmaap/buscontroller # intersphinx_mapping['onap-dmaap-dbcapi'] = ('{}/onap-dmaap-dbcapi/en/%s'.format(doc_url) % branch, None)
Andreas Geisslerfc99e1b2021-10-19 11:10:28 +000069
thmsdt1190a2f2022-03-15 15:21:49 +010070intersphinx_mapping['onap-externalapi-nbi'] = ('{}/onap-externalapi-nbi/en/%s'.format(doc_url) % branch, None)
71#/w/workspace/rtdv3-global-verify-master/docs/guides/onap-user/instantiate/instantiation/nbi/index.rst:19: WARNING: undefined label: onap-externalapi-nbi:offeredapis
72##/w/workspace/rtdv3-global-verify-master/docs/release/releaserepos.rst:64: WARNING: undefined label: onap-externalapi-nbi:release_notes
73#/w/workspace/rtdv3-global-verify-master/docs/guides/onap-user/instantiate/instantiation/nbi/index.rst:19:undefined label: onap-externalapi-nbi:offeredapis
74
75intersphinx_mapping['onap-vid'] = ('{}/onap-vid/en/%s'.format(doc_url) % branch, None)
76#/w/workspace/rtdv3-global-verify-master/docs/guides/onap-user/instantiate/instantiation/vid1/index.rst:13: WARNING: undefined label: onap-vid:instantiate
77#/w/workspace/rtdv3-global-verify-master/docs/guides/onap-user/instantiate/instantiation/vid2/index.rst:13: WARNING: undefined label: onap-vid:instantiatemacro
78##/w/workspace/rtdv3-global-verify-master/docs/release/releaserepos.rst:67: WARNING: undefined label: onap-vid:release_notes
79
80## Guilin
81##branch = 'guilin'
82
83##intersphinx_mapping['onap-portal'] = ('{}/onap-portal/en/%s'.format(doc_url) % branch, None)
84##/w/workspace/rtdv3-global-verify-master/docs/release/releaserepos.rst:66: WARNING: undefined label: onap-portal:release_notes
andreasgeisslercb391d02021-04-01 17:27:20 +020085
andreasgeissler3a170f72021-04-01 10:17:03 +020086# Frankfurt
87branch = 'frankfurt'
thmsdt1190a2f2022-03-15 15:21:49 +010088
andreasgeissler3a170f72021-04-01 10:17:03 +020089intersphinx_mapping['onap-appc'] = ('{}/onap-appc/en/%s'.format(doc_url) % branch, None)
thmsdt1190a2f2022-03-15 15:21:49 +010090#/w/workspace/rtdv3-global-verify-master/docs/guides/onap-developer/architecture/references.rst:33: WARNING: undefined label: onap-appc:appc_lcm_api_guide
91#/w/workspace/rtdv3-global-verify-master/docs/guides/onap-user/design/index.rst:112: WARNING: undefined label: onap-appc:master_index
92##/w/workspace/rtdv3-global-verify-master/docs/release/releaserepos.rst:63: WARNING: undefined label: onap-appc:release_notes
93
94##intersphinx_mapping['onap-appc-deployment'] = ('{}/onap-appc-deployment/en/%s'.format(doc_url) % branch, None)
95
96##intersphinx_mapping['onap-music'] = ('{}/onap-music/en/%s'.format(doc_url) % branch, None)
97##/w/workspace/rtdv3-global-verify-master/docs/release/releaserepos.rst:65: WARNING: undefined label: onap-music:release_notes
andreasgeissler3a170f72021-04-01 10:17:03 +020098
Andreas Geisslerfc99e1b2021-10-19 11:10:28 +000099#
100# Mapping to 'latest' (master) version of documentation for those projects who
101# are part of the new ONAP release but never have created a branch.
102#
103
andreasgeissler3a170f72021-04-01 10:17:03 +0200104# Latest
105branch = 'latest'
thmsdt1190a2f2022-03-15 15:21:49 +0100106
107##intersphinx_mapping['onap-aaf-authz'] = ('{}/onap-aaf-authz/en/%s'.format(doc_url) % branch, None)
108##/w/workspace/rtdv3-global-verify-master/docs/release/releaserepos.rst:62: WARNING: undefined label: onap-aaf-authz:release_notes
109
110##intersphinx_mapping['onap-aaf-sms'] = ('{}/onap-aaf-sms/en/%s'.format(doc_url) % branch, None)
111##intersphinx_mapping['onap-aai-event-client'] = ('{}/onap-aai-event-client/en/%s'.format(doc_url) % branch, None)
Andreas Geisslerfc99e1b2021-10-19 11:10:28 +0000112#intersphinx_mapping['onap-aai-esr-gui'] = ('{}/onap-aai-esr-gui/en/%s'.format(doc_url) % branch, None)
113#intersphinx_mapping['onap-aai-esr-server'] = ('{}/onap-aai-esr-server/en/%s'.format(doc_url) % branch, None)
thmsdt1190a2f2022-03-15 15:21:49 +0100114##intersphinx_mapping['onap-ccsdk-dashboard'] = ('{}/onap-ccsdk-dashboard/en/%s'.format(doc_url) % branch, None)
115##intersphinx_mapping['onap-ccsdk-platform-plugins'] = ('{}/onap-ccsdk-platform-plugins/en/%s'.format(doc_url) % branch, None)
116
andreasgeissleref2ee3f2021-03-18 16:00:37 +0100117intersphinx_mapping['onap-logging-analytics'] = ('{}/onap-logging-analytics/en/%s'.format(doc_url) % branch, None)
thmsdt1190a2f2022-03-15 15:21:49 +0100118#/w/workspace/rtdv3-global-verify-master/docs/guides/onap-operator/platformoperations.rst:74: WARNING: undefined label: onap-logging-analytics:master_index
119
120##intersphinx_mapping['onap-logging-analytics-pomba-pomba-audit-common'] = ('{}/onap-logging-analytics-pomba-pomba-audit-common/en/%s'.format(doc_url) % branch, None)
121
122intersphinx_mapping['onap-modeling-toscaparsers'] = ('{}/onap-modeling-toscaparsers/en/%s'.format(doc_url) % branch, None)
123#/w/workspace/rtdv3-global-verify-master/docs/guides/onap-developer/apiref/index.rst:53:undefined label: onap-modeling-toscaparsers:offeredapis
124
Aric Gardner8a8832a2020-04-02 17:17:49 -0400125intersphinx_mapping['onap-msb-discovery'] = ('{}/onap-msb-discovery/en/%s'.format(doc_url) % branch, None)
thmsdt1190a2f2022-03-15 15:21:49 +0100126#/w/workspace/rtdv3-global-verify-master/docs/guides/onap-developer/developing/index.rst:157: WARNING: undefined label: onap-msb-discovery:master_index
127
andreasgeissleref2ee3f2021-03-18 16:00:37 +0100128intersphinx_mapping['onap-msb-java-sdk'] = ('{}/onap-msb-java-sdk/en/%s'.format(doc_url) % branch, None)
thmsdt1190a2f2022-03-15 15:21:49 +0100129#/w/workspace/rtdv3-global-verify-master/docs/guides/onap-developer/developing/index.rst:159: WARNING: undefined label: onap-msb-java-sdk:master_index
130
131##intersphinx_mapping['onap-multicloud-azure'] = ('{}/onap-multicloud-azure/en/%s'.format(doc_url) % branch, None)
132##intersphinx_mapping['onap-music-distributed-kv-store'] = ('{}/onap-music-distributed-kv-store/en/%s'.format(doc_url) % branch, None)
133##intersphinx_mapping['onap-oparent-cia'] = ('{}/onap-oparent-cia/en/%s'.format(doc_url) % branch, None)
134
andreasgeissleref2ee3f2021-03-18 16:00:37 +0100135intersphinx_mapping['onap-osa'] = ('{}/onap-osa/en/%s'.format(doc_url) % branch, None)
thmsdt1190a2f2022-03-15 15:21:49 +0100136#exception? latest only
137
138##intersphinx_mapping['onap-sdc-sdc-distribution-client'] = ('{}/onap-sdc-sdc-distribution-client/en/%s'.format(doc_url) % branch, None)
139##intersphinx_mapping['onap-sdc-sdc-workflow-designer'] = ('{}/onap-sdc-sdc-workflow-designer/en/%s'.format(doc_url) % branch, None)
140##intersphinx_mapping['onap-sdc-sdc-tosca'] = ('{}/onap-sdc-sdc-tosca/en/%s'.format(doc_url) % branch, None)
141##intersphinx_mapping['onap-sdc-sdc-docker-base'] = ('{}/onap-sdc-sdc-docker-base/en/%s'.format(doc_url) % branch, None)
142##intersphinx_mapping['onap-so-libs'] = ('{}/onap-so-libs/en/%s'.format(doc_url) % branch, None)
143##intersphinx_mapping['onap-vfc-nfvo-driver-vnfm-svnfm'] = ('{}/onap-vfc-nfvo-driver-vnfm-svnfm/en/%s'.format(doc_url) % branch, None)
Aric Gardner8a8832a2020-04-02 17:17:49 -0400144
Guillaume Lambert5b9d80a2021-02-02 15:07:08 +0100145linkcheck_ignore = [
Andrea Visnyei32d2daf2020-12-09 12:26:35 +0100146 'http://localhost',
147 'https://example.com',
Guillaume Lambert3931bb12021-02-17 11:48:28 +0100148 'about:config',
149 # this URL is not directly reachable and must be configured in the system hosts file.
150 'https://portal.api.simpledemo.onap.org:30225/ONAPPORTAL/login.htm',
151 # anchor issues
152 'https://docs.onap.org/projects/onap-integration/en/latest/docs_usecases_release.html#.*',
153 'https://docs.linuxfoundation.org/docs/communitybridge/easycla/contributors/contribute-to-a-gerrit-project#.*',
154 'https://docs.onap.org/projects/onap-integration/en/latest/docs_robot.html#docs-robot',
155 'https://docs.onap.org/projects/onap-integration/en/latest/docs_usecases_release.html#docs-usecases-release',
156 'https://docs.onap.org/projects/onap-integration/en/latest/docs_usecases.html#docs-usecases',
157 'https://docs.onap.org/projects/onap-integration/en/latest/usecases/release_non_functional_requirements.html#release-non-functional-requirements',
Guillaume Lambert5b9d80a2021-02-02 15:07:08 +0100158]
Aric Gardner8a8832a2020-04-02 17:17:49 -0400159
160
Rich Bennett80455a52017-11-08 05:17:00 -0500161html_last_updated_fmt = '%d-%b-%y %H:%M'
Rich Bennett22ef0852017-07-19 18:05:55 -0400162
Guillaume Lambert3931bb12021-02-17 11:48:28 +0100163
Rich Bennett317d81a2018-09-11 07:38:05 -0400164def setup(app):
Guillaume Lambert3e25eeb2021-02-02 15:35:50 +0100165 app.add_css_file("css/ribbon.css")
Aric Gardnere2417212020-02-07 13:56:45 -0500166