diff --git a/website/config/sidebars.js b/website/config/sidebars.js index 235a4f6b2..22a43e337 100644 --- a/website/config/sidebars.js +++ b/website/config/sidebars.js @@ -21,7 +21,7 @@ module.exports = { type: 'category', label: '进阶', collapsed: false, - items: getDocsFromDir('guide/best-practices'), + items: getDocsFromDir('guide/advanced'), }, { type: 'category', diff --git a/website/docs/examples/antd.md b/website/docs/examples/antd.md deleted file mode 100644 index 8751edbe2..000000000 --- a/website/docs/examples/antd.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: 使用 antd 组件 -order: 2 ---- \ No newline at end of file diff --git a/website/docs/examples/electron.md b/website/docs/examples/electron.md deleted file mode 100644 index 1b777efbd..000000000 --- a/website/docs/examples/electron.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: 开发 Electron 应用 -order: 5 ---- \ No newline at end of file diff --git a/website/docs/examples/federation.md b/website/docs/examples/federation.md deleted file mode 100644 index a6aeadaef..000000000 --- a/website/docs/examples/federation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Module Federation -order: 4 ---- - diff --git a/website/docs/examples/fusion.md b/website/docs/examples/fusion.md deleted file mode 100644 index ab151a482..000000000 --- a/website/docs/examples/fusion.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: 使用 fusion 组件 -order: 3 ---- \ No newline at end of file diff --git a/website/docs/examples/lint.md b/website/docs/examples/lint.md deleted file mode 100644 index 3317e5aa0..000000000 --- a/website/docs/examples/lint.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: 代码质量 -order: 4 ---- \ No newline at end of file diff --git a/website/docs/examples/tailwind.md b/website/docs/examples/tailwind.md deleted file mode 100644 index 149ee578e..000000000 --- a/website/docs/examples/tailwind.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: 使用 Tailwind CSS -order: 1 ---- - diff --git a/website/docs/guide/best-practices/auth.md b/website/docs/guide/advanced/auth.md similarity index 100% rename from website/docs/guide/best-practices/auth.md rename to website/docs/guide/advanced/auth.md diff --git a/website/docs/guide/best-practices/deploy.md b/website/docs/guide/advanced/deploy.md similarity index 100% rename from website/docs/guide/best-practices/deploy.md rename to website/docs/guide/advanced/deploy.md diff --git a/website/docs/guide/best-practices/faas.md b/website/docs/guide/advanced/faas.md similarity index 100% rename from website/docs/guide/best-practices/faas.md rename to website/docs/guide/advanced/faas.md diff --git a/website/docs/guide/best-practices/i18n.md b/website/docs/guide/advanced/i18n.md similarity index 100% rename from website/docs/guide/best-practices/i18n.md rename to website/docs/guide/advanced/i18n.md diff --git a/website/docs/guide/best-practices/integrate-from-rax.md b/website/docs/guide/advanced/integrate-from-rax.md similarity index 100% rename from website/docs/guide/best-practices/integrate-from-rax.md rename to website/docs/guide/advanced/integrate-from-rax.md diff --git a/website/docs/guide/best-practices/micro-frontends.md b/website/docs/guide/advanced/micro-frontends.md similarity index 100% rename from website/docs/guide/best-practices/micro-frontends.md rename to website/docs/guide/advanced/micro-frontends.md diff --git a/website/docs/guide/best-practices/unit-test.md b/website/docs/guide/advanced/unit-test.md similarity index 100% rename from website/docs/guide/best-practices/unit-test.md rename to website/docs/guide/advanced/unit-test.md diff --git a/website/src/components/Feature/index.jsx b/website/src/components/Feature/index.jsx index a945b6707..a4a0ecfd4 100644 --- a/website/src/components/Feature/index.jsx +++ b/website/src/components/Feature/index.jsx @@ -16,22 +16,22 @@ const data = [ { title: '最佳实践', decs: '内置数据请求、路由、状态、构建配置、日志输出等最佳实践', - url: '/docs/guide/basic/ssg', + url: '/docs/guide/basic/directory', }, { title: '应用模式', decs: '支持 SPA、服务端渲染 SSR 以及静态构建 SSG 等不同研发模式', - url: '/docs/guide/advanced/mpa', + url: '/docs/guide/basic/ssr', }, { title: '插件化', decs: '通过插件将框架能力进行解耦,同时开发者也可以基于插件扩展框架能力', - url: '/docs/plugin/develop/start', + url: '/docs/plugins/plugin-dev', }, { title: '领域方案', - decs: '提供丰富的领域方案,如微前端 ICESTARK、包开发 ICE PKG、Serverless 一体化方案等', - url: '/docs/plugin/develop/start', + decs: '提供丰富的领域方案,如包开发 ICE PKG、微前端 ICESTARK 等等', + url: 'https://pkg.ice.work/', }, ];