blob: c8ece96cd288277ce632457d8f9431734d3bd8cf [file] [log] [blame]
Aric Gardner0fb94b12020-01-28 15:21:34 -05001from docs_conf.conf import *
Rich Bennett22ef0852017-07-19 18:05:55 -04002
Eric Debeaudfd985f2020-11-26 16:01:59 +01003branch = 'latest'
Aric Gardnera78f0db2020-06-26 13:09:32 -04004doc_url = 'https://docs.onap.org/projects'
Rich Bennett22ef0852017-07-19 18:05:55 -04005master_doc = 'index'
6
Aric Gardner0fb94b12020-01-28 15:21:34 -05007intersphinx_mapping = {}
Rich Bennettc5995662017-10-18 15:27:52 -04008
andreasgeissler3a170f72021-04-01 10:17:03 +02009# Latest (change to branch)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010010intersphinx_mapping['onap-aai-aai-common'] = ('{}/onap-aai-aai-common/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010011intersphinx_mapping['onap-aai-sparky-be'] = ('{}/onap-aai-sparky-be/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010012intersphinx_mapping['onap-ccsdk-cds'] = ('{}/onap-ccsdk-cds/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010013intersphinx_mapping['onap-ccsdk-features'] = ('{}/onap-ccsdk-features/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020014intersphinx_mapping['onap-ccsdk-distribution'] = ('{}/onap-ccsdk-distribution/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010015intersphinx_mapping['onap-ccsdk-oran'] = ('{}/onap-ccsdk-oran/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010016intersphinx_mapping['onap-cli'] = ('{}/onap-cli/en/%s'.format(doc_url) % branch, None)
17intersphinx_mapping['onap-cps'] = ('{}/onap-cps/en/%s'.format(doc_url) % branch, None)
Eric Debeaudc78aca2021-09-29 14:33:29 +020018intersphinx_mapping['onap-cps-ncmp-dmi-plugin'] = ('{}/onap-cps-ncmp-dmi-plugin/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010019intersphinx_mapping['onap-dcaegen2'] = ('{}/onap-dcaegen2/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010020intersphinx_mapping['onap-dmaap-messagerouter-messageservice'] = (
21 '{}/onap-dmaap-messagerouter-messageservice/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020022intersphinx_mapping['onap-dmaap-buscontroller'] = ('{}/onap-dmaap-buscontroller/en/%s'.format(doc_url) % branch, None)
23intersphinx_mapping['onap-dmaap-datarouter'] = ('{}/onap-dmaap-datarouter/en/%s'.format(doc_url) % branch, None)
andreasgeisslercb391d02021-04-01 17:27:20 +020024intersphinx_mapping['onap-dmaap-dbcapi'] = ('{}/onap-dmaap-dbcapi/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010025intersphinx_mapping['onap-externalapi-nbi'] = ('{}/onap-externalapi-nbi/en/%s'.format(doc_url) % branch, None)
Guillaume Lambert3931bb12021-02-17 11:48:28 +010026intersphinx_mapping['onap-holmes-engine-management'] = (
27 '{}/onap-holmes-engine-management/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010028intersphinx_mapping['onap-holmes-rule-management'] = (
29 '{}/onap-holmes-rule-management/en/%s'.format(doc_url) % branch, None)
30intersphinx_mapping['onap-integration'] = ('{}/onap-integration/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020031intersphinx_mapping['onap-modeling-etsicatalog'] = ('{}/onap-modeling-etsicatalog/en/%s'.format(doc_url) % branch, None)
32intersphinx_mapping['onap-modeling-modelspec'] = ('{}/onap-modeling-modelspec/en/%s'.format(doc_url) % branch, None)
33intersphinx_mapping['onap-multicloud-framework'] = ('{}/onap-multicloud-framework/en/%s'.format(doc_url) % branch, None)
34intersphinx_mapping['onap-msb-apigateway'] = ('{}/onap-msb-apigateway/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020035intersphinx_mapping['onap-oom'] = ('{}/onap-oom/en/%s'.format(doc_url) % branch, None)
andreasgeisslercb391d02021-04-01 17:27:20 +020036intersphinx_mapping['onap-oom-offline-installer'] = ('{}/onap-oom-offline-installer/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020037intersphinx_mapping['onap-oom-platform-cert-service'] = (
38 '{}/onap-oom-platform-cert-service/en/%s'.format(doc_url) % branch, None)
39intersphinx_mapping['onap-optf-cmso'] = ('{}/onap-optf-cmso/en/%s'.format(doc_url) % branch, None)
40intersphinx_mapping['onap-optf-osdf'] = ('{}/onap-optf-osdf/en/%s'.format(doc_url) % branch, None)
41intersphinx_mapping['onap-optf-has'] = ('{}/onap-optf-has/en/%s'.format(doc_url) % branch, None)
andreasgeisslercb391d02021-04-01 17:27:20 +020042intersphinx_mapping['onap-policy-clamp'] = ('{}/onap-policy-clamp/en/%s'.format(doc_url) % branch, None)
43intersphinx_mapping['onap-policy-parent'] = ('{}/onap-policy-parent/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020044intersphinx_mapping['onap-sdc'] = ('{}/onap-sdc/en/%s'.format(doc_url) % branch, None)
45intersphinx_mapping['onap-sdnc-oam'] = ('{}/onap-sdnc-oam/en/%s'.format(doc_url) % branch, None)
46intersphinx_mapping['onap-so'] = ('{}/onap-so/en/%s'.format(doc_url) % branch, None)
47intersphinx_mapping['onap-usecase-ui'] = ('{}/onap-usecase-ui/en/%s'.format(doc_url) % branch, None)
48intersphinx_mapping['onap-vfc-nfvo-lcm'] = ('{}/onap-vfc-nfvo-lcm/en/%s'.format(doc_url) % branch, None)
49intersphinx_mapping['onap-vid'] = ('{}/onap-vid/en/%s'.format(doc_url) % branch, None)
andreasgeisslercb391d02021-04-01 17:27:20 +020050intersphinx_mapping['onap-vnfrqts-guidelines'] = ('{}/onap-vnfrqts-guidelines/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020051intersphinx_mapping['onap-vnfrqts-requirements'] = ('{}/onap-vnfrqts-requirements/en/%s'.format(doc_url) % branch, None)
andreasgeisslercb391d02021-04-01 17:27:20 +020052intersphinx_mapping['onap-vnfrqts-testcases'] = ('{}/onap-vnfrqts-testcases/en/%s'.format(doc_url) % branch, None)
53intersphinx_mapping['onap-vnfrqts-usecases'] = ('{}/onap-vnfrqts-usecases/en/%s'.format(doc_url) % branch, None)
54intersphinx_mapping['onap-vnfsdk-model'] = ('{}/onap-vnfsdk-model/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020055intersphinx_mapping['onap-vvp-documentation'] = ('{}/onap-vvp-documentation/en/%s'.format(doc_url) % branch, None)
56
andreasgeisslercb391d02021-04-01 17:27:20 +020057# Guilin
58branch = 'guilin'
59intersphinx_mapping['onap-portal'] = ('{}/onap-portal/en/%s'.format(doc_url) % branch, None)
60
andreasgeissler3a170f72021-04-01 10:17:03 +020061# Frankfurt
62branch = 'frankfurt'
63intersphinx_mapping['onap-appc'] = ('{}/onap-appc/en/%s'.format(doc_url) % branch, None)
64intersphinx_mapping['onap-appc-deployment'] = ('{}/onap-appc-deployment/en/%s'.format(doc_url) % branch, None)
65intersphinx_mapping['onap-music'] = ('{}/onap-music/en/%s'.format(doc_url) % branch, None)
66
67# Latest
68branch = 'latest'
69intersphinx_mapping['onap-aaf-authz'] = ('{}/onap-aaf-authz/en/%s'.format(doc_url) % branch, None)
70intersphinx_mapping['onap-aaf-sms'] = ('{}/onap-aaf-sms/en/%s'.format(doc_url) % branch, None)
71intersphinx_mapping['onap-aai-event-client'] = ('{}/onap-aai-event-client/en/%s'.format(doc_url) % branch, None)
72intersphinx_mapping['onap-aai-esr-gui'] = ('{}/onap-aai-esr-gui/en/%s'.format(doc_url) % branch, None)
73intersphinx_mapping['onap-aai-esr-server'] = ('{}/onap-aai-esr-server/en/%s'.format(doc_url) % branch, None)
74intersphinx_mapping['onap-ccsdk-apps'] = ('{}/onap-ccsdk-apps/en/%s'.format(doc_url) % branch, None)
75intersphinx_mapping['onap-ccsdk-dashboard'] = ('{}/onap-ccsdk-dashboard/en/%s'.format(doc_url) % branch, None)
76intersphinx_mapping['onap-ccsdk-platform-plugins'] = (
77 '{}/onap-ccsdk-platform-plugins/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010078intersphinx_mapping['onap-logging-analytics'] = ('{}/onap-logging-analytics/en/%s'.format(doc_url) % branch, None)
79intersphinx_mapping['onap-logging-analytics-pomba-pomba-audit-common'] = (
80 '{}/onap-logging-analytics-pomba-pomba-audit-common/en/%s'.format(doc_url) % branch, None)
Guillaume Lambert3931bb12021-02-17 11:48:28 +010081intersphinx_mapping['onap-modeling-toscaparsers'] = (
82 '{}/onap-modeling-toscaparsers/en/%s'.format(doc_url) % branch, None)
Aric Gardner8a8832a2020-04-02 17:17:49 -040083intersphinx_mapping['onap-msb-discovery'] = ('{}/onap-msb-discovery/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010084intersphinx_mapping['onap-msb-java-sdk'] = ('{}/onap-msb-java-sdk/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020085intersphinx_mapping['onap-msb-swagger-sdk'] = ('{}/onap-msb-swagger-sdk/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010086intersphinx_mapping['onap-multicloud-azure'] = ('{}/onap-multicloud-azure/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010087intersphinx_mapping['onap-multicloud-k8s'] = ('{}/onap-multicloud-k8s/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010088intersphinx_mapping['onap-music-distributed-kv-store'] = (
89 '{}/onap-music-distributed-kv-store/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010090intersphinx_mapping['onap-oparent-cia'] = ('{}/onap-oparent-cia/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010091intersphinx_mapping['onap-osa'] = ('{}/onap-osa/en/%s'.format(doc_url) % branch, None)
Guillaume Lambert3931bb12021-02-17 11:48:28 +010092intersphinx_mapping['onap-sdc-sdc-distribution-client'] = (
93 '{}/onap-sdc-sdc-distribution-client/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010094intersphinx_mapping['onap-sdc-sdc-workflow-designer'] = (
95 '{}/onap-sdc-sdc-workflow-designer/en/%s'.format(doc_url) % branch, None)
andreasgeissler3a170f72021-04-01 10:17:03 +020096intersphinx_mapping['onap-sdc-sdc-tosca'] = ('{}/onap-sdc-sdc-tosca/en/%s'.format(doc_url) % branch, None)
97intersphinx_mapping['onap-sdc-sdc-docker-base'] = ('{}/onap-sdc-sdc-docker-base/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010098intersphinx_mapping['onap-so-libs'] = ('{}/onap-so-libs/en/%s'.format(doc_url) % branch, None)
andreasgeissleref2ee3f2021-03-18 16:00:37 +010099intersphinx_mapping['onap-vfc-nfvo-driver-vnfm-svnfm'] = (
100 '{}/onap-vfc-nfvo-driver-vnfm-svnfm/en/%s'.format(doc_url) % branch, None)
Aric Gardner8a8832a2020-04-02 17:17:49 -0400101
Guillaume Lambert5b9d80a2021-02-02 15:07:08 +0100102linkcheck_ignore = [
Andrea Visnyei32d2daf2020-12-09 12:26:35 +0100103 'http://localhost',
104 'https://example.com',
Guillaume Lambert3931bb12021-02-17 11:48:28 +0100105 'about:config',
106 # this URL is not directly reachable and must be configured in the system hosts file.
107 'https://portal.api.simpledemo.onap.org:30225/ONAPPORTAL/login.htm',
108 # anchor issues
109 'https://docs.onap.org/projects/onap-integration/en/latest/docs_usecases_release.html#.*',
110 'https://docs.linuxfoundation.org/docs/communitybridge/easycla/contributors/contribute-to-a-gerrit-project#.*',
111 'https://docs.onap.org/projects/onap-integration/en/latest/docs_robot.html#docs-robot',
112 'https://docs.onap.org/projects/onap-integration/en/latest/docs_usecases_release.html#docs-usecases-release',
113 'https://docs.onap.org/projects/onap-integration/en/latest/docs_usecases.html#docs-usecases',
114 '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 +0100115]
Aric Gardner8a8832a2020-04-02 17:17:49 -0400116
117
Rich Bennett80455a52017-11-08 05:17:00 -0500118html_last_updated_fmt = '%d-%b-%y %H:%M'
Rich Bennett22ef0852017-07-19 18:05:55 -0400119
Guillaume Lambert3931bb12021-02-17 11:48:28 +0100120
Rich Bennett317d81a2018-09-11 07:38:05 -0400121def setup(app):
Guillaume Lambert3e25eeb2021-02-02 15:35:50 +0100122 app.add_css_file("css/ribbon.css")
Aric Gardnere2417212020-02-07 13:56:45 -0500123