Skip to content

Commit fd2a70e

Browse files
authored
Merge branch 'hotwax:user-guides-pub' into user-guides-pub
2 parents 2ff943e + 668c678 commit fd2a70e

File tree

271 files changed

+1462
-1082
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

271 files changed

+1462
-1082
lines changed

.github/workflows/grammar-nazi.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 📘 Docs Quality Checks
2+
3+
on:
4+
push:
5+
branches: [user-guides-pub]
6+
pull_request:
7+
branches: [user-guides-pub]
8+
workflow_dispatch:
9+
10+
jobs:
11+
lint-docs:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: 📥 Checkout repo
15+
uses: actions/checkout@v3
16+
17+
### 🧹 Markdownlint
18+
- name: 🧹 Run markdownlint
19+
uses: DavidAnson/markdownlint-cli2-action@v13
20+
with:
21+
globs: '**/*.md'

.github/workflows/link-check.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: 🔗 Check for Broken Links
2+
3+
on:
4+
push:
5+
branches: [user-guides-pub]
6+
pull_request:
7+
branches: [user-guides-pub]
8+
schedule:
9+
- cron: '30 3 * * 1-5' # 9 AM IST, Monday to Friday
10+
workflow_dispatch:
11+
12+
jobs:
13+
linkChecker:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: 📥 Checkout code
17+
uses: actions/checkout@v3
18+
19+
- name: 🛠 Install lychee
20+
run: cargo install lychee
21+
22+
- name: 🔍 Run lychee CLI
23+
run: lychee --verbose --no-progress './**/*.md'

.markdownlint.jsonc

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"MD001": false, // Heading levels should only increment by one level at a time
3+
"MD002": false, // First heading should be a top-level heading (e.g., "# Heading")
4+
"MD003": false, // Heading style should be consistent (e.g., ATX vs Setext)
5+
"MD004": false, // Unordered list style should be consistent
6+
"MD005": false, // Inconsistent indentation for list items
7+
"MD006": false, // Indentation for list items should be multiple of 2 spaces
8+
"MD007": false, // List item indentation should be consistent within the list
9+
"MD008": false, // Lists should be surrounded by blank lines (alternate form)
10+
"MD009": true, // Disallow trailing spaces at the end of lines
11+
"MD010": false, // Hard tabs are discouraged
12+
"MD011": false, // Reversed link syntax is not allowed
13+
"MD012": true, // Disallow multiple consecutive blank lines
14+
"MD013": false, // Do not enforce line length limits (disabled by choice)
15+
"MD014": false, // Dollar signs used before commands without showing output
16+
"MD015": false, // No spaces after list item marker (alternate form)
17+
"MD016": false, // Line beginning with whitespace
18+
"MD017": false, // Numbers in ordered lists should be sequential
19+
"MD018": true, // Headings must have a space after the # (e.g., "# Heading")
20+
"MD019": true, // Disallow multiple spaces after the # in headings
21+
"MD020": false, // No space inside hashes in headings (e.g., "#Heading#")
22+
"MD021": false, // No multiple spaces inside headings (alternative to MD019)
23+
"MD022": true, // Headings must be surrounded by blank lines above and below
24+
"MD023": true, // Headings must start at the beginning of the line (no leading spaces)
25+
"MD024": false, // Multiple headings with the same content are not allowed
26+
"MD025": true, // Disallow multiple top-level headings (only one "# Heading" per file)
27+
"MD026": true, // Disallow punctuation at the end of headings (e.g., "Heading?" or "Heading:")
28+
"MD027": false, // Multiple spaces between blockquote marker and content
29+
"MD028": true, // Disallow blank lines inside list items
30+
"MD029": false, // Ordered list item prefix should be one style (e.g., always "1.")
31+
"MD030": true, // Enforce consistent spacing after list markers (e.g., "- item", not "-item")
32+
"MD031": true, // Fenced code blocks must be surrounded by blank lines before and after
33+
"MD032": true, // Lists must be surrounded by blank lines above and below
34+
"MD033": false, // Allow inline HTML (useful for GitBook styling and custom formatting)
35+
"MD034": [
36+
true,
37+
{
38+
"ignorePatterns": [
39+
"{% embed url=\"https://.*?\" %}" // Ignore GitBook embed syntax for YouTube and others
40+
]
41+
}
42+
], // Disallow bare URLs, but skip your {% embed %} lines
43+
"MD035": false, // Horizontal rule style should be consistent (e.g., "---" vs "***")
44+
"MD036": false, // Emphasis style should be consistent (e.g., "*" vs "_")
45+
"MD037": true, // Disallow spaces inside emphasis markers (e.g., "* bold *" is invalid — use "*bold*")
46+
"MD038": false, // Spaces inside code span markers (e.g., "` code `")
47+
"MD039": false, // Spaces inside link text
48+
"MD040": false, // Fenced code block language should be specified
49+
"MD041": false, // First line in file should be a top-level heading
50+
"MD042": true, // Disallow empty links (e.g., "[](url)" or "[text]()")
51+
"MD043": false, // List items should be in a bulleted or numbered form consistently
52+
"MD044": false, // Proper names should have correct capitalization
53+
"MD045": true, // Require alt text for all images (accessibility best practice)
54+
"MD046": false, // Code block style should be consistent
55+
"MD047": false, // Files should end with a single newline character
56+
"MD048": false, // Code fences should use consistent style ("```" vs "~~~")
57+
"MD049": false, // Emphasis should not be used for headers
58+
"MD050": false, // Strong emphasis should not be used in headers
59+
"MD051": true // Link fragments must match actual headings in the document
60+
}

.vale.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
StylesPath = .vale/styles
2+
MinAlertLevel = suggestion
3+
4+
[*.md]
5+
BasedOnStyles = Google

0 commit comments

Comments
 (0)