Skip to content

Commit

Permalink
fix: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
geekdada committed May 3, 2024
1 parent b83b9da commit 1ebb73e
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 567 deletions.
10 changes: 5 additions & 5 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineUserConfig, type HeadConfig, type PluginConfig, type UserConfig }
import { path } from '@vuepress/utils'
import { docsearchPlugin } from '@vuepress/plugin-docsearch'
import { registerComponentsPlugin } from '@vuepress/plugin-register-components'
import { sitemapPlugin } from 'vuepress-plugin-sitemap2'
import { sitemapPlugin } from '@vuepress/plugin-sitemap'
import { umamiAnalyticsPlugin } from 'vuepress-plugin-umami-analytics'
import { viteBundler } from '@vuepress/bundler-vite'

Expand Down Expand Up @@ -61,10 +61,10 @@ if (process.env.NODE_ENV === 'production') {
sitemapPlugin({
hostname: 'https://surgio.js.org',
}),
// umamiAnalyticsPlugin({
// id: '444a5a25-af75-4c30-b7a4-6aaba520daf6',
// src: 'https://sashimi.royli.dev/sashimi.js',
// }) as any,
umamiAnalyticsPlugin({
id: '444a5a25-af75-4c30-b7a4-6aaba520daf6',
src: 'https://sashimi.royli.dev/sashimi.js',
}),
)
}

Expand Down
15 changes: 13 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,15 @@
"@types/urlsafe-base64": "^1.0.31",
"@typescript-eslint/eslint-plugin": "^7",
"@typescript-eslint/parser": "^7",
"@vuepress/bundler-vite": "2.0.0-rc.7",
"@vuepress/bundler-vite": "2.0.0-rc.9",
"@vuepress/client": "2.0.0-rc.9",
"@vuepress/core": "2.0.0-rc.9",
"@vuepress/markdown": "2.0.0-rc.9",
"@vuepress/plugin-docsearch": "2.0.0-rc.26",
"@vuepress/plugin-google-analytics": "2.0.0-rc.21",
"@vuepress/plugin-register-components": "2.0.0-rc.21",
"@vuepress/plugin-sitemap": "2.0.0-rc.26",
"@vuepress/shared": "2.0.0-rc.9",
"@vuepress/theme-default": "2.0.0-rc.26",
"@vuepress/utils": "2.0.0-rc.9",
"ava": "^5.3.1",
Expand All @@ -173,14 +177,21 @@
"nyc": "^15.1.0",
"prettier": "^2.8.8",
"sass": "^1.71.1",
"search-insights": ">=1.0.0 <3.0.0-0",
"sinon": "^15.2.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"vue": "^3.4.21",
"vuepress": "2.0.0-rc.9",
"vuepress-plugin-sitemap2": "2.0.0-rc.16",
"vuepress-plugin-umami-analytics": "^1.8.1"
},
"resolutions": {
"@vuepress/client": "2.0.0-rc.9",
"@vuepress/core": "2.0.0-rc.9",
"@vuepress/markdown": "2.0.0-rc.9",
"@vuepress/utils": "2.0.0-rc.9",
"vuepress": "2.0.0-rc.9"
},
"ava": {
"failFast": false,
"timeout": "30s",
Expand Down
Loading

0 comments on commit 1ebb73e

Please sign in to comment.