diff --git a/docs/source/history.rst b/docs/source/history.rst index cac0b17..4d8e3cf 100644 --- a/docs/source/history.rst +++ b/docs/source/history.rst @@ -9,6 +9,15 @@ macOS unmaintained +Next +==== + +Bug Fixes +--------- + +- `#193 `__ + Remove excessive debug printing in `:spelling:word:` implementation. + 7.6.1 ===== diff --git a/sphinxcontrib/spelling/directive.py b/sphinxcontrib/spelling/directive.py index f74b35a..142f090 100644 --- a/sphinxcontrib/spelling/directive.py +++ b/sphinxcontrib/spelling/directive.py @@ -16,9 +16,8 @@ def add_good_words_to_document(env, docname, good_words): # Initialize the per-document good words list if not hasattr(env, 'spelling_document_words'): env.spelling_document_words = collections.defaultdict(list) - logger.info('Extending local dictionary for %s with %s', - env.docname, good_words) - print(env.docname, good_words) + logger.debug('Extending local dictionary for %s with %s', + env.docname, good_words) env.spelling_document_words[env.docname].extend(good_words)