Skip to content

Commit

Permalink
update: vercel insight
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoffreyChen777 committed May 28, 2024
1 parent 4145afc commit 67d3d32
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
17 changes: 9 additions & 8 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default defineConfig({
],
["link", { rel: "icon", href: "/favicon.ico", crossorigin: "" }],
["script", { defer: "", src: "/_vercel/insights/script.js" }],
["script", { defer: "", src: "/_vercel_insights_script.js" }],
],

locales: {
Expand Down Expand Up @@ -506,41 +507,41 @@ export default defineConfig({
collapsed: false,
items: [
{ text: "Download", link: "/en/download" },
{ text: "Release Note", link: "/en//release-note" },
{ text: "Release Note", link: "/en/release-note" },
],
},
{
text: "Introduction",
collapsed: false,
items: [
{ text: "Highlights", link: "/en//doc/introduction" },
{ text: "Getting Started", link: "/en//doc/getting-started" },
{ text: "Donate", link: "/en//donate" },
{ text: "Highlights", link: "/en/doc/introduction" },
{ text: "Getting Started", link: "/en/doc/getting-started" },
{ text: "Donate", link: "/en/donate" },
],
},
{
text: "Cloud Sync",
collapsed: false,
items: [{ text: "Setup", link: "/en//doc/cloud-sync/setup" }],
items: [{ text: "Setup", link: "/en/doc/cloud-sync/setup" }],
},
{
text: "Browser/MS Word Integration",

items: [
{
text: "Browser Extension",
link: "/en//doc/extensions/browser-extension",
link: "/en/doc/extensions/browser-extension",
},
{
text: "MS Word Extension",
link: "/en//doc/extensions/msword-extension",
link: "/en/doc/extensions/msword-extension",
},
],
},
{
text: "Smart Filter",
collapsed: false,
items: [{ text: "Smart Filter", link: "/en//doc/smart-filter/" }],
items: [{ text: "Smart Filter", link: "/en/doc/smart-filter/" }],
},
{
text: "Custom CA",
Expand Down
5 changes: 1 addition & 4 deletions .vitepress/theme/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import DefaultTheme from 'vitepress/theme'
import './custom.css'

export default DefaultTheme

window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };
export default DefaultTheme
2 changes: 2 additions & 0 deletions src/public/_vercel_insights_script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };

0 comments on commit 67d3d32

Please sign in to comment.