Skip to content

Commit

Permalink
chore: release minor version
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienbrignon committed Dec 3, 2023
1 parent 1ba6103 commit 33db06a
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 11 deletions.
10 changes: 7 additions & 3 deletions mkdocs_exporter/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,12 @@ def on_post_build(self, **kwargs) -> None:


class PluginDeprecated(Plugin):
"""Deprecated plugin, will be removed in the next major release."""


def on_config(self, config: dict) -> None:
logger.warning(
"The plugin name 'mkdocs/exporter/extras' will stop working soon, please replace it with 'exporter-extras'"
)
"""Invoked when the configuration has been loaded."""

logger.warning("The plugin name 'mkdocs/exporter' will stop working soon, please replace it with 'exporter'")

super().on_config(config)
11 changes: 8 additions & 3 deletions mkdocs_exporter/plugins/extras/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ def resolve(object):


class PluginDeprecated(Plugin):
"""Deprecated plugin, will be removed in the next major release."""


def on_config(self, config: dict) -> None:
logger.warning(
"The plugin name 'mkdocs/exporter' will stop working soon, please replace it with 'exporter'"
)
"""Invoked when the configuration has been loaded."""

logger.warning("The plugin name 'mkdocs/exporter/extras' will stop working soon, please replace it with 'exporter-extras'")

super().on_config(config)
11 changes: 7 additions & 4 deletions mkdocs_exporter/plugins/pdf/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,13 @@ def _enabled(self, page: Page = None) -> bool:
return True



class PluginDeprecated(Plugin):
"""Deprecated plugin, will be removed in the next major release."""


def on_config(self, config: dict) -> None:
logger.warning(
"The plugin name 'mkdocs/exporter/pdf' will stop working soon, please replace it with 'exporter-pdf'"
)
"""Invoked when the configuration has been loaded."""

logger.warning("The plugin name 'mkdocs/exporter/pdf' will stop working soon, please replace it with 'exporter-pdf'")

super().on_config(config)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "mkdocs-exporter"
version = "5.1.0"
version = "5.2.0"
repository = "https://github.com/adrienbrignon/mkdocs-exporter"
keywords = ["mkdocs", "pdf", "exporter"]
description = "A highly-configurable plugin for MkDocs that exports your pages to PDF files."
Expand Down

0 comments on commit 33db06a

Please sign in to comment.