|
76 | 76 | if venvdir is not None: |
77 | 77 | exclude_patterns.append(venvdir + '/*') |
78 | 78 |
|
| 79 | +nitpick_ignore = [ |
| 80 | + # Do not error nit-picky mode builds when _SubParsersAction.add_parser cannot |
| 81 | + # be resolved, as the method is currently undocumented. For context, see |
| 82 | + # https://github.com/python/cpython/pull/103289. |
| 83 | + ('py:meth', '_SubParsersAction.add_parser'), |
| 84 | +] |
| 85 | + |
79 | 86 | # Disable Docutils smartquotes for several translations |
80 | 87 | smartquotes_excludes = { |
81 | 88 | 'languages': ['ja', 'fr', 'zh_TW', 'zh_CN'], 'builders': ['man', 'text'], |
|
263 | 270 | r'https://github.com/python/cpython/tree/.*': 'https://github.com/python/cpython/blob/.*' |
264 | 271 | } |
265 | 272 |
|
| 273 | +linkcheck_anchors_ignore = [ |
| 274 | + # ignore anchors that start with a '/', e.g. Wikipedia media files: |
| 275 | + # https://en.wikipedia.org/wiki/Walrus#/media/File:Pacific_Walrus_-_Bull_(8247646168).jpg |
| 276 | + r'\/.*', |
| 277 | +] |
| 278 | + |
| 279 | +linkcheck_ignore = [ |
| 280 | + # The crawler gets "Anchor not found" |
| 281 | + r'https://developer.apple.com/documentation/.+?#.*', |
| 282 | + r'https://devguide.python.org.+?/#.*', |
| 283 | + r'https://github.com.+?#.*', |
| 284 | + # Robot crawlers not allowed: "403 Client Error: Forbidden" |
| 285 | + r'https://support.enthought.com/hc/.*', |
| 286 | + # SSLError CertificateError, even though it is valid |
| 287 | + r'https://unix.org/version2/whatsnew/lp64_wp.html', |
| 288 | +] |
| 289 | + |
| 290 | + |
266 | 291 | # Options for extensions |
267 | 292 | # ---------------------- |
268 | 293 |
|
|
0 commit comments