Skip to content

DeprecationWarning Related to warning_filter in the mkdocs-monorepo-plugin #132

@miquelis

Description

@miquelis

Hello, development team,

I am using the mkdocs-monorepo-plugin in my project, and I recently encountered a deprecation warning that I would like to report. When running the build, the following warning is displayed:

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 "/home/miquelis/.local/share/virtualenvs/infra-docs-hDAreFVa/lib/python3.11/site-packages/mkdocs_monorepo_plugin/parser.py", line 22, in <module>
               from mkdocs.utils import yaml_load, warning_filter, dirname_to_title, get_markdown_title
             File "/home/miquelis/.local/share/virtualenvs/infra-docs-hDAreFVa/lib/python3.11/site-packages/mkdocs/utils/__init__.py", line 403, in __getattr__
               warnings.warn

It seems that the warning_filter function has been deprecated since MkDocs 1.2 and will be removed in future versions. To ensure future compatibility of the plugin and avoid potential issues, I suggest that this function be removed or replaced with a compatible alternative.

I appreciate the great work on this plugin, and I am available for any further assistance or testing that might be needed.

Thank you for your attention!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions