Skip to content

Commit

Permalink
Create an ignorelist for linkcheck (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
eviau-artefactual authored Aug 15, 2024
1 parent 1e92bb8 commit 8cf6e76
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,3 +273,17 @@

# If true, do not generate a @detailmenu in the "Top" node's menu.
# texinfo_no_detailmenu = False


# -- Options for linkcheck ------------------------------------

linkcheck_ignore = [
r'([(http:)(https:)]*(\/\/)*(localhost)(:)*[\d]*)',
r'([(http:)(https:)]*(\/\/)*(townarchives.org)(/)*[\d]*)',
r'([(http:)(https:)]*(\/\/)*(www.example.com))',
r'([(http:)(https:)]*(\/\/)*(10.10.10.10)(:)*[\d]*)',
r'([(http:)(https:)]*(\/\/)[\S]*(.)*(github.com)([\s\S])*((.md)[#][\w-]*))',
r'([(http:)(https:)]*(\/\/)[\S]*(.)*(github.com)([\s\S])*((.php)[#][\w-]*))',
r'([(http:)(https:)]*(\/\/)[\S]*(.)*(github.com)([\s\S])*((.less)[#][\w-]*))',
r'([(http:)(https:)]*(\/\/)[\S]*(.)*(github.com/artefactual/atom/commit)([\s\S])*([#][\w-]*))',
]

0 comments on commit 8cf6e76

Please sign in to comment.