Skip to content

Commit 4625d69

Browse files
committed
clean print statements
1 parent 5b75526 commit 4625d69

File tree

1 file changed

+0
-8
lines changed
  • mkdocs_git_revision_date_localized_plugin

1 file changed

+0
-8
lines changed

mkdocs_git_revision_date_localized_plugin/plugin.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,10 @@ def on_page_markdown(self, markdown, page, config, files):
6464
print('WARNING - macros plugin must be placed AFTER the git-revision-date-localized plugin. Skipping markdown modifications')
6565
return markdown
6666
else:
67-
#print("TEST TEST")
68-
# print()
69-
# print(f"revision_date: {revision_date}")
70-
# revision_date = "2019-21-12"
71-
# markdown = "text with {{ git_revision_date_localized }} here"
72-
7367
markdown = re.sub(r"\{\{(\s)*git_revision_date_localized(\s)*\}\}",
7468
revision_date,
7569
markdown,
7670
flags=re.IGNORECASE)
77-
78-
# print(markdown)
7971

8072
markdown = re.sub(r"\{\{\s*page\.meta\.git_revision_date_localized\s*\}\}",
8173
revision_date,

0 commit comments

Comments
 (0)