Open
Conversation
Member
Member
|
还考虑添加 hits 标签吗 |
Contributor
Author
QQ 暂时不太好加。 |
e41ead8 to
a1b0c5c
Compare
Member
https://hits.zkitefly.eu.org/?tag=https%3A%2F%2Fdocs.hmcl.net%2F&format=json 已添加,访问如上地址即可 |
Contributor
Author
see be33c5c |
eabdae6 to
52b823d
Compare
Contributor
Author
|
我在考虑是否借这个 PR 的机会顺便调整一下构建与部署流程:由 GitHub Actions 负责构建并将产物上传到 pages 分支;Drone 仅负责拉取该分支并复制到指定的部署目录。 |
Contributor
Author
|
我觉得已经差不多了,各位还有什么意见吗? |
Member
我觉得可以,这样可以减少同步延迟 不知道其他人觉得如何 |
Member
不应当将预览构建放入 HMCL 仓库中,这会导致潜在的安全风险 |
Contributor
Author
说的是主分支的构建产物,预览构建产物不会上传到分支。 |
edb5be6 to
9d51fc4
Compare
9d51fc4 to
c6041e4
Compare
Member
|
应当问问 @Glavo 的想法 |
c6041e4 to
3b60ca0
Compare
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

将文档构建工具迁移至 Starlight
本 PR 计划将构建工具从 Jekyll 迁移到 starlight 。目前总体上完成迁移,但仍有一些细节需要修改。
starlight 支持多语言、支持构建时生成 webp 图片,因此也可同时解决 #189 #318 。
clone 本仓库并切换到该分支后需要先使用
npm install安装依赖。之后你可以使用npm run dev运行开发服务器,使用npm run format格式化代码,使用npm run build构建产物。变动
/changelog/xxx迁移到/changelogs/xxx旧地址仍提供旧的 html 结构供客户端解析日志,网页访客访问旧地址会被重定向到新地址。https://github.com/neveler/HMCL-docs/blob/cfc0f91ab9d0237424861affe5fd3fdc011e3337/astro.config.ts#L19-L32
https://starlight.astro.build/zh-cn/components/file-tree/
https://starlight.astro.build/zh-cn/components/steps/
参考
预览
https://fork-starlight-docs.hmcl.workers.dev/
resolve #397