Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: CI Build
on:
push:
paths-ignore:
- 'documentation/**'
branches: [ master ]
jobs:
build:
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: spellcheck
on:
push:
paths:
- '**.asciidoc'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also add adoc?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adoc added.

- '**.md'
- '**.adoc'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: spellcheck checkout
uses: actions/checkout@v2
- name: download dictionary
run: |
wget https://raw.githubusercontent.com/devonfw/.github/master/en-devonfw.dict -O ./en-devonfw.dict
- uses: igsekor/pyspelling-any@v0.0.2
name: Spellcheck
4 changes: 4 additions & 0 deletions .github/workflows/sync-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ on:
# Triggers the workflow on push or pull request events but only for the develop branch
push:
branches: [ master ]
paths:
- '**.asciidoc'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also add adoc?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adoc added.

- '**.md'
- '**.adoc'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
24 changes: 24 additions & 0 deletions .spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
matrix:
- name: asciidoc source py spell check configuration
aspell:
lang: en
d: en_US
sources:
- documentation/*.asciidoc
dictionary:
wordlists:
- en-devonfw.dict
output: en-devonfw.dic
pipeline:
- pyspelling.filters.url:
- pyspelling.filters.context:
context_visible_first: true
escapes: \\[\\-~]
delimiters:
# Ignore multiline content between fences (fences can have 4 or more hyphens)
# ----
# content
# ----
- open: '(?s)^(?P<open> *-{4,})$'
close: '^(?P=open)$'