Commit Graph

38 Commits

Author SHA1 Message Date
Ryan Wang
72c2ef8cc7 docs: update documentation for Halo 2.8 (#238)
为 Halo 2.8.0 更新文档。

/kind documentation

```release-note
None 
```
2023-08-01 06:40:35 +00:00
Ryan Wang
18bab50498 docs: update documentation for Halo 2.7 (#234)
为 Halo 2.7.0 更新文档。

/kind documentation

```release-note
None 
```
2023-06-30 05:08:11 +00:00
Ryan Wang
f9bbef1a63 chore: update site configs (#227)
1. 修改标题为 `Halo 文档`。
2. Sitemap 排除旧文档的索引,防止 Algolia 额度不够导致无法建索引。
3. 修改页面底部的 Copyright。
4. 修改底部的主题仓库为应用市场。


/kind improvement

```release-note
None
```
2023-06-07 09:57:22 +00:00
Ryan Wang
5d74edea8f docs: update documentation for Halo 2.6 (#222)
为 Halo 2.6 更新文档。

/kind documentation

```release-note
None
```
2023-06-01 07:43:14 +00:00
Ryan Wang
bc5fe02283 docs: docs: update documentation for Halo 2.5 (#212)
为 Halo 2.5 更新文档。

/kind documentation

```release-note
None
```
2023-04-28 03:50:17 +00:00
Ryan Wang
4edbf7e639 docs: update documentation for Halo 2.4 (#203)
为 Halo 2.4 更新文档。

/kind documentation

```release-note
None
```
2023-03-31 03:54:14 +00:00
Ryan Wang
a23ea5940f docs: update documentation for Halo 2.3 (#196)
为 Halo 2.3 更新文档。

/kind documentation

```release-note
None
```
2023-03-01 14:06:19 +00:00
Ryan Wang
55e5f60aee docs: update documentation for Halo 2.2 (#174)
为 Halo 2.2 更新文档。

/kind documentation

```release-note
None
```
2023-02-01 04:14:09 +00:00
Ryan Wang
ef03b0fbfb docs: update documentation for Halo 2.1 (#162)
为 Halo 2.1 更新文档。

see https://github.com/halo-dev/halo/releases/tag/v2.1.0

/kind documentation

```release-note
None
```
2023-01-03 07:56:36 +00:00
Ryan Wang
2ed9998d8a docs: update documentation for Halo 2.0.1 (#132)
为 [Halo 2.0.1](https://github.com/halo-dev/halo/releases/tag/v2.0.1) 更新版本号。

/kind documentation

```release-note
None
```
2022-12-07 10:00:54 +00:00
Ryan Wang
5c76928800 chore: set 2.0 is latest version (#127)
将 2.0 版本的文档设置为最新的文档。同时保留 /2.0.0-SNAPSHOT/

/kind documentation

```release-note
None
```
2022-12-01 01:49:52 +00:00
Ryan Wang
aee974185e docs: refine theme development documentation (#110)
完善 Halo 2.0 主题开发的文档。

/kind documentation

Fixes https://github.com/halo-dev/docs/issues/109

TODO list:

- [x] 准备工作 - 提供从搭建 Halo 开发环境到成功应用一个新的主题的过程。
- [x] 目录结构 - 详细解释一个主题的目录构成,包括每一个目录和文件的作用。
- [x] 配置文件 - 提供 `theme.yaml` 的各个配置的解释。
- [x] 设置选项 - 讲解如何在主题模板中使用主题定义的 `settings.yaml` 配置项。**注意:关于 settings.yaml 或许可以单独出一篇文档,因为插件也需要用到。主题和插件的文档只需要单独讲解如何使用**
- [x] 静态资源 - 讲解静态资源的引用。
- [x] 核心路由 - 列出 Halo 核心提供的路由以及模板,其中需要包括 `文章/自定义页面/分类的自定义模板` 的讲解
- [x] 模板变量 - 讲解系统内提供的路由对应模板中包含的变量。
- [x] Finder APIs - 讲解数据获取 API 的使用。
- [x] 常用代码片段 - 提供一些在主题开发中常用的代码片段,比如如何定义一个 `layout.html`,如何结构化渲染一个菜单或者文章分类等。

```release-note
None
```
2022-11-23 08:39:29 +00:00
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
Ryan Wang
95971a90df docs: documentation for Halo 2.0 (#92)
提供 Halo 2.0 的文档。

TODO list:

- [x] Halo 2.0 的配置文档
- [ ] ~~插件/主题开发的简要文档~~

```release-note
提供 Halo 2.0 的文档
```
2022-09-30 13:20:18 +00:00
Ryan Wang
2e421f26ab chore: bump docusaurus to 2.1.0 (#91)
升级 docusaurus 到 2.1.0

- https://github.com/facebook/docusaurus/releases/tag/v2.0.0
- https://github.com/facebook/docusaurus/releases/tag/v2.1.0

```release-note
none
```
2022-09-28 15:14:16 +00:00
Ryan Wang
f42f651081 chore: remove archived documentations (#72)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-14 07:49:17 +00:00
Ryan Wang
d605271fcc docs: update markdown.md for Halo 1.5.x (#70)
* doc: update markdown document

Signed-off-by: Ryan Wang <i@ryanc.cc>

* docs: update markdown.md

Signed-off-by: Ryan Wang <i@ryanc.cc>

* docs: update markdown.md

Signed-off-by: Ryan Wang <i@ryanc.cc>

* docs: update markdown.md

Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-14 05:35:16 +00:00
Ryan Wang
019aae4ad2 fix: google analytics settings (#42)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-18 11:16:35 +08:00
Ryan Wang
a5c242093b docs: remove sponsor doc (#24) 2022-01-07 20:52:24 +08:00
Ryan Wang
2986d23295 chore: update copyright to fit2cloud (#22) 2022-01-04 19:07:37 +08:00
Ryan Wang
65eee57a38 feat: support create versioning docs (#16) 2021-12-12 16:58:35 +08:00
Ryan Wang
de31762622 chore: remove wwads 2021-11-26 23:06:30 +08:00
Ryan Wang
7b07ac4711 docs: update docusaurus.config.js 2021-10-29 22:40:02 +08:00
Ryan Wang
03016cadbc feat: add wwads plugin. 2021-10-12 19:05:00 +08:00
Ryan Wang
9b91f0e0d9 feat: update umami website id. 2021-10-10 00:42:47 +08:00
Ryan Wang
d0c8da473b feat: add wwads. 2021-10-10 00:16:50 +08:00
Ryan Wang
a7151259cd feat: add umami script. 2021-10-09 00:41:35 +08:00
Ryan Wang
c054998986 docs: update repo address. 2021-10-09 00:29:56 +08:00
Ryan Wang
60dc1880e6 feat: add route redirects. 2021-10-08 23:46:29 +08:00
Ryan Wang
20f9562836 chore: remove unnecessary images. 2021-10-08 23:22:52 +08:00
Ryan Wang
8ab25ab75f feat: support search engine. 2021-10-08 23:12:34 +08:00
Ryan Wang
b43c1d3301 feat: add footer links 2021-10-08 20:02:24 +08:00
Ryan Wang
cb89a8b4ee feat: add search bar. 2021-10-07 16:38:52 +08:00
Ryan Wang
47a0d35a0b feat: update logo 2021-10-07 16:28:34 +08:00
Ryan Wang
4289778be3 feat: add images. 2021-10-05 15:21:21 +08:00
Ryan Wang
ff334efd4e feat: add i18n 2021-10-05 14:50:31 +08:00
Ryan Wang
c76f2def87 refactor: disable blog. 2021-10-05 14:35:21 +08:00
Ryan Wang
d1d89b21a1 first commit 2021-10-05 14:30:42 +08:00