|
4 | 4 |
|
5 | 5 | - **Node.js**: Version 22 or higher |
6 | 6 | - **npm**: Comes bundled with Node.js |
| 7 | +- **Vale** (optional): For documentation linting and quality checks |
7 | 8 |
|
8 | 9 | ## ⚙️ Configuration |
9 | 10 |
|
| 11 | +### Documentation Quality with Vale |
| 12 | + |
| 13 | +We use [Vale](https://vale.sh/) to maintain high-quality documentation |
| 14 | +standards. Vale checks your writing for clarity, consistency, and adherence to |
| 15 | +our style guidelines, helping us maintain a coherent tone of voice, accurate |
| 16 | +terminology, and overall editorial quality across the project. |
| 17 | + |
| 18 | +#### Installing Vale |
| 19 | + |
| 20 | +**macOS:** |
| 21 | + |
| 22 | +```bash |
| 23 | +brew install Vale/tap/vale |
| 24 | +``` |
| 25 | + |
| 26 | +**Linux (Snap):** |
| 27 | + |
| 28 | +```bash |
| 29 | +snap install vale |
| 30 | +``` |
| 31 | + |
| 32 | +**Windows:** |
| 33 | + |
| 34 | +```bash |
| 35 | +choco install vale |
| 36 | +``` |
| 37 | + |
| 38 | +#### Running Vale Locally |
| 39 | + |
| 40 | +```bash |
| 41 | +# Download and install external configuration sources |
| 42 | +vale sync |
| 43 | + |
| 44 | +# Check all documentation files |
| 45 | +vale src/ |
| 46 | + |
| 47 | +# Check specific files |
| 48 | +vale src/get-started/helloWorld/1-overview.md |
| 49 | + |
| 50 | +# Get detailed output |
| 51 | +vale --output=line src/ |
| 52 | + |
| 53 | +# Generate comprehensive report with statistics |
| 54 | +vale --output=line src/ > vale-report.txt 2>&1 |
| 55 | +``` |
| 56 | + |
| 57 | +#### Vale Rules |
| 58 | + |
| 59 | +Our Vale configuration uses the Google & Vale writing style guide, which helps |
| 60 | +ensure: |
| 61 | + |
| 62 | +- Clear and concise language |
| 63 | +- Consistent terminology |
| 64 | +- Professional tone |
| 65 | +- Accessibility best practices |
| 66 | + |
10 | 67 | ### Environment Variables (Optional) |
11 | 68 |
|
12 | 69 | Some features of the application require environment variables. This |
@@ -138,6 +195,8 @@ Fork this repository and ensure you're working on the `main` branch: |
138 | 195 | > you're satisfied with the preview |
139 | 196 | > - All pull requests are reviewed by our team before being merged |
140 | 197 | > - Feel free to ask questions in the pull request if you need clarification |
| 198 | +> - **Documentation Quality**: Vale will automatically check your documentation |
| 199 | +> for style and clarity |
141 | 200 |
|
142 | 201 | ### Some conventions |
143 | 202 |
|
@@ -191,5 +250,4 @@ for input parameters: |
191 | 250 | - Give recap of Workerpool address fo chains |
192 | 251 | - Talk about ENS on Bellecour(it's not supported on arbitrum) |
193 | 252 | - Rework Advanced iApp building guides. (from "old" protocol doc) |
194 | | -- Rework src\get-started\protocol\iexec-doracle.md (transfer to guide or |
195 | | - rewrite) |
| 253 | +- Rework src\get-started\protocol\oracle.md (transfer to guide or rewrite) |
0 commit comments