Mara-Li / mkdocs-ezlinked-plugin

Plugin for mkdocs which enables easier linking between pages
MIT License
7 stars 4 forks source link

`DeprecationWarning` from `warning_filter` #1

Closed sosiristseng closed 11 months ago

sosiristseng commented 12 months ago

Hello, there is a DeprecationWarning from warning_filter:

https://github.com/Lisandra-dev/mkdocs-ezlinked-plugin/blob/bc3c07c17791f9b72b1c1eac0664abbb779b2393/mkdocs_ezlinks_plugin/plugin.py#L5

INFO    -  DeprecationWarning: warning_filter doesn't do anything since MkDocs 1.2 and will be removed soon. All messages on the `mkdocs` logger get counted automatically.
  File "/opt/hostedtoolcache/Python/3.11.5/x64/lib/python3.11/site-packages/mkdocs_ezlinks_plugin/plugin.py", line 5, in <module>
    from mkdocs.utils import warning_filter
  File "/opt/hostedtoolcache/Python/3.11.5/x64/lib/python3.11/site-packages/mkdocs/utils/__init__.py", line 453, in __getattr__
    warnings.warn(

Related issue: https://github.com/fralau/mkdocs_macros_plugin/issues/173

Environment

mkdocs==1.5.3
mkdocs-material==9.4.5
mkdocs-git-revision-date-localized-plugin==1.2.0
mkdocs-ezlinked-plugin==0.3.3
mkdocs-callouts==1.9.1