Skip to content

Commit

Permalink
fixed paths in wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
lxgr-linux committed Nov 13, 2021
1 parent 1efea55 commit 356f6b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen_wiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def overview(multi_page: bool = False) -> str:
An overview for a multi-page wiki.
"""
return "Table of contents\n" + \
"\n".join(f"{i+1}. [{name.capitalize()}]({'#' if multi_page else ''}{name})"
"\n".join(f"{i+1}. [{name.capitalize()}]({'' if multi_page else '#'}{name})"
for i, name in enumerate(["poketes", "attacks", "types", "item",
"effects"])) + "\n"

Expand Down

0 comments on commit 356f6b8

Please sign in to comment.