Skip to content

Commit

Permalink
Demote info messages as debug (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent Franceschetti committed Oct 16, 2024
1 parent 6a9a0e4 commit 99733be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions mkdocs_macros/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,9 +712,9 @@ def on_config(self, config):
From the configuration file, builds a Jinj2 environment
with variables, functions and filters.
"""
trace("Configuring the macros environment...")
debug("Configuring the macros environment...")
# WARNING: this is not the config argument:
trace("Macros arguments\n", self.config)
debug("Macros arguments\n", self.config)
# define the variables and macros as dictionaries
# (for update function to work):
self._variables = SuperDict()
Expand Down Expand Up @@ -835,7 +835,7 @@ def on_config(self, config):
# update environment with the custom filters:
self.env.filters.update(self.filters)

trace("End of environment config")
debug("End of environment config")

def on_pre_build(self, *, config):
"""
Expand Down Expand Up @@ -907,7 +907,7 @@ def on_page_markdown(self, markdown, page:Page,
if not self.variables:
self.markdown = markdown
else:
trace("Rendering source page:", page.file.src_path)
debug("Rendering source page:", page.file.src_path)
# Update the page info in the document
# page is an object with a number of properties (title, url, ...)
# see: https://github.com/mkdocs/mkdocs/blob/master/mkdocs/structure/pages.py
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# Initialization
# --------------------

VERSION_NUMBER = '1.3.5'
VERSION_NUMBER = '1.3.6'

# required if you want to run document/test
# pip install 'mkdocs-macros-plugin[test]'
Expand Down

0 comments on commit 99733be

Please sign in to comment.