Przeglądaj źródła

Added spellcheck config

Björn Ritzl 6 miesięcy temu
rodzic
commit
88cdf621e2
2 zmienionych plików z 17 dodań i 0 usunięć
  1. 1 0
      .github/workflows/trigger-site-rebuild.yml
  2. 16 0
      .spellcheck.yml

+ 1 - 0
.github/workflows/trigger-site-rebuild.yml

@@ -11,6 +11,7 @@ jobs:
 
   dispatch:
     runs-on: ubuntu-latest
+    needs: spellcheck
     steps:
     - uses: defold/[email protected]
       with:

+ 16 - 0
.spellcheck.yml

@@ -0,0 +1,16 @@
+matrix:
+- name: Markdown
+  aspell:
+    lang: en
+  dictionary:
+    encoding: utf-8
+  pipeline:
+  - pyspelling.filters.markdown:
+  - pyspelling.filters.html:
+      comments: false
+      ignores:
+      - code
+      - pre
+  sources:
+  - '**/*.md'
+  default_encoding: utf-8