blob: 128151773a4111d14975990e2cd635508b47f2e9 [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)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010028intersphinx_mapping['onap-dmaap-messagerouter-messageservice'] = (
29 '{}/onap-dmaap-messagerouter-messageservice/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020030intersphinx_mapping['onap-dmaap-buscontroller'] = ('{}/onap-dmaap-buscontroller/en/%s'.format(doc_url) % branch, None)
31intersphinx_mapping['onap-dmaap-datarouter'] = ('{}/onap-dmaap-datarouter/en/%s'.format(doc_url) % branch, None)
Guillaume Lambert3931bb12021-02-17 11:48:28 +010032intersphinx_mapping['onap-holmes-engine-management'] = (
33 '{}/onap-holmes-engine-management/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010034intersphinx_mapping['onap-holmes-rule-management'] = (
35 '{}/onap-holmes-rule-management/en/%s'.format(doc_url) % branch, None)
36intersphinx_mapping['onap-integration'] = ('{}/onap-integration/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020037intersphinx_mapping['onap-modeling-etsicatalog'] = ('{}/onap-modeling-etsicatalog/en/%s'.format(doc_url) % branch, None)
38intersphinx_mapping['onap-modeling-modelspec'] = ('{}/onap-modeling-modelspec/en/%s'.format(doc_url) % branch, None)
39intersphinx_mapping['onap-multicloud-framework'] = ('{}/onap-multicloud-framework/en/%s'.format(doc_url) % branch, None)
thmsdt9d2461c2021-11-12 10:35:10 +010040intersphinx_mapping['onap-multicloud-k8s'] = ('{}/onap-multicloud-k8s/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020041intersphinx_mapping['onap-msb-apigateway'] = ('{}/onap-msb-apigateway/en/%s'.format(doc_url) % branch, None)
thmsdt9d2461c2021-11-12 10:35:10 +010042intersphinx_mapping['onap-msb-swagger-sdk'] = ('{}/onap-msb-swagger-sdk/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020043intersphinx_mapping['onap-oom'] = ('{}/onap-oom/en/%s'.format(doc_url) % branch, None)
andreasgeisslercb391d02021-04-01 17:27:20 +020044intersphinx_mapping['onap-oom-offline-installer'] = ('{}/onap-oom-offline-installer/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020045intersphinx_mapping['onap-oom-platform-cert-service'] = (
46 '{}/onap-oom-platform-cert-service/en/%s'.format(doc_url) % branch, None)
Andreas Geisslerfc99e1b2021-10-19 11:10:28 +000047#intersphinx_mapping['onap-optf-cmso'] = ('{}/onap-optf-cmso/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020048intersphinx_mapping['onap-optf-osdf'] = ('{}/onap-optf-osdf/en/%s'.format(doc_url) % branch, None)
49intersphinx_mapping['onap-optf-has'] = ('{}/onap-optf-has/en/%s'.format(doc_url) % branch, None)
Andreas Geisslerfc99e1b2021-10-19 11:10:28 +000050#intersphinx_mapping['onap-policy-clamp'] = ('{}/onap-policy-clamp/en/%s'.format(doc_url) % branch, None)
andreasgeisslercb391d02021-04-01 17:27:20 +020051intersphinx_mapping['onap-policy-parent'] = ('{}/onap-policy-parent/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020052intersphinx_mapping['onap-sdc'] = ('{}/onap-sdc/en/%s'.format(doc_url) % branch, None)
53intersphinx_mapping['onap-sdnc-oam'] = ('{}/onap-sdnc-oam/en/%s'.format(doc_url) % branch, None)
54intersphinx_mapping['onap-so'] = ('{}/onap-so/en/%s'.format(doc_url) % branch, None)
55intersphinx_mapping['onap-usecase-ui'] = ('{}/onap-usecase-ui/en/%s'.format(doc_url) % branch, None)
56intersphinx_mapping['onap-vfc-nfvo-lcm'] = ('{}/onap-vfc-nfvo-lcm/en/%s'.format(doc_url) % branch, None)
andreasgeisslercb391d02021-04-01 17:27:20 +020057intersphinx_mapping['onap-vnfrqts-guidelines'] = ('{}/onap-vnfrqts-guidelines/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020058intersphinx_mapping['onap-vnfrqts-requirements'] = ('{}/onap-vnfrqts-requirements/en/%s'.format(doc_url) % branch, None)
andreasgeisslercb391d02021-04-01 17:27:20 +020059intersphinx_mapping['onap-vnfrqts-testcases'] = ('{}/onap-vnfrqts-testcases/en/%s'.format(doc_url) % branch, None)
60intersphinx_mapping['onap-vnfrqts-usecases'] = ('{}/onap-vnfrqts-usecases/en/%s'.format(doc_url) % branch, None)
thmsdt9d2461c2021-11-12 10:35:10 +010061# enable later and remove duplicated entry at 'honolulu' # intersphinx_mapping['onap-vnfsdk-model'] = ('{}/onap-vnfsdk-model/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020062intersphinx_mapping['onap-vvp-documentation'] = ('{}/onap-vvp-documentation/en/%s'.format(doc_url) % branch, None)
63
Andreas Geisslerfc99e1b2021-10-19 11:10:28 +000064#
65# Mapping to an older version of documentation for those projects who are part
66# of the new ONAP release but have not created a branch for it.
67# This can happen e.g. for 'unmaintained' (but still required) projects.
68#
69
70# Honolulu
71branch = 'honolulu'
thmsdt9d2461c2021-11-12 10:35:10 +010072intersphinx_mapping['onap-dmaap-dbcapi'] = ('{}/onap-dmaap-dbcapi/en/%s'.format(doc_url) % branch, None)
Andreas Geisslerfc99e1b2021-10-19 11:10:28 +000073intersphinx_mapping['onap-externalapi-nbi'] = ('{}/onap-externalapi-nbi/en/%s'.format(doc_url) % branch, None)
thmsdt9d2461c2021-11-12 10:35:10 +010074intersphinx_mapping['onap-vid'] = ('{}/onap-vid/en/%s'.format(doc_url) % branch, None)
75intersphinx_mapping['onap-vnfsdk-model'] = ('{}/onap-vnfsdk-model/en/%s'.format(doc_url) % branch, None)
Andreas Geisslerfc99e1b2021-10-19 11:10:28 +000076
andreasgeisslercb391d02021-04-01 17:27:20 +020077# Guilin
78branch = 'guilin'
79intersphinx_mapping['onap-portal'] = ('{}/onap-portal/en/%s'.format(doc_url) % branch, None)
80
andreasgeissler3a170f72021-04-01 10:17:03 +020081# Frankfurt
82branch = 'frankfurt'
83intersphinx_mapping['onap-appc'] = ('{}/onap-appc/en/%s'.format(doc_url) % branch, None)
84intersphinx_mapping['onap-appc-deployment'] = ('{}/onap-appc-deployment/en/%s'.format(doc_url) % branch, None)
85intersphinx_mapping['onap-music'] = ('{}/onap-music/en/%s'.format(doc_url) % branch, None)
86
Andreas Geisslerfc99e1b2021-10-19 11:10:28 +000087#
88# Mapping to 'latest' (master) version of documentation for those projects who
89# are part of the new ONAP release but never have created a branch.
90#
91
andreasgeissler3a170f72021-04-01 10:17:03 +020092# Latest
93branch = 'latest'
94intersphinx_mapping['onap-aaf-authz'] = ('{}/onap-aaf-authz/en/%s'.format(doc_url) % branch, None)
95intersphinx_mapping['onap-aaf-sms'] = ('{}/onap-aaf-sms/en/%s'.format(doc_url) % branch, None)
96intersphinx_mapping['onap-aai-event-client'] = ('{}/onap-aai-event-client/en/%s'.format(doc_url) % branch, None)
Andreas Geisslerfc99e1b2021-10-19 11:10:28 +000097#intersphinx_mapping['onap-aai-esr-gui'] = ('{}/onap-aai-esr-gui/en/%s'.format(doc_url) % branch, None)
98#intersphinx_mapping['onap-aai-esr-server'] = ('{}/onap-aai-esr-server/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020099intersphinx_mapping['onap-ccsdk-dashboard'] = ('{}/onap-ccsdk-dashboard/en/%s'.format(doc_url) % branch, None)
100intersphinx_mapping['onap-ccsdk-platform-plugins'] = (
101 '{}/onap-ccsdk-platform-plugins/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +0100102intersphinx_mapping['onap-logging-analytics'] = ('{}/onap-logging-analytics/en/%s'.format(doc_url) % branch, None)
103intersphinx_mapping['onap-logging-analytics-pomba-pomba-audit-common'] = (
104 '{}/onap-logging-analytics-pomba-pomba-audit-common/en/%s'.format(doc_url) % branch, None)
Guillaume Lambert3931bb12021-02-17 11:48:28 +0100105intersphinx_mapping['onap-modeling-toscaparsers'] = (
106 '{}/onap-modeling-toscaparsers/en/%s'.format(doc_url) % branch, None)
Aric Gardner8a8832a2020-04-02 17:17:49 -0400107intersphinx_mapping['onap-msb-discovery'] = ('{}/onap-msb-discovery/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +0100108intersphinx_mapping['onap-msb-java-sdk'] = ('{}/onap-msb-java-sdk/en/%s'.format(doc_url) % branch, None)
109intersphinx_mapping['onap-multicloud-azure'] = ('{}/onap-multicloud-azure/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +0100110intersphinx_mapping['onap-music-distributed-kv-store'] = (
111 '{}/onap-music-distributed-kv-store/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +0100112intersphinx_mapping['onap-oparent-cia'] = ('{}/onap-oparent-cia/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +0100113intersphinx_mapping['onap-osa'] = ('{}/onap-osa/en/%s'.format(doc_url) % branch, None)
Guillaume Lambert3931bb12021-02-17 11:48:28 +0100114intersphinx_mapping['onap-sdc-sdc-distribution-client'] = (
115 '{}/onap-sdc-sdc-distribution-client/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +0100116intersphinx_mapping['onap-sdc-sdc-workflow-designer'] = (
117 '{}/onap-sdc-sdc-workflow-designer/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +0200118intersphinx_mapping['onap-sdc-sdc-tosca'] = ('{}/onap-sdc-sdc-tosca/en/%s'.format(doc_url) % branch, None)
119intersphinx_mapping['onap-sdc-sdc-docker-base'] = ('{}/onap-sdc-sdc-docker-base/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +0100120intersphinx_mapping['onap-so-libs'] = ('{}/onap-so-libs/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +0100121intersphinx_mapping['onap-vfc-nfvo-driver-vnfm-svnfm'] = (
122 '{}/onap-vfc-nfvo-driver-vnfm-svnfm/en/%s'.format(doc_url) % branch, None)
Aric Gardner8a8832a2020-04-02 17:17:49 -0400123
Guillaume Lambert5b9d80a2021-02-02 15:07:08 +0100124linkcheck_ignore = [
Andrea Visnyei32d2daf2020-12-09 12:26:35 +0100125 'http://localhost',
126 'https://example.com',
Guillaume Lambert3931bb12021-02-17 11:48:28 +0100127 'about:config',
128 # this URL is not directly reachable and must be configured in the system hosts file.
129 'https://portal.api.simpledemo.onap.org:30225/ONAPPORTAL/login.htm',
130 # anchor issues
131 'https://docs.onap.org/projects/onap-integration/en/latest/docs_usecases_release.html#.*',
132 'https://docs.linuxfoundation.org/docs/communitybridge/easycla/contributors/contribute-to-a-gerrit-project#.*',
133 'https://docs.onap.org/projects/onap-integration/en/latest/docs_robot.html#docs-robot',
134 'https://docs.onap.org/projects/onap-integration/en/latest/docs_usecases_release.html#docs-usecases-release',
135 'https://docs.onap.org/projects/onap-integration/en/latest/docs_usecases.html#docs-usecases',
136 '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 +0100137]
Aric Gardner8a8832a2020-04-02 17:17:49 -0400138
139
Rich Bennett80455a52017-11-08 05:17:00 -0500140html_last_updated_fmt = '%d-%b-%y %H:%M'
Rich Bennett22ef0852017-07-19 18:05:55 -0400141
Guillaume Lambert3931bb12021-02-17 11:48:28 +0100142
Rich Bennett317d81a2018-09-11 07:38:05 -0400143def setup(app):
Guillaume Lambert3e25eeb2021-02-02 15:35:50 +0100144 app.add_css_file("css/ribbon.css")
Aric Gardnere2417212020-02-07 13:56:45 -0500145