Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
recoluan committed Nov 3, 2024
1 parent 3746dde commit bfc0c05
Show file tree
Hide file tree
Showing 8 changed files with 905 additions and 885 deletions.
11 changes: 11 additions & 0 deletions docs/.vuepress/components/IconReco.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<template>
<img class="icon-reco" src="/head.png" />
</template>

<style>
.icon-reco {
width: 23px !important;
height: 23px !important;
border-radius: 50%;
}
</style>
10 changes: 10 additions & 0 deletions docs/.vuepress/components/IconRecoTheme.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<template>
<img class="icon-reco-theme" src="/logo.png" />
</template>

<style>
.icon-reco-theme {
width: 23px;
height: 23px;
}
</style>
12 changes: 10 additions & 2 deletions docs/.vuepress/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@ import * as enConfig from './en'
export const themeConfig = {
locales: {
'/': {
selectLanguageText: 'Languages',
selectLanguageName: 'English',
navbar: enConfig.navbar,
series: enConfig.series,
bulletin: enConfig.bulletin,
},
'/zh/': {
selectLanguageText: '选择语言',
selectLanguageName: '简体中文',
lastUpdatedText: '最后更新时间',
navbar: zhConfig.navbar,
Expand All @@ -25,4 +23,14 @@ export const themeConfig = {
docsBranch: 'main',
docsDir: '/',
componentsDir: './.vuepress/components',
socialLinks: [
{
icon: 'IconReco',
link: 'https://recoluan.com/'
},
{
icon: 'IconRecoTheme',
link: 'https://theme-reco.vuejs.press'
}
],
}
Binary file added docs/.vuepress/public/head.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.vuepress/public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,5 @@ bannerBrand:
buttons:
- { text: Guide, link: '/docs/guide/introduction.html' }
- { text: Getting Started, link: '/docs/guide/getting-started.html', type: 'plain' }
socialLinks:
- { icon: 'LogoGithub', link: 'https://github.com/recoluan/revili' }
isShowTitleInHome: true
---
10 changes: 5 additions & 5 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"build": "vuepress build ."
},
"devDependencies": {
"@vuepress/bundler-vite": "2.0.0-rc.14",
"@vuepress-reco/tailwindcss-config": "2.0.0-rc.81",
"vue": "^3.4.27",
"vuepress": "2.0.0-rc.14",
"vuepress-theme-reco": "2.0.0-rc.22"
"@vuepress/bundler-vite": "2.0.0-rc.18",
"@vuepress-reco/tailwindcss-config": "2.0.0-rc.91",
"vue": "^3.5.0",
"vuepress": "2.0.0-rc.18",
"vuepress-theme-reco": "2.0.0-rc.23"
},
"author": "reco_luan",
"license": "MIT"
Expand Down
Loading

0 comments on commit bfc0c05

Please sign in to comment.