diff --git a/docs/conf.py b/docs/conf.py index 8c914b368e..8319a5ffa0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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')