blob: 0783de5935697c737749944cb76e7b10a14b3386 [file] [log] [blame]
Joey Armstrong0c517b52023-07-07 17:29:54 -04001# -*- coding: utf-8 -*-
Joey Armstrong0c517b52023-07-07 17:29:54 -04002# -----------------------------------------------------------------------
Joey Armstrong252f7122024-04-26 12:38:13 -04003# Copyright 2017-2024 Open Networking Foundation Contributors
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16# -----------------------------------------------------------------------
17# SPDX-FileCopyrightText: 2017-2024 Open Networking Foundation Contributors
18# SPDX-License-Identifier: Apache-2.0
19# -----------------------------------------------------------------------
20# Intent: Configuration file for the Sphinx documentation builder.
21# -----------------------------------------------------------------------
Joey Armstrong0c517b52023-07-07 17:29:54 -040022
23# -- Options for linkcheck ---------------------------------------------------
24# The link checker strips off .md from links and then complains
25linkcheck_ignore=\
26 [
27 r'https://github.com/opencord/voltctl/blob/master/LICENSE',
28 r'https://github.com/ciena/kind-voltha#voltha-up-configuration-options',
29 r'https://www.sphinx-doc.org',
30 r'https://github.com/opencord/bbsim/blob/master/docs/source/DMI_Server_README',
31 r'https://github.com/opencord/voltha-helm-charts/blob/master/README',
32 #
33 r'https://github.com/atomix/atomix/releases/tag/atomix-3.1.9',
34 r'https://github.com/atomix/atomix/releases/tag/atomix-3.1.8',
35 #
36 r'../voltha-helm-charts/README.html',
37 r'https://mvnrepository.com/artifact/org.slf4j/slf4j-api',
38 r'https://mvnrepository.com/artifact/org.mockito/mockito-all',
39 r'https://mvnrepository.com/artifact/com.h3xstream.findsecbugs/findsecbugs-plugin',
40 r'https://mvnrepository.com/artifact/com.github.spotbugs/spotbugs-maven-plugin',
Joey Armstrong252f7122024-04-26 12:38:13 -040041 r'\s+/release_notes/voltha-2.12\s+',
42 r'\s+/release_notes/voltha_2.12.rst',
Joey Armstrong0c517b52023-07-07 17:29:54 -040043 ]
44
45linkcheck_ignore.extend([
46
47 # [RELEASE: generated html from rst
48 r'../release_notes/voltha_\d+.\d+.html',
49
50 # [RELEASE: Maven artifacts]
51 r'https://mvnrepository.com/artifact/org.opencord/\S+',
52])
53
Joey Armstrong56ebc232023-06-29 18:58:29 -040054## [HACK] to get release notes edits in
55linkcheck_ignore.extend([
56
57 r'https://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.kafka-clients',
58
59 # conf.py#308 - Anchor '308' not found
60 # Line numbers in source are valid, figure out why this was flagged
61# r'https://gerrit.opencord.org/plugins/gitiles/voltha-docs/+/refs/heads/master/conf.py\#\d+',
62])
63
Joey Armstrong0c517b52023-07-07 17:29:54 -040064## -----------------------------------------------------------------------
65## https://jira.opencord.org/browse/VOL-5079
66## -----------------------------------------------------------------------
67linkcheck_ignore.extend([
68
69 # (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
70 r'https://github.com/opencord/voltha-protos/blob/master/protos/voltha_protos/extensions.proto#L259',
71
72 # (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
73 r'https://github.com/opencord/voltha-protos/blob/master/protos/voltha_protos/extensions.proto#L157',
74
75 # (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
76 r'https://github.com/opencord/voltha-protos/blob/v4.0.11/protos/voltha_protos/device.proto#L106',
77
78 # (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
79 r'https://github.com/opencord/voltha-protos/blob/v4.0.11/protos/voltha_protos/device.proto#L61',
80
81 # (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
82 r'https://github.com/opencord/voltha-protos/blob/v4.0.11/protos/voltha_protos/device.proto#L125',
83
84 # (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
85 r'https://github.com/opencord/voltha-protos/blob/v4.0.11/protos/voltha_protos/device.proto#L116',
Joey Armstrong2bc25ac2024-04-19 12:21:42 -040086
87 # (testing/voltha_test_automation: line 20) broken
88 r'https://jenkins.opencord.org/view/voltha-soak/',
89
90 ## HMMMM: Why are sphinx template substitutions barfing for urls ?
91 # (release_notes/voltha_2.12: line 658) broken
92 r'https://mvnrepository.com/artifact/org.opencord',
93
Joey Armstrong0c517b52023-07-07 17:29:54 -040094 ])
95
96# [SEE ALSO]
97# -----------------------------------------------------------------------
98# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-the-linkcheck-builder
99
100# [EOF]