Skip to content

Commit

Permalink
Added spelling option to make.bat.
Browse files Browse the repository at this point in the history
  • Loading branch information
swright573 authored Apr 30, 2021
1 parent 1f643c2 commit 7582d91
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ if "%1" == "help" (
echo. changes to make an overview over all changed/added/deprecated items
echo. linkcheck to check all external links for integrity
echo. doctest to run all doctests embedded in the documentation if enabled
echo. spelling to check for typos in documentation
goto end
)

Expand Down Expand Up @@ -186,4 +187,13 @@ results in %BUILDDIR%/doctest/output.txt.
goto end
)

if "%1" == "spelling" (
%SPHINXBUILD% -b spelling %ALLSPHINXOPTS% %BUILDDIR%/spelling
if errorlevel 1 exit /b 1
echo.
echo.Check finished. Wrong words can be found in %BUILDDIR%/^
spelling/output.txt.
goto end
)

:end

0 comments on commit 7582d91

Please sign in to comment.