-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path.linkspector.yml
More file actions
22 lines (22 loc) · 916 Bytes
/
Copy path.linkspector.yml
File metadata and controls
22 lines (22 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Link check for the docs/ tree. Run from the repo root so the self-link
# rewrite resolves against the local source.
# - relative + external links: checked normally
# - operator self-links (/products/kubernetes-operator/...): resolved against
# the local docs/ source, including anchors
# - other Mintlify site-absolute links (/reference, /concepts, ...): resolved
# against ClickHouse/mintlify-docs-dev main via raw GitHub (page existence;
# anchors are not checked over HTTP)
dirs:
- docs
useGitIgnore: false
fileExtensions:
- md
- mdx
replacementPatterns:
- pattern: '^/products/kubernetes-operator/(.+?)(#.*)?$'
replacement: '/docs/$1.mdx$2'
- pattern: '^/(?!docs/)([^#]+?)(#.*)?$'
replacement: 'https://raw.githubusercontent.com/ClickHouse/mintlify-docs-dev/main/$1.mdx'
ignorePatterns:
- pattern: '^/(_site|images|assets)/'
- pattern: '^https://trust\.clickhouse\.com'