Skip to content

Commit

Permalink
Avoid replacing dots for underscores in the documentation url.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsondatadev committed Jan 10, 2024
1 parent b1965a2 commit 6cef243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkdocs_monorepo_plugin/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def getDocsDir(self):

def getAlias(self):
alias = self.navYaml["site_name"]
regex = '^[a-zA-Z0-9_\-/]+$' # noqa: W605
regex = '^[a-zA-Z0-9_\.\-/]+$' # noqa: W605

if re.match(regex, alias) is None:
alias = slugify(self.navYaml["site_name"])
Expand Down

0 comments on commit 6cef243

Please sign in to comment.