Skip to content

Commit

Permalink
docs: update docRepo
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Feb 3, 2024
1 parent df2751c commit 1ec51fb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/.vuepress/theme.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { defaultTheme } from '@vuepress/theme-default'
import type { Theme } from 'vuepress/core'
import { navbarEn, navbarZh, sidebarEn, sidebarZh } from './configs'

const isProd = process.env.NODE_ENV === 'production'

export default defaultTheme({
logo: '/images/hero.png',
repo: 'vuepress/docs',
repo: 'vuepress/ecosystem',
docsDir: 'docs',

// theme-level locales config
Expand Down Expand Up @@ -65,4 +66,4 @@ export default defaultTheme({
// use shiki plugin in production mode instead
prismjs: !isProd,
},
})
}) as Theme

0 comments on commit 1ec51fb

Please sign in to comment.