Skip to content

Commit 99733be

Browse files
author
Laurent Franceschetti
committed
Demote info messages as debug (#248)
1 parent 6a9a0e4 commit 99733be

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

mkdocs_macros/plugin.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -712,9 +712,9 @@ def on_config(self, config):
712712
From the configuration file, builds a Jinj2 environment
713713
with variables, functions and filters.
714714
"""
715-
trace("Configuring the macros environment...")
715+
debug("Configuring the macros environment...")
716716
# WARNING: this is not the config argument:
717-
trace("Macros arguments\n", self.config)
717+
debug("Macros arguments\n", self.config)
718718
# define the variables and macros as dictionaries
719719
# (for update function to work):
720720
self._variables = SuperDict()
@@ -835,7 +835,7 @@ def on_config(self, config):
835835
# update environment with the custom filters:
836836
self.env.filters.update(self.filters)
837837

838-
trace("End of environment config")
838+
debug("End of environment config")
839839

840840
def on_pre_build(self, *, config):
841841
"""
@@ -907,7 +907,7 @@ def on_page_markdown(self, markdown, page:Page,
907907
if not self.variables:
908908
self.markdown = markdown
909909
else:
910-
trace("Rendering source page:", page.file.src_path)
910+
debug("Rendering source page:", page.file.src_path)
911911
# Update the page info in the document
912912
# page is an object with a number of properties (title, url, ...)
913913
# see: https://github.com/mkdocs/mkdocs/blob/master/mkdocs/structure/pages.py

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# Initialization
1313
# --------------------
1414

15-
VERSION_NUMBER = '1.3.5'
15+
VERSION_NUMBER = '1.3.6'
1616

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

0 commit comments

Comments
 (0)