Repository navigation
feat: adjust docs sidebar menu order and hide socket section - #5
Merged
Merged
Conversation
菜单顺序调整为:Quote / Trade / Fundamental / Market / Content / Account / Screener / Legal / API Reference / Q&A / LLM / Changelog,三个语言一致。 - gen.ts 支持目录 _category_.json 的 hidden 字段与文件 frontmatter 的 sidebar: false(修复 api.md 重复出现在 侧边栏的问题) - Socket 目录通过 hidden 从菜单移除(页面仍可直链访问) - 无 _category_.json 的目录补齐 position Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
内容
调整文档侧边栏菜单顺序(三个语言一致):
Quote → Trade → Fundamental → Market → Content → Account → Screener → Legal → API Reference → Q&A → LLM → Changelog
顶部的「平台介绍 / 快速开始」保持不动。
实现
gen.ts支持目录_category_.json的hidden字段与文件 frontmatter 的sidebar: false_category_.json的顶层目录(fundamental / market / content / account / screener / legal)补齐 position;已有的只改 position、保留原 labelsidebar_position)顺手修复
侧边栏此前出现两个 "API Reference"(
api.mdfrontmatter 已声明sidebar: false但生成器不识别该字段),现已尊重该字段,重复项消失。🤖 Generated with Claude Code