diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 00000000..e220558c --- /dev/null +++ b/.codespellrc @@ -0,0 +1,3 @@ +[codespell] +skip = .git,*.pdf,*.svg,*.bib +ignore-words-list = reson,nd,te,ue,lod,hart,ans,lastr,numer,lamda,flagg,pris \ No newline at end of file diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..11eb3457 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +# Set update schedule for GitHub Actions + +version: 2 +updates: + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + # Check for updates to GitHub Actions every week + interval: "weekly" \ No newline at end of file diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 00000000..cb11db39 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,19 @@ +--- + name: Codespell + + on: + push: + branches: [master] + pull_request: + branches: [master] + + jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Codespell + uses: codespell-project/actions-codespell@v2 \ No newline at end of file diff --git a/Makefile b/Makefile index 727a445a..9fd077b3 100644 --- a/Makefile +++ b/Makefile @@ -92,3 +92,6 @@ doctest: $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) _build/doctest @echo "Testing of doctests in the sources finished, look at the " \ "results in _build/doctest/output.txt." + +codespell: + codespell -d -q 3 --skip=".git, *.po,*.ts,_build" diff --git a/_templates/components/carousel.html b/_templates/components/carousel.html index 4778fe7f..c62696c9 100644 --- a/_templates/components/carousel.html +++ b/_templates/components/carousel.html @@ -13,7 +13,7 @@