Skip to content

Commit

Permalink
Change spellchecking.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyMatveev686 committed Oct 25, 2023
1 parent 25fc66e commit a2b41cd
Show file tree
Hide file tree
Showing 13 changed files with 42 additions and 3,726 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/spell_a.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/spell_h.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: spellcheck hunspell
on: push

jobs:
spelling:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.7
uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
python -m pip install pyspelling
- name: Install Hunspell
run: |
sudo apt-get install hunspell hunspell-en-us
- name: Build documents
run: |
# Perform any documentation building that might be required
- name: Spell check
run: |
python -m pyspelling -s hunspell -c spellcheck/spellcheck.yml
13 changes: 0 additions & 13 deletions .github/workflows/spelling_action.yml

This file was deleted.

15 changes: 0 additions & 15 deletions spellcheck/.markdownlint.json

This file was deleted.

14 changes: 0 additions & 14 deletions spellcheck/md_check/markdownlint.yml

This file was deleted.

14 changes: 0 additions & 14 deletions spellcheck/sp2/spellcheck_2.yml

This file was deleted.

21 changes: 0 additions & 21 deletions spellcheck/spellAspell.yml

This file was deleted.

18 changes: 0 additions & 18 deletions spellcheck/spellHunspell.yml

This file was deleted.

35 changes: 16 additions & 19 deletions spellcheck/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
matrix:
- name: Markdown
sources:
- '**/**/*.md'
default_encoding: utf-8
aspell:
lang: en
d: en_US
dictionary:
wordlists:
- spellcheck/wordlist.txt # <-- put path to custom dictionary file here
encoding: utf-8
pipeline:
- pyspelling.filters.markdown:
markdown_extensions:
- pymdownx.superfences
- pyspelling.filters.html:
comments: false
ignores:
- code
- pre
hunspell:
d: en_US
ignore-case: true
dictionary:
wordlists:
- spellcheck/wordlist.txt
encoding: utf-8
pipeline:
- pyspelling.filters.html:
comments: false
ignores:
- code
- pre
sources:
- '**/**/*.md'
default_encoding: utf-8
8 changes: 1 addition & 7 deletions spellcheck/wordlist.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ONLYOFFICE
breakpoint
DocumentBuilder
docbuilder
AddElement
Expand Down Expand Up @@ -1771,9 +1770,4 @@ bComb
bAutoFit
bMultiline
UniColor
todo
grey
renderer
paddings
bottommost
outmost
todo
Loading

0 comments on commit a2b41cd

Please sign in to comment.