Skip to content

Commit

Permalink
fix!: issue with typedoc generation vuepress build
Browse files Browse the repository at this point in the history
  • Loading branch information
zikeji committed Jan 8, 2021
1 parent bb7fe85 commit 17e37c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/.vuepress/plugins/typedoc.js
Expand Up @@ -87,7 +87,7 @@ module.exports = function(_, { sourceDir }) {
title: navItem.title,
children: navItem.children.map((innerNavItem) => {
return [
innerNavItem.url.replace(".md", ""),
innerNavItem.url.endsWith("index.md") ? `${innerNavItem.url.split("/").slice(0, -1).join("/")}/` : innerNavItem.url.replace(".md", ""),
innerNavItem.title.split(".").slice(-1).join()
];
}),
Expand Down

0 comments on commit 17e37c3

Please sign in to comment.