Skip to content

Commit

Permalink
Fix linkcheck
Browse files Browse the repository at this point in the history
Added a 5 second timeout for links, and skipping one which often takes a
good long while seems to have linkcheck completing again, at least
locally.

QA: ran linkcheck

Jira issue: none

Signed-off-by: Katrina Prosise <katrina.prosise@foundries.io>
  • Loading branch information
kprosise committed Feb 7, 2024
1 parent 8db8c70 commit 28a4d13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,12 @@
'https://mgmt.foundries.io/leshan/#/security',
'https://github.com/foundriesio/fiotest#testing-specification',
'https://github.com/foundriesio/jobserv/blob/72935348e902cdf318cfee6ab00acccee1438a7c/jobserv/notify.py#L141-L146',
'https://www.st.com/en/development-tools/stm32cubeprog.html', #slow, very slow.
]

# Time in seconds to wait for a response. May result infalse errors, but also keeps things from timing out
linkcheck_timeout = 5

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down

0 comments on commit 28a4d13

Please sign in to comment.