Skip to content

Commit

Permalink
remove deprecated mkdocs warnings filter
Browse files Browse the repository at this point in the history
  • Loading branch information
timvink authored Jan 23, 2024
1 parent e8baabc commit 8fde335
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mkdocs_print_site_plugin/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@
from mkdocs.config import config_options
from mkdocs.structure.files import File
from mkdocs.structure.pages import Page
from mkdocs.utils import write_file, copy_file, get_relative_url, warning_filter
from mkdocs.utils import write_file, copy_file, get_relative_url
from mkdocs.exceptions import PluginError

from mkdocs_print_site_plugin.renderer import Renderer
from mkdocs_print_site_plugin.utils import flatten_nav, get_theme_name
from mkdocs_print_site_plugin.urls import is_external

logger = logging.getLogger("mkdocs.plugins")
logger.addFilter(warning_filter)

HERE = os.path.dirname(os.path.abspath(__file__))

Expand Down

0 comments on commit 8fde335

Please sign in to comment.