You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/docs/README.md
+108-6Lines changed: 108 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,24 @@
2
2
3
3
This directory contains GitHub Actions, configurations, and workflows for Coder's unified documentation validation system.
4
4
5
+
## Developer Quick Start Guide
6
+
7
+
```bash
8
+
# Check only changed documentation files (default behavior)
9
+
make lint/docs
10
+
11
+
# Check ALL documentation files
12
+
make lint/docs --all
13
+
14
+
# Format markdown tables and fix common issues
15
+
make fmt/markdown
16
+
17
+
# Run Vale style check (optional, requires Vale installation)
18
+
make lint/docs-style
19
+
```
20
+
21
+
The validation system will automatically detect and check only files that have changed in your working directory. This ensures fast feedback during development.
22
+
5
23
## Directory Structure
6
24
7
25
-`actions/docs-core`: Primary composite action with the phase-based architecture
@@ -120,15 +138,71 @@ The system provides four specialized entry points for different validation scena
120
138
121
139
All entry points use the central `docs-unified.yaml` workflow with different preset configurations:
| `Coder.RepeatedWords` | Catches repeated words like "the the" | error |
241
+
| `Coder.SentenceLength` | Warns about overly long sentences | suggestion |
242
+
| `GitLab.*` | Various rules from GitLab style guide | varies |
243
+
244
+
To suppress a Vale rule for a specific line:
245
+
246
+
```markdown
247
+
<!-- vale Coder.SentenceLength = NO -->
248
+
This is a very long sentence that would normally trigger the sentence length rule but has been explicitly exempted for a good reason such as a technical requirement or quotation.
0 commit comments