Skip to content

Commit

Permalink
docs: upgrade vitepress and enable sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
Priestch committed Mar 19, 2024
1 parent d7802c5 commit c6e5d0f
Show file tree
Hide file tree
Showing 3 changed files with 680 additions and 238 deletions.
3 changes: 3 additions & 0 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ const config = {
markdown: {
lineNumbers: false,
},
sitemap: {
hostname: "https://priestch.github.io/document-viewer/docs/",
},
head: [["script", {}, scriptContent]],
themeConfig: {
search: {
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"preview": "vitepress build && vitepress preview"
},
"devDependencies": {
"vitepress": "1.0.0-rc.24",
"vitepress": "1.0.0-rc.45",
"vue": "^3.2.47"
}
}
Loading

0 comments on commit c6e5d0f

Please sign in to comment.