-
Notifications
You must be signed in to change notification settings - Fork 8.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
[ Gitbook 主题 ] 文档自动分组排序功能使用,siteConfig无效 #2412
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Comments
奥,我想起来。是这个变量本来就没用 我之前是把这里的 true 改成 false 才达到目的的
|
tangly1024
changed the title
[ Gitbook 主题 ] 最新版本 NEXT_PUBLIC_GITBOOK_AUTO_SORT 功能失效
[ Gitbook 主题 ] 文档自动分组排序功能使用
May 15, 2024
tangly1024
changed the title
[ Gitbook 主题 ] 文档自动分组排序功能使用
[ Gitbook 主题 ] 文档自动分组排序功能使用,siteConfig无效
May 15, 2024
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
描述bug
NEXT_PUBLIC_GITBOOK_AUTO_SORT 设置为 false 时不起作用
NotionNext/themes/gitbook/config.js
Line 4 in f037a41
如下图是我的 Notion 列表
可以看到理论排序应该是
快速了解
产品定价
部署指南
页面介绍
联系我们
如下图是实际部署的效果
可以看到实际排序是
快速了解
产品定价
联系我们
部署指南
页面介绍
也就是它和 NEXT_PUBLIC_GITBOOK_AUTO_SORT 设置为 true 时 一样,把分类的放到最下面,单页放到最上面
即,NEXT_PUBLIC_GITBOOK_AUTO_SORT 这个参数设置为 false 时已失效
期望的正常结果
无须多言
复现步骤
半个月前的版本是没问题的,前几天我更新了一下代码,就不起作用了
环境
The text was updated successfully, but these errors were encountered: