Skip to content

Commit 48bd0fa

Browse files
authored
Update linkcheck user agent and update links (#2573)
Update linkcheck actions and python version
1 parent dff0ad7 commit 48bd0fa

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

.github/workflows/link-check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ env:
1010

1111
jobs:
1212
check-links:
13-
if: github.repository_owner == 'wpilibsuite'
13+
if: github.repository_owner == 'wpilibsuite'
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v3
17-
- uses: actions/setup-python@v4
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-python@v5
1818
with:
19-
python-version: 3.9
19+
python-version: 3.11
2020
- name: Install Dependencies
2121
run: pip install -r source/requirements.txt
2222
- name: Check Links

source/conf.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,17 +142,18 @@
142142

143143
# Linkcheck Exclusions
144144
linkcheck_ignore = [
145-
r".*kauailabs.com.*",
145+
# r".*kauailabs.com.*",
146146
r".*wpilibpi.local.*",
147-
r".*andymark.com.*",
148-
r".*ti.com/lit/an/spma033a/spma033a.pdf.*",
149-
r".*java.com/en/download/help/locale.xml.*",
147+
# r".*andymark.com.*",
148+
# r".*ti.com/lit/an/spma033a/spma033a.pdf.*",
149+
r".*java.com.*",
150150
r".*playingwithfusion.com/contactus.php.*",
151-
r".*github.com/wpilibsuite/BetaTest.*",
152-
r".*vexrobotics.com/docs/.*",
151+
# r".*vexrobotics.com/docs/.*",
153152
r".*forums.firstinspires.org.*",
154153
r".*digikey.com.*",
155154
r".*chiefdelphi.com.*",
155+
r".*raspberrypi.com.*",
156+
r".*stackoverflow.com.*",
156157
]
157158

158159
# Sets linkcheck timeout in seconds
@@ -161,7 +162,7 @@
161162
linkcheck_workers = 1
162163

163164
# Specify a standard user agent, as Sphinx default is blocked on some sites
164-
user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"
165+
user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"
165166

166167
# Autosection labels prefix document path and filename
167168
autosectionlabel_prefix_document = True

source/docs/yearly-overview/known-issues.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Radio Second Port Sometimes Fails to Communicate
7171

7272
**Issue:** There is a rare occurrence in the OM5P Radios that causes the second Ethernet port (the one farthest from the power plug) to not communicate.
7373

74-
**Workaround:** Generally, power cycling the radio will restablish communication with the second port. Alternately, utilize a network switch such as the tp-link switch available from `FIRST Choice <https://firstchoicebyandymark.com/fc-cn-9024>`__ or the `brainboxes SW-005 <https://www.brainboxes.com/product/industrial-ethernet-switches/fast-ethernet/sw-005>`__ and plug all ethernet devices into the network switch and then plug the switch into the radio's first Ethernet port. This also allows easier tethering while at competition.
74+
**Workaround:** Generally, power cycling the radio will restablish communication with the second port. Alternately, utilize a network switch such as the tp-link switch formerly available from `FIRST Choice <https://www.amazon.com/gp/product/B000FNFSPY>`__ or the `brainboxes SW-005 <https://www.brainboxes.com/product/industrial-ethernet-switches/fast-ethernet/sw-005>`__ and plug all ethernet devices into the network switch and then plug the switch into the radio's first Ethernet port. This also allows easier tethering while at competition.
7575

7676
Onboard I2C Causing System Lockups
7777
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

source/docs/zero-to-robot/step-3/radio-programming.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ If you need to load the FRC firmware (or reset the radio), you can do so using t
135135

136136
.. warning:: If you see an error about NPF name, try disabling all adapters other than the one being used to program the radio. If only one adapter is found, the tool should attempt to use that one. See the steps in :ref:`Disabling Network Adapters <docs/networking/networking-introduction/roborio-network-troubleshooting:Disabling Network Adapters>` for more info.
137137

138-
Teams may also see this error with Operating Systems configured for languages other than US English. If you experience issues loading firmware or programming on a foreign language OS, try using an English OS, such as on the KOP provided PC or setting the Locale setting to "en_us" as described on `this page <https://www.java.com/en/download/help/locale.xml>`_.
138+
Teams may also see this error with Operating Systems configured for languages other than US English. If you experience issues loading firmware or programming on a foreign language OS, try using an English OS, such as on the KOP provided PC or setting the Locale setting to "en_us" as described on `this page <https://www.java.com/en/download/help/locale.html>`_.
139139

140140
Select Radio and Operating Mode
141141
-------------------------------
@@ -210,7 +210,7 @@ Troubleshooting
210210
- Make sure your firewall is turned off.
211211
- Plug directly from your computer into the wireless bridge and make sure no other devices are connected to your computer via ethernet.
212212
- Ensure the ethernet is plugged into the port closest to the power jack on the wireless bridge.
213-
- If using an Operating System configured for languages other than US English, try using an English OS, such as on the KOP provided PC or setting the Locale setting to "en_us" as described on `this page <https://www.java.com/en/download/help/locale.xml>`_.
213+
- If using an Operating System configured for languages other than US English, try using an English OS, such as on the KOP provided PC or setting the Locale setting to "en_us" as described on `this page <https://www.java.com/en/download/help/locale.html>`_.
214214
- Due to Unicode incompatibles, non-US Teams may face a configuration failure because of incorrect network interface reading. In that case, change the network adapter name to another name in English and retry.
215215
- Some users have reported success after installing `npcap 1.60 <https://npcap.com/>`__. If this doesn't resolve the issue, it's recommended to uninstall npcap and the radio tool and then reinstall the radio tool in order to get back to a known configuration.
216216
- If all else fails, try a different computer.

0 commit comments

Comments
 (0)