-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #156 from getindata/docs-update
Docs update and spellchecking
- Loading branch information
Showing
21 changed files
with
494 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# This is workflow for spell checking using PySpelling lib (https://pypi.org/project/pyspelling/) | ||
name: Spellcheck | ||
# Controls when the action will run. | ||
on: | ||
# Triggers the workflow on pull request events only if docs files have changed | ||
pull_request: | ||
paths: "docs/**" | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
spellcheck: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Spellcheck | ||
- uses: actions/checkout@v2 | ||
- uses: rojopolis/spellcheck-github-actions@0.25.0 | ||
name: Spellcheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -123,6 +123,9 @@ venv.bak/ | |
# mypy | ||
.mypy_cache/ | ||
|
||
# pyspelling | ||
dictionary.dic | ||
|
||
docs/_build | ||
|
||
spaceflights/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
repos: | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.5.4 | ||
rev: 5.10.1 | ||
hooks: | ||
- id: isort | ||
args: ["--profile", "black", "--line-length=79"] | ||
- repo: https://github.com/psf/black | ||
rev: stable | ||
rev: 22.6.0 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v2.3.0 | ||
hooks: | ||
- id: flake8 | ||
args: ['--ignore=E203,W503'] # see https://github.com/psf/black/issues/315 https://github.com/psf/black/issues/52 | ||
- repo: https://github.com/getindata/py-pre-commit-hooks | ||
rev: v0.1.3 | ||
hooks: | ||
- id: pyspelling-docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
spellchecker: aspell | ||
matrix: | ||
- name: Check the english docs | ||
aspell: | ||
ignore-case: "" | ||
lang: en | ||
sources: | ||
- "docs/**/*.md" | ||
- "CONTRIBUTING.md" | ||
- "README.md" | ||
default_encoding: utf-8 | ||
pipeline: | ||
- pyspelling.filters.context: | ||
context_visible_first: true | ||
escapes: \\[\\`~] | ||
delimiters: | ||
# Ignore multiline content between fences (fences can have 3 or more back ticks) | ||
# ``` | ||
# content | ||
# ``` | ||
- open: '^(?s)(?P<open>`{1,3})[^`]' | ||
close: '(?P=open)' | ||
# Ignore text between inline back ticks | ||
- open: '(?P<open>`)[^`]' | ||
close: '(?P=open)' | ||
# Ignore text in brackets [] and () | ||
- open: '\[' | ||
close: '\]' | ||
- open: '\(' | ||
close: '\)' | ||
- open: '\{' | ||
close: '\}' | ||
dictionary: | ||
wordlists: | ||
- docs/spellcheck_exceptions.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
sphinx | ||
sphinx~=5.0.2 | ||
sphinx_rtd_theme | ||
recommonmark | ||
myst-parser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.