修正工作流

This commit is contained in:
2024-08-19 09:43:46 +08:00
parent fd4d680e87
commit 943e0c2665
45 changed files with 2271 additions and 66 deletions

View File

@ -1,31 +1,10 @@
import {sidebar} from "vuepress-theme-hope";
export const enSidebarConfig = sidebar({
"/en/": [
"",
{
text: "Install & Deploy",
icon: "laptop-code",
prefix: "deploy/",
children: "structure",
},
{
text: "Usage & Features",
icon: "book",
prefix: "usage/",
children: "structure",
},
{
text: "Resources & Plugins",
icon: "store",
prefix: "store/",
children: "structure",
},
{
text: "Development & Contribution",
icon: "pen-nib",
prefix: "dev/",
children: "structure",
}
],
});
export const enSidebarConfig = sidebar(
{
"/en/deploy/": "structure",
"/en/usage/": "structure",
"/en/store/": "structure",
"/en/dev/": "structure",
}
)

View File

@ -1,31 +1,11 @@
import {sidebar} from "vuepress-theme-hope";
export const zhSidebarConfig = sidebar({
"/": [
"",
{
text: "安装及部署",
icon: "laptop-code",
prefix: "deploy/",
children: "structure",
},
{
text: "使用及功能",
icon: "book",
prefix: "usage/",
children: "structure",
},
{
text: "资源及插件",
icon: "store",
prefix: "store/",
children: "structure",
},
{
text: "开发及贡献",
icon: "pen-nib",
prefix: "dev/",
children: "structure",
}
],
});
export const zhSidebarConfig = sidebar(
{
"/deploy/": "structure",
"/usage/": "structure",
"/store/": "structure",
"/dev/": "structure",
}
)

View File

@ -5,6 +5,7 @@ import {enNavbarConfig, zhNavbarConfig} from "./navbar/index.js";
export default hopeTheme({
hostname: "https://vuepress-theme-hope-docs-demo.netlify.app",
hotReload: true,
locales: {
"/": {