Skip to content

Commit

Permalink
Add a 'make spelling' target to doc/
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Aug 15, 2024
1 parent d4ab8af commit b2eba98
Show file tree
Hide file tree
Showing 4 changed files with 3,679 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ man: generated_rst_files
latexpdf: generated_rst_files
$(SPHINXBUILD) -M latexpdf "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

spelling: generated_rst_files
@$(SPHINXBUILD) -b spelling "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

clean:
rm -rf "$(BUILDDIR)/xml"
rm -rf "$(BUILDDIR)/doxygen_html"
Expand Down
8 changes: 8 additions & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
"source_file",
"sphinx.ext.napoleon",
"sphinxcontrib.jquery",
"sphinxcontrib.spelling",
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -533,3 +534,10 @@
# -- Redirects --------------------------------------------------

enable_redirects = False

# -- Spelling --------------------------------------------------

# Avoid running git
spelling_ignore_contributor_names = False

spelling_word_list_filename = ["spelling_wordlist.txt"]
Loading

0 comments on commit b2eba98

Please sign in to comment.