diff --git a/.github/workflows/documents.yml b/.github/workflows/documents.yml index a97175ea..48b2e1e1 100644 --- a/.github/workflows/documents.yml +++ b/.github/workflows/documents.yml @@ -1,4 +1,4 @@ -name: Build +name: Build Documents on: push: diff --git a/docs/.vitepress/config/en.ts b/docs/.vitepress/config/en.ts index ca571386..f78ea185 100644 --- a/docs/.vitepress/config/en.ts +++ b/docs/.vitepress/config/en.ts @@ -17,9 +17,16 @@ export const enConfig: LocaleSpecificConfig = { items: [ {text: 'What is Nginx UI?', link: '/guide/about'}, {text: 'Getting Started', link: '/guide/getting-started'}, - {text: 'Nginx Proxy Example', link: '/guide/nginx-proxy-example'}, - {text: 'Contributing', link: '/guide/contributing'}, - {text: 'License', link: '/guide/license'} + {text: 'Install Script', link: '/guide/install-script-linux'} + ] + }, + { + text: 'Development', + collapsed: false, + items: [ + {text: 'Build', link: '/guide/build'}, + {text: 'Project Structure', link: '/guide/project-structure'}, + {text: 'Contributing', link: '/guide/contributing'} ] }, { @@ -30,6 +37,14 @@ export const enConfig: LocaleSpecificConfig = { {text: 'Nginx Log', link: '/guide/config-nginx-log'}, {text: 'Open AI', link: '/guide/config-openai'} ] + }, + { + text: 'Appendix', + collapsed: false, + items: [ + {text: 'Nginx Proxy Example', link: '/guide/nginx-proxy-example'}, + {text: 'License', link: '/guide/license'} + ] } ], }, diff --git a/docs/.vitepress/config/zh_CN.ts b/docs/.vitepress/config/zh_CN.ts index 89e5a4a5..cf010ff2 100644 --- a/docs/.vitepress/config/zh_CN.ts +++ b/docs/.vitepress/config/zh_CN.ts @@ -22,9 +22,16 @@ export const zhCNConfig: LocaleSpecificConfig = { items: [ {text: '何为 Nginx UI?', link: '/zh_CN/guide/about'}, {text: '即刻开始', link: '/zh_CN/guide/getting-started'}, - {text: 'Nginx 代理示例', link: '/zh_CN/guide/nginx-proxy-example'}, - {text: '贡献代码', link: '/zh_CN/guide/contributing'}, - {text: '开源协议', link: '/zh_CN/guide/license'} + {text: '安装脚本', link: '/zh_CN/guide/install-script-linux'} + ] + }, + { + text: '开发', + collapsed: false, + items: [ + {text: '构建', link: '/zh_CN/guide/build'}, + {text: '目录结构', link: '/zh_CN/guide/project-structure'}, + {text: '贡献代码', link: '/zh_CN/guide/contributing'} ] }, { @@ -35,6 +42,14 @@ export const zhCNConfig: LocaleSpecificConfig = { {text: 'Nginx 日志', link: '/zh_CN/guide/config-nginx-log'}, {text: 'Open AI', link: '/zh_CN/guide/config-openai'} ] + }, + { + text: '附录', + collapsed: false, + items: [ + {text: 'Nginx 代理示例', link: '/zh_CN/guide/nginx-proxy-example'}, + {text: '开源协议', link: '/zh_CN/guide/license'} + ] } ] }, diff --git a/docs/guide/about.md b/docs/guide/about.md index 1f37760f..cadbbed8 100644 --- a/docs/guide/about.md +++ b/docs/guide/about.md @@ -1,5 +1,7 @@