Skip to content

Commit 7036867

Browse files
committed
configure linkcheck and test it
1 parent 6e68e27 commit 7036867

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

docs/source/conf.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,16 @@
7777

7878
# Logo configuration
7979
html_logo = "_static/mxmake-logo.svg"
80+
81+
# -- Options for linkcheck builder -------------------------------------------
82+
83+
# Ignore localhost URLs (they're examples, not real links to check)
84+
# Also ignore links that linkcheck has issues with but are actually valid
85+
linkcheck_ignore = [
86+
r"http://localhost:\d+",
87+
r"https://gist\.github\.com/.*#.*", # GitHub gist anchors cause false positives
88+
r"https://www\.gnu\.org/.*", # gnu.org frequently times out but links are valid
89+
]
90+
91+
# Increase timeout for slow sites
92+
linkcheck_timeout = 60

docs/source/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Source Code
44

5-
The sources are in a GIT DVCS with its main branches at [Github](http://github.com/mxstack/mxmake).
5+
The sources are in a GIT DVCS with its main branches at [Github](https://github.com/mxstack/mxmake).
66

77
## Copyright & Licence
88

0 commit comments

Comments
 (0)