提交 ad34b66f 编写于 作者: W wangze

vuepress2

上级 cabce237
**/node_modules
**/dist
**/.temp
**/.cache
package-lock.json
\ No newline at end of file
module.exports = {
locales: {
'/': {
selectText: '选择语言',
label: '简体中文',
lang: 'zh-CN',
title: '极客文档',
description: '心之所向,即所向披靡'
},
'/en/': {
selectText: 'Languages',
label: 'English',
lang: 'en-US',
title: 'Geek Docs',
description: 'The heart to, namely sweeps away all obstacles'
}
},
head: [
['link', {
rel: 'icon',
href: 'https://cdn.fuzui.net/blog/logo_31_1587573903203.png'
}],
['script', {}, `
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?a35645ada7638f826316b05fa8ee955b";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
`]
],
themeConfig: {
locales: {
'/': {
nav: require('./nav/zh'),
sidebarDepth: 2,
sidebar: {
'/RuoYi-Antdv/': getRuoYiAntdvSidebar('基础', '其他'),
'/gblog-wx/': getGblogwxSidebar('基础', '高级配置'),
'/windpower/': getWindpowerSidebar('项目说明','TrendDB数据库','常见问题')
}
}
},
repo: 'fuzui/docs',
repoLabel: 'GitHub',
smoothScroll: true,
lastUpdated: '最后更新于'
},
plugins: [
['@vuepress/back-to-top', true],
[
'sitemap',
{
hostname: 'https://docs.geekera.cn',
},
],
],
extraWatchFiles: [
'.vuepress/nav/zh.js'
]
}
function getRuoYiAntdvSidebar(groupA, groupB) {
return [{
title: groupA,
collapsable: false,
children: [
'',
'show',
'use',
'directory',
'function'
]
},
{
title: groupB,
collapsable: false,
children: [
'update-log',
'dev-plan'
]
}]
}
function getGblogwxSidebar(groupA, groupB) {
return [{
title: groupA,
collapsable: false,
children: [
'',
'show',
'use',
'directory',
'function'
]
},
{
title: groupB,
collapsable: false,
children: [
'posters-share',
'custom-style',
'subscribe'
]
}]
}
function getWindpowerSidebar(groupA, groupB,groupC) {
return [{
title: groupA,
collapsable: false,
children: [
''
]
},
{
title: groupB,
collapsable: false,
children: [
'databaseInstall'
]
},
{
title: groupC,
collapsable: false,
children: [
'question-and-answer'
]
}
]
}
\ No newline at end of file
import type { UserConfig, DefaultThemeOptions } from "vuepress";
const config: UserConfig<DefaultThemeOptions> = {
lang: "zh-CN",
title: "极客文档",
description: "心之所向,即所向披靡",
themeConfig: {
locales: {
"/": {
navbar: [
{
text: "RuoYi-Antdv",
link: "/RuoYi-Antdv/",
},
{
text: "GBlog-wx",
link: "/gblog-wx/",
},
{
text: "风电演示",
link: "/windpower/",
},
{
text: "博客",
link: "https://www.geekera.cn/",
},
],
sidebarDepth: 2,
sidebar: {
"/RuoYi-Antdv/": [
{
text: "基础",
isGroup: true,
children: [
"README.md",
"/RuoYi-Antdv/show.md",
"/RuoYi-Antdv/use.md",
"/RuoYi-Antdv/directory.md",
"/RuoYi-Antdv/function.md",
],
},
{
text: "其他",
isGroup: true,
children: ["update-log.md", "dev-plan.md"],
},
],
"/gblog-wx/": [
{
text: "基础",
isGroup: true,
children: [
"README.md",
"show.md",
"use.md",
"directory.md",
"function.md",
],
},
{
text: "高级配置",
isGroup: true,
children: ["posters-share.md", "custom-style.md", "subscribe.md"],
},
],
"/windpower/": [
{
text: "项目说明",
isGroup: true,
children: ["README.md"],
},
{
text: "TrendDB数据库",
isGroup: true,
children: ["databaseInstall.md"],
},
{
text: "常见问题",
isGroup: true,
children: ["question-and-answer.md"],
},
],
},
},
},
repo: "fuzui/docs",
repoLabel: "GitHub",
smoothScroll: true,
editLink: true,
editLinkText: "编辑本页",
lastUpdated: true,
lastUpdatedText: "最后更新于",
},
base: "/",
head: [
[
"link",
{
rel: "icon",
href: "https://cdn.fuzui.net/blog/logo_31_1587573903203.png",
},
],
[
"script",
{},
`
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?a35645ada7638f826316b05fa8ee955b";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
`,
],
],
};
export = config;
module.exports = [
{
text: 'RuoYi-Antdv',
link: '/RuoYi-Antdv/'
},
{
text: 'GBlog-wx',
link: '/gblog-wx/'
},
{
text: '风电演示',
link: '/windpower/'
},
{
text: '博客',
link: 'https://www.geekera.cn/'
}
]
// placeholder for test, dont't remove it.
//.content {
// font-size 30px;
//}
pre.vue-container
border-left-width: .5rem;
border-left-style: solid;
border-color: #42b983;
border-radius: 0px;
& > code
font-size: 14px !important;
& > p
margin: -5px 0 -20px 0;
code
background-color: #42b983 !important;
padding: 3px 5px;
border-radius: 3px;
color #000
em
color #808080
font-weight light
//搜索框
$accentColor = #3eaf7c
$textColor = #2c3e50
$borderColor = #eaecef
$codeBgColor = #282c34
$arrowBgColor = #ccc
\ No newline at end of file
---
title: 简介
---
# 简介
<h1 align="center">RuoYi-Antdv</h1>
> RuoYi-Antdv 是RuoYi-Vue和Ant Design Vue Pro的结合。
<p align="center">
<p align="center">
<a href="https://gitee.com/fuzui/RuoYi-Antdv" target="_blank"><img src="https://gitee.com/fuzui/RuoYi-Antdv/badge/star.svg?theme=dark" alt="Build Status"></a>
<a href="https://github.com/fuzui/RuoYi-Antdv" target="_blank"><img src="https://img.shields.io/github/stars/fuzui/RuoYi-Antdv.svg?style=social" alt="Build Status"></a>
......
......@@ -6,8 +6,9 @@ title: 开发计划
# 2021
# 1月
* :black_square_button: 代码生成
* :white_check_mark: ​去除多余依赖
* :white_check_mark: 精简登录页,美化部分样式
* :white_check_mark: 重写`pro-layout`
* :black_square_button: 更改页头`pro-layout`
* :white_check_mark: 更改页头`pro-layout`
* :black_square_button: 修改`highlight`加载方式
{
"name": "geekera-docs",
"name": "docs",
"version": "1.0.0",
"private": true,
"description": "geek doc",
"keywords": [
"文档",
"geekera"
],
"main": "index.js",
"author": "wangze <73400@163.com>",
"license": "MIT",
"scripts": {
"build": "vuepress build geekera-docs",
"dev": "vuepress dev geekera-docs"
},
"devDependencies": {
"@vuepress/plugin-back-to-top": "1.5.2",
"vuepress-plugin-sitemap": "2.3.1",
"vuepress": "1.5.2"
"vuepress": "^2.0.0-alpha.19"
},
"scripts": {
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs"
}
}
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册