Skip to content

Commit

Permalink
debug! word factory
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Apr 5, 2024
1 parent 02d4a85 commit 89e4a69
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,12 @@ def _skip(self, word):
print(f'{word in {app.config.release, app.config.version}=}')
return word in {app.config.release, app.config.version}

app.config.spelling_filters = [VersionFilter]
from sphinxcontrib.spelling.filters import IgnoreWordsFilterFactory

app.config.spelling_filters = [
VersionFilter,
IgnoreWordsFilterFactory({app.config.release, app.config.version}),
]
app.setup_extension('sphinxcontrib.spelling')


Expand Down

0 comments on commit 89e4a69

Please sign in to comment.