-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DeprecationWarning in mkdocs 1.5.0 for use of mkdocs.utils.warning_filter #89
Comments
On a second thought, Since
|
In
mkdocs-gallery
,mkdocs.utils.warning_filter
is used here:mkdocs-gallery/src/mkdocs_gallery/mkdocs_compatibility.py
Line 12 in cc5c4ad
At least on mkdocs 1.5. on my computer, calling
mkdocs serve
will produce a deprecation warning like:I think we could create a utility function to check the
mkdocs
version, and if it is greater than 1.2, skip thewarnings_filter
import.If this sounds OK I can open up a PR to fix the issue.
EDIT:
I forgot to mention, here are my versions for the relevant packages:
The text was updated successfully, but these errors were encountered: