-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] 更换评论框架为 giscus #4169
Comments
(开 issue 没 mgt 快) Gitalk 索取了过多的权限(每个评论者的所有 public repo 的读写权限),且必须由管理员手动给新页面开评论区。 Giscus 基于 GitHub Discussions,有包括但不限于下列优点:
|
好像有一个问题,不知道怎么显示“我们鼓励在讨论区讨论有意义的内容及关于文章的勘误,无意义的讨论将会被管理员删除” |
还 fork 吗(真的要这句话吗,一定要显示在 placeholder 吗( |
感觉不显示也行() |
可以参考下:
|
关于部署gisgus |
看起来不错, looks good to me 😆 |
这么看的话切过去只有好处没有坏处。 |
|
阅读完毕,比我想得还容易。
|
现在改完的版本在这里:https://github.com/littlefrogfromthenorth/mkdocs-material
|
convert 可以在 https://github.com/OI-wiki/gitment/labels 对 gitalk 标签选择 “Convert issues” 来批量完成。 有一个问题是,现在使用的是页面标题而没有目录结构,就会有 基本概念 这种不知道是啥、很可能重复的页面标题,可以保持现状假装没有问题,也可以考虑写脚本自动把标题改了,或者是单独把这种有歧义的标题手动换掉。
|
另外就是,gitment 这个 repo 名要不还是改了,改成 comments 之类的 🌚
|
@ouuan 我记得 giscus 好像有几种不同的配置方式? 应该选择一个合适的就可以解决了 (比如有一种好像就是用目录结构作为 GitHub Discussion 的标题的). |
问题在于现在的标题,而不是新的标题。如果要修就要批量修改现在的标题。
我这段说的就是怎么处理旧标题。 |
明白,可能因为上一个评论主语不明显,所以本人没看出来,抱歉打扰了 😥 |
看了下似乎迁移难度不大,and 目前 gitment 好像又出问题了(原因不明) #4252 |
现在旧版mkdocs里已经有了pullrequest说这个事了
新版也快了
…---原始邮件---
发件人: "Dejia ***@***.***>
发送时间: 2022年8月27日(周六) 上午10:01
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [OI-wiki/OI-wiki] [RFC] 更换评论框架为 giscus (Issue #4169)
看了下似乎迁移难度不大,and 目前 gitment 好像又出问题了(原因不明) #4252
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
目前,我们使用的评论框架是 gitment。该框架目前已经停止维护,且存在各种问题。例如权限要求不合理,不支持数学公式等等。
因此考虑将框架切换为目前流行的 giscus。唯一可能需要注意的地方是,切换为giscus后将无法继续使用基于issue的评论系统。
群内聊天记录如下:
mgt:
giscus接入主站好搞吗🤔
要不换换
ouuan:
好搞啊
就是会 break 几分钟
要 convert to discussions
而且没法换回来
虽然看起来只有好处,但考虑到没法换回来,可以再征求一下大家同意(
The text was updated successfully, but these errors were encountered: