Skip to content

Commit 7dd9782

Browse files
CBID2dartpain
andauthored
feat: Installing vale(redo) (#2104)
* docs: setup Vale Signed-off-by: Christine Belzie <[email protected]> * adding more content * chore: add Vale configuration and custom dictionary * chore: clean up spelling configuration and remove unused vocabularies * fix: correct file path format for Vale linter configuration --------- Signed-off-by: Christine Belzie <[email protected]> Co-authored-by: Alex <[email protected]>
1 parent 695191d commit 7dd9782

File tree

4 files changed

+88
-0
lines changed

4 files changed

+88
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
extends: spelling
2+
level: warning
3+
message: "Did you really mean '%s'?"
4+
ignore:
5+
- "**/node_modules/**"
6+
- "**/dist/**"
7+
- "**/build/**"
8+
- "**/coverage/**"
9+
- "**/public/**"
10+
- "**/static/**"
11+
vocab: DocsGPT
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
Ollama
2+
Qdrant
3+
Milvus
4+
Chatwoot
5+
Nextra
6+
VSCode
7+
npm
8+
LLMs
9+
APIs
10+
Groq
11+
SGLang
12+
LMDeploy
13+
OAuth
14+
Vite
15+
LLM
16+
JSONPath
17+
UIs
18+
configs
19+
uncomment
20+
qdrant
21+
vectorstore
22+
docsgpt
23+
llm
24+
GPUs
25+
kubectl
26+
Lightsail
27+
enqueues
28+
chatbot
29+
VSCode's
30+
Shareability
31+
feedbacks
32+
automations
33+
Premade
34+
Signup
35+
Repo
36+
repo
37+
env
38+
URl
39+
agentic
40+
llama_cpp
41+
parsable
42+
SDKs
43+
boolean
44+
bool
45+
hardcode
46+
EOL

.github/workflows/vale.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Vale Documentation Linter
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'docs/**/*.md'
7+
- 'docs/**/*.mdx'
8+
- '**/*.md'
9+
- '.vale.ini'
10+
- '.github/styles/**'
11+
12+
jobs:
13+
vale:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
19+
- name: Vale linter
20+
uses: errata-ai/vale-action@v2
21+
with:
22+
files: docs
23+
fail_on_error: false
24+
version: 3.0.5
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.vale.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
MinAlertLevel = warning
2+
StylesPath = .github/styles
3+
4+
[*.{md,mdx}]
5+
BasedOnStyles = DocsGPT

0 commit comments

Comments
 (0)