forked from open-telemetry/opentelemetry.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.htmltest.yml
More file actions
89 lines (81 loc) · 4.45 KB
/
.htmltest.yml
File metadata and controls
89 lines (81 loc) · 4.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
CacheExpires: 13300h # ~ 18 months
DirectoryPath: public
IgnoreDirectoryMissingTrailingSlash: true
IgnoreAltMissing: true
IgnoreCanonicalBrokenLinks: false
IgnoreInternalEmptyHash: true # TODO: remove after resolution of https://github.com/google/docsy/issues/1995
CheckMailto: false
StripQueryString: false
TestFilesConcurrently: true
# RetryCachedErrors, CacheAllExternal: for docs, see https://github.com/chalin/htmltest/blob/dev/main/README.md
RetryCachedErrors: false
CacheAllExternal: true
RedirectLimit: 3
IgnoreDirs:
# DO NOT EDIT! IgnoreDirs list is auto-generated from markdown file front matter.
# Ignore blog index pages for all locales and in all blog sections (top-level and years)
- ^(../)?blog/(\d+/)?page/\d+
# Ignore old blog posts
- ^(../)?blog/20(19|21|22|23)/
# TODO drop the following config once this page is updated to reflect the corresponding `en`
# page and the link 404 (detailed below) are resolved:
# zh/docs/contributing/index.html
# Non-OK status: 404 --> https://github.com/open-telemetry/community/blob/main/CONTRIBUTING.md
- ^zh/docs/contributing/
# DO NOT EDIT! IgnoreDirs list is auto-generated from markdown file front matter.
IgnoreInternalURLs: # list of paths
IgnoreURLs: # list of regexes of paths or URLs to be ignored
- /index.xml$ # Ignore rel="alternative" links to RSS feeds
- '[?&]link-check=no' # Query param to ignore link checking
- ^/api/?$
- ^((/..)?/docs/languages/\w+|\.\.)/(api|examples|registry)/$
- ^(/..)?/docs/collector/registry/$
- ^(/..)?/docs/languages/dotnet/(metrics-api|traces-api)/
- ^((/..)?/docs/compatibility/migration/)?opencensus/$
- ^/../docs/specs/?$ # non-default locale spec redirect
# Temporary until the following is fixed and Docsy is updated:
# https://github.com/google/docsy/issues/2595
- ^/favicons
- ^https://deploy-preview-\d+--opentelemetry.netlify.app/
- ^https://www\.googletagmanager\.com
- ^(https:)?//translate.google.com
# Don't ignore `:1313` since it is often a docs link copy-paste error, e.g.:
# https://github.com/open-telemetry/opentelemetry.io/pull/6123
- ^https?://localhost(:([^1]|16*)|(/.*)?$)
- ^https?://127\.0\.0\.1\b
- ^https?://(otel-demo|traefik)\.localhost
# OpAMP spec:
- ^https://pdf.sciencedirectassets.com/280203/1-s2.0-S1877050919X0006X/1-s2.0-S1877050919303576/main.pdf\?
# Sites that deny access, always yielding 401, 403 Forbidden, 406, or other:
- ^https://platform.openai.com # Really hard to trick into giving a 200 when using a script; manually verify links
- ^https://star-history.com # link contain ampersands in URL anchor part, which htmltest escapes, so it's not found
- ^https://twitter.com
- ^https://www.youtube.com/playlist\?list= # htmltest doesn't process query parameters
- ^https://x.com
- ^https://x.ai
- ^https://www.deepseek.com
- ^https://www.perplexity.ai
- ^https://sched.co # Often yields 403 Forbidden and needs manual verification
- ^https://.*\.sched\.com
# Ignore because they forget to renew their certificates too often, e.g., see:
# https://github.com/oatpp/oatpp/issues/1082
- ^https://oatpp.io
# Ignore issues and discussions with query parameters, e.g.:
- ^https://github\.com/open-telemetry/opentelemetry\.io/issues\?q=
- ^https://github\.com/open-telemetry/opentelemetry\.io/discussions\?discussions_q=
# Ignore Docsy-generated GitHub links for now, until
# https://github.com/google/docsy/issues/1432 is fixed
- ^https?://github\.com/.*?/.*?/(new/|edit/|issues/new\?) # view-page, edit-source etc
# Ignore "View page source" links, except for spec pages, i.e., links starting with
# https://github.com/open-telemetry/opentelemetry.io/tree/main/content/en/docs/specs
- ^https://github\.com/open-telemetry/opentelemetry.io/tree/main/content/[^e]
- ^https://github\.com/open-telemetry/opentelemetry.io/tree/main/content/es
- ^https://github\.com/open-telemetry/opentelemetry.io/tree/main/content/en/.*?/_index.md$
- ^https://github\.com/open-telemetry/opentelemetry.io/tree/main/content/en/[^d]
- ^https://github\.com/open-telemetry/opentelemetry.io/tree/main/content/en/docs/[^s]
- ^https://github\.com/open-telemetry/opentelemetry.io/tree/main/content/en/docs/security
# FIXME: same issue as for the OTel spec mentioned above:
- ^https://github.com/open-telemetry/semantic-conventions/tree/main
# TODO delete once the following is fixed and lands in this repo:
# https://github.com/open-telemetry/semantic-conventions/issues/2909
- ^https://www.whatsmyua.info