-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathschema.yml
More file actions
49 lines (46 loc) · 1.34 KB
/
schema.yml
File metadata and controls
49 lines (46 loc) · 1.34 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
# yaml-language-server: $schema=https://raw.githubusercontent.com/jackchuka/mdschema/main/schema.json
# Documentation Schema - Full validation for index files
# Validates structure, headings, and links
# Link validation
links:
validate_internal: true # check anchor links (#section-name)
validate_files: false # Handles extensionless links at build time
external_timeout: 10 # timeout in seconds for external URL checks
allowed_domains: # restrict external links to these domains
- github.com
- tailor.tech
- localhost
- 127.0.0.1
- registry.terraform.io
- en.wikipedia.org
- vitest.dev
- unicode.org
- ibm.com
- iana.org
- auth0.com
- brew.sh
- ietf.org
- nodejs.org
- graphql.org
- hashicorp.com
- buf.build
- slack.com
- microsoft.com
- google.com
- intuit.com
- openid.net
- shipstation.com
- loopreturns.com
- zapier.com
- pipedream.com
- aquaproj.github.io
- portal.azure.com
- www.npmjs.com
- sonner.emilkowal.ski
- tailortech.statuspage.io
blocked_domains: [] # block links to these domains
# Heading validation rules
heading_rules:
no_skip_levels: true # disallow skipping levels (e.g., h1 -> h3)
unique: false # allow duplicate headings (common in docs with similar sections)
max_depth: 4 # maximum heading depth (h1-h4)