Skip to content

Commit

Permalink
FIX: don't use warn
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Dec 12, 2023
1 parent 5b4e244 commit 8042fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_book/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ def yaml_to_sphinx(yaml: dict):
# TODO: Remove when docutils>=0.20 is pinned in jupyter-book
# https://github.com/mcmtroffaes/sphinxcontrib-bibtex/issues/322
if (0, 18) <= docutils.__version_info__ < (0, 20):
logger.warn(
logger.warning(
"[sphinxcontrib-bibtex] Beware that docutils versions 0.18 and 0.19 "
"(you are running {}) are known to generate invalid html for citations. "
"If this issue affects you, please use docutils<0.18 (or >=0.20 once released) "
Expand Down

0 comments on commit 8042fe2

Please sign in to comment.