docs: tweak docs
All checks were successful
Build and Release / Build (darwin-arm64) (push) Successful in 18s
Build and Release / Build (darwin-amd64) (push) Successful in 22s
Build and Release / Build (linux-arm64) (push) Successful in 16s
Build and Release / Build (linux-amd64) (push) Successful in 18s
Build and Release / Build (windows-arm64) (push) Successful in 15s
Build and Release / Build (windows-amd64) (push) Successful in 21s
Build and Release / Create Release (push) Has been skipped
Deploy docs / deploy (push) Successful in 47s
All checks were successful
Build and Release / Build (darwin-arm64) (push) Successful in 18s
Build and Release / Build (darwin-amd64) (push) Successful in 22s
Build and Release / Build (linux-arm64) (push) Successful in 16s
Build and Release / Build (linux-amd64) (push) Successful in 18s
Build and Release / Build (windows-arm64) (push) Successful in 15s
Build and Release / Build (windows-amd64) (push) Successful in 21s
Build and Release / Create Release (push) Has been skipped
Deploy docs / deploy (push) Successful in 47s
enable cleanUrls and analytics
This commit is contained in:
parent
deae4a6272
commit
a6284897c8
1 changed files with 11 additions and 0 deletions
|
@ -16,6 +16,17 @@ export default defineConfig({
|
||||||
themeConfig: zhHansThemeConfig
|
themeConfig: zhHansThemeConfig
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
cleanUrls: true,
|
||||||
|
head: [
|
||||||
|
[
|
||||||
|
'script',
|
||||||
|
{
|
||||||
|
defer: '',
|
||||||
|
src: 'https://analytics.owu.one/script.js',
|
||||||
|
'data-website-id': '2ed09e92-68ce-422b-a949-0feb210c9d31'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
],
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
// https://vitepress.dev/reference/default-theme-config
|
// https://vitepress.dev/reference/default-theme-config
|
||||||
nav: [
|
nav: [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue