Ryan Wang
d78a16e217
chore: use swc instead of esbuild ( #359 )
...
使用 swc 代替 esbuild,之前在 https://github.com/halo-dev/docs/pull/358 中引入了 esbuild,但发现在生产构建之后会出现这个问题:
<img width="1912" alt="image" src="https://github.com/halo-dev/docs/assets/21301288/5dcd724d-3876-4e58-b902-1818dd9d1fbd ">
暂时不清楚为什么,使用 swc 测试构建之后没有这个问题。
/kind bug
```release-note
None
```
6 months ago
Ryan Wang
ac0b158b73
chore: use esbuild instead of babel ( #358 )
...
引入 esbuild,提升构建速度。
before:
<img width="777" alt="image" src="https://github.com/halo-dev/docs/assets/21301288/49d28d76-1c10-47c8-ac8c-31b41a31f6bd ">
after:
<img width="888" alt="image" src="https://github.com/halo-dev/docs/assets/21301288/61462a4c-ba66-4612-9363-67e5d394601b ">
/kind improvement
```release-note
None
```
6 months ago
Ryan Wang
b4e637b4b0
chore: use selfhosted-meilisearch as docs search engine ( #357 )
...
使用自建的 Meilisearch 作为文档搜索引擎,代替 Algolia。
/kind improvement
```release-note
None
```
6 months ago
Ryan Wang
1d97214ad3
chore: remove 1.x documentation ( #303 )
...
移除 1.x 的文档,以及清除一些过时文档。
1.x 所有文档已经被移动到 https://github.com/halo-dev/v1-legacy-docs 并托管在 https://v1.legacy-docs.halo.run
<img width="669" alt="图片" src="https://github.com/halo-dev/docs/assets/21301288/684e4b0e-fc60-44ae-bda1-52fe62c4670d ">
/kind cleanup
```release-note
None
```
11 months ago
Ryan Wang
12a8b47426
feat: add image zoom feature ( #250 )
...
支持点击放大图片。
```release-note
None
```
1 year ago
Ryan Wang
5e70b24ed1
chore: bump docusaurus version to 2.4 ( #228 )
...
升级 Docusaurus 的版本至 2.4
```release-note
None
```
1 year ago
Ryan Wang
bc4497eeac
docs: bump docusaurus version to 2.3.0 ( #184 )
...
升级 docusaurus 的版本:https://github.com/facebook/docusaurus/releases/tag/v2.3.0
/kind improvement
```release-note
None
```
2 years ago
BugKing
3ee41adb3a
Adapt lint script in Windows platform ( #119 )
...
```release-note
None
```
2 years ago
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
```
2 years ago
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
```
2 years ago
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>
3 years ago
Ryan Wang
ddcfbeed36
release: create 1.5.2 version ( #69 )
...
Signed-off-by: Ryan Wang <i@ryanc.cc>
3 years ago
Ryan Wang
75405a306d
release: create 1.5.0 version ( #54 )
...
Signed-off-by: Ryan Wang <i@ryanc.cc>
3 years ago
Ryan Wang
b64030c98f
chore: bump docusaurus to beta 17 ( #46 )
...
Signed-off-by: Ryan Wang <i@ryanc.cc>
3 years ago
Ryan Wang
ea16bf0046
chore: bump docusaurus to beta 16 ( #44 )
...
Signed-off-by: Ryan Wang <i@ryanc.cc>
3 years ago
Ryan Wang
7e023448fc
chore: use markdownlint and add pre commit hook ( #41 )
...
Signed-off-by: Ryan Wang <i@ryanc.cc>
3 years ago
Ryan Wang
1749c8f1b9
chore(deps): upgrade docusaurus to beta.14 ( #23 )
3 years ago
Ryan Wang
8767974c17
chore(deps): upgrade docusaurus to beta.13 ( #15 )
3 years ago
Ryan Wang
de31762622
chore: remove wwads
3 years ago
Ryan Wang
d13850f10a
chore(deps): upgrade docusaurus to beta 9.
3 years ago
Ryan Wang
3a0e85e455
chore(deps): upgrade docusaurus to beta 8.
3 years ago
Ryan Wang
60dc1880e6
feat: add route redirects.
3 years ago
Ryan Wang
4289778be3
feat: add images.
3 years ago
Ryan Wang
d1d89b21a1
first commit
3 years ago