Joey Armstrong | 0c517b5 | 2023-07-07 17:29:54 -0400 | [diff] [blame] | 1 | # -*- 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 |
| 10 | linkcheck_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 | |
| 28 | linkcheck_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 Armstrong | 56ebc23 | 2023-06-29 18:58:29 -0400 | [diff] [blame] | 37 | ## [HACK] to get release notes edits in |
| 38 | linkcheck_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 Armstrong | 0c517b5 | 2023-07-07 17:29:54 -0400 | [diff] [blame] | 47 | ## ----------------------------------------------------------------------- |
| 48 | ## https://jira.opencord.org/browse/VOL-5079 |
| 49 | ## ----------------------------------------------------------------------- |
| 50 | linkcheck_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', |
| 69 | ]) |
| 70 | |
| 71 | # [SEE ALSO] |
| 72 | # ----------------------------------------------------------------------- |
| 73 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-the-linkcheck-builder |
| 74 | |
| 75 | # [EOF] |