Files
docs/versioned_sidebars/version-1.6-sidebars.json
Ryan Wang 4921736046 refactor: document versioning structure (#99)
重构文档版本结构。

- 移除 1.5/1.4 相关所有 patch 版本的文档,使用 1.5/1.4 版本号代替。
- 创建 1.6 的文档版本。
- 后续针对 1.5 或者 1.6 的更新,可以直接对具体版本进行更改。

本打算使用 [@docusaurus/plugin-client-redirects](https://docusaurus.io/zh-CN/docs/api/plugins/@docusaurus/plugin-client-redirects) 做已删除的 patch 版本的重定向,旦可能不是很好满足匹配重定向的需求。~~所以在此 PR 合并之前我将通过 Nginx 对具体版本进行重定向转发~~。

比如:`/1.4.17/{path}` 重定向到 `/1.4/{path}`,`/1.5.4/{path}` `/1.5.3/{path}` 都从定向到 `/1.5/{path}`

/kind documentation
/cc @halo-dev/sig-docs 

> PS: 此 PR 未对新发布的 [1.6.0](https://github.com/halo-dev/halo/releases/tag/v1.6.0) [1.5.5](https://github.com/halo-dev/halo/releases/tag/v1.5.5) [2.0.0-alpha.2](https://github.com/halo-dev/halo/releases/tag/v2.0.0-alpha.2) 做修改,将在后续 PR 更改。

```release-note
None
```
2022-10-13 03:58:14 +00:00

87 lines
2.2 KiB
JSON

{
"tutorialSidebar": [
"intro",
{
"type": "category",
"label": "入门",
"collapsed": false,
"items": [
"getting-started/prepare",
{
"type": "category",
"label": "安装指南",
"items": [
"getting-started/install/linux",
"getting-started/install/docker",
{
"type": "category",
"label": "其他指南",
"items": [
"getting-started/install/other/bt-panel",
"getting-started/install/other/oneinstack",
"getting-started/install/other/tencent-cloudbase",
"getting-started/install/other/docker-mysql",
"getting-started/install/other/docker-compose"
]
},
"getting-started/install/third-party"
]
},
"getting-started/config",
"getting-started/upgrade",
"getting-started/downloads"
]
},
{
"type": "category",
"label": "用户指南",
"items": [
"user-guide/backup-migration",
"user-guide/markdown",
"user-guide/faq"
]
},
{
"type": "category",
"label": "开发者指南",
"items": [
{
"type": "category",
"label": "系统开发",
"items": [
"developer-guide/core/structure",
"developer-guide/core/prepare",
"developer-guide/core/code-style"
]
},
{
"type": "category",
"label": "主题开发",
"items": [
"developer-guide/theme/prepare",
"developer-guide/theme/config-files",
"developer-guide/theme/global-variable",
"developer-guide/theme/public-template-tag",
"developer-guide/theme/page-variable",
"developer-guide/theme/template-tag"
]
},
{
"type": "link",
"label": "REST API",
"href": "https://api.halo.run"
}
]
},
{
"type": "category",
"label": "参与贡献",
"items": [
"contribution/issue",
"contribution/pr"
]
},
"about"
]
}