Skip to content

Commit

Permalink
Simpler month_line
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbunnyru committed Nov 5, 2023
1 parent 8521680 commit 5f31a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tagging/update_wiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def update_home_wiki_page(wiki_dir: Path, month: str) -> None:
"""
wiki_home_file = wiki_dir / "Home.md"
wiki_home_content = wiki_home_file.read_text()
month_line = f"| `{month}` | [`link`](./{month}) |\n"
month_line = f"| [`{month}`](./{month}) |\n"
if month_line not in wiki_home_content:
wiki_home_content = wiki_home_content.replace(
TABLE_BEGINNING, TABLE_BEGINNING + month_line
Expand Down

0 comments on commit 5f31a1f

Please sign in to comment.