Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev committed Jun 26, 2024
1 parent db80314 commit 5b6f3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/.vitepress/getFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const getFiles = (directory, version) => {
.filter(path => path !== 'index.md')
.filter(path => path !== 'common')
.filter(path => !path.includes('_common.md'))
.map((path) => ({text: humanize(path.replace('.md', '.html')), link: `/${version}/${directory}/${path}`}))
.map((path) => ({text: humanize(path.replace('.md', '')), link: `/${version}/${directory}/${path}.html`}))
}

export {getFiles}

0 comments on commit 5b6f3a7

Please sign in to comment.