Skip to content
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 Related to warning_filter in the mkdocs-monorepo-plugin #132

Open
miquelis opened this issue Aug 20, 2024 · 0 comments
Open

Comments

@miquelis
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant