blob: 3401c3d6b97e3dff8c6a488662f18393ab2dfa55 [file] [log] [blame]
Joey Armstrong0c517b52023-07-07 17:29:54 -04001# -*- coding: utf-8 -*-
2#
3# Configuration file for the Sphinx documentation builder.
4#
5# -----------------------------------------------------------------------
6
7
8# -- Options for linkcheck ---------------------------------------------------
9# The link checker strips off .md from links and then complains
10linkcheck_ignore=\
11 [
12 r'https://github.com/opencord/voltctl/blob/master/LICENSE',
13 r'https://github.com/ciena/kind-voltha#voltha-up-configuration-options',
14 r'https://www.sphinx-doc.org',
15 r'https://github.com/opencord/bbsim/blob/master/docs/source/DMI_Server_README',
16 r'https://github.com/opencord/voltha-helm-charts/blob/master/README',
17 #
18 r'https://github.com/atomix/atomix/releases/tag/atomix-3.1.9',
19 r'https://github.com/atomix/atomix/releases/tag/atomix-3.1.8',
20 #
21 r'../voltha-helm-charts/README.html',
22 r'https://mvnrepository.com/artifact/org.slf4j/slf4j-api',
23 r'https://mvnrepository.com/artifact/org.mockito/mockito-all',
24 r'https://mvnrepository.com/artifact/com.h3xstream.findsecbugs/findsecbugs-plugin',
25 r'https://mvnrepository.com/artifact/com.github.spotbugs/spotbugs-maven-plugin',
26 ]
27
28linkcheck_ignore.extend([
29
30 # [RELEASE: generated html from rst
31 r'../release_notes/voltha_\d+.\d+.html',
32
33 # [RELEASE: Maven artifacts]
34 r'https://mvnrepository.com/artifact/org.opencord/\S+',
35])
36
Joey Armstrong56ebc232023-06-29 18:58:29 -040037## [HACK] to get release notes edits in
38linkcheck_ignore.extend([
39
40 r'https://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.kafka-clients',
41
42 # conf.py#308 - Anchor '308' not found
43 # Line numbers in source are valid, figure out why this was flagged
44# r'https://gerrit.opencord.org/plugins/gitiles/voltha-docs/+/refs/heads/master/conf.py\#\d+',
45])
46
Joey Armstrong0c517b52023-07-07 17:29:54 -040047## -----------------------------------------------------------------------
48## https://jira.opencord.org/browse/VOL-5079
49## -----------------------------------------------------------------------
50linkcheck_ignore.extend([
51
52 # (voltha-openonu-adapter-go/docs/PM_Notes: line 287) broken https://github.com/opencord/voltha-protos/blob/master/protos/voltha_protos/extensions.proto#L259 - Anchor 'L259' not found
53 r'https://github.com/opencord/voltha-protos/blob/master/protos/voltha_protos/extensions.proto#L259',
54
55 # (voltha-openonu-adapter-go/docs/PM_Notes: line 311) broken https://github.com/opencord/voltha-protos/blob/master/protos/voltha_protos/extensions.proto#L157 - Anchor 'L157' not found
56 r'https://github.com/opencord/voltha-protos/blob/master/protos/voltha_protos/extensions.proto#L157',
57
58 # (voltha-openonu-adapter-go/docs/ONU_Upgrade_Notes: line 69) broken https://github.com/opencord/voltha-protos/blob/v4.0.11/protos/voltha_protos/device.proto#L106 - Anchor 'L106' not found
59 r'https://github.com/opencord/voltha-protos/blob/v4.0.11/protos/voltha_protos/device.proto#L106',
60
61 # (voltha-openonu-adapter-go/docs/PM_Notes: line 15) broken https://github.com/opencord/voltha-protos/blob/v4.0.11/protos/voltha_protos/device.proto#L61 - Anchor 'L61' not found
62 r'https://github.com/opencord/voltha-protos/blob/v4.0.11/protos/voltha_protos/device.proto#L61',
63
64 # (voltha-openonu-adapter-go/docs/ONU_Upgrade_Notes: line 70) broken https://github.com/opencord/voltha-protos/blob/v4.0.11/protos/voltha_protos/device.proto#L125 - Anchor 'L125' not found
65 r'https://github.com/opencord/voltha-protos/blob/v4.0.11/protos/voltha_protos/device.proto#L125',
66
67 # (voltha-openonu-adapter-go/docs/ONU_Upgrade_Notes: line 71) broken https://github.com/opencord/voltha-protos/blob/v4.0.11/protos/voltha_protos/device.proto#L116 - Anchor 'L116' not found
68 r'https://github.com/opencord/voltha-protos/blob/v4.0.11/protos/voltha_protos/device.proto#L116',
Joey Armstrong2bc25ac2024-04-19 12:21:42 -040069
70 # (testing/voltha_test_automation: line 20) broken
71 r'https://jenkins.opencord.org/view/voltha-soak/',
72
73 ## HMMMM: Why are sphinx template substitutions barfing for urls ?
74 # (release_notes/voltha_2.12: line 658) broken
75 r'https://mvnrepository.com/artifact/org.opencord',
76
Joey Armstrong0c517b52023-07-07 17:29:54 -040077 ])
78
79# [SEE ALSO]
80# -----------------------------------------------------------------------
81# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-the-linkcheck-builder
82
83# [EOF]