We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
title
2.2.16
windows 10
18
chrome 120
https://github.com/zhangfisher/speed-form/docs
我的文档工程
为代码声明了title和description,但是title被渲染到侧边栏的目录中了。
description
/** * title: 读取状态 * description: 通过`store.state.firstName`直接读取状态,不通过`useState`方法 */ import { createStore } from 'helux-store'; const state = { firstName:"Zhang", lastName:"Fisher", age:18 } const store = createStore<typeof state>({state}) export default () => { return <div> <div>Hello :{store.state.firstName}{' '}{store.state.lastName}</div> <div>Age :{store.state.age}</div> <button onClick={()=>setState(draft=>draft.age+=1)}>+Age</button> </div> }
代码中的title不应该作为目录出现
No response
The text was updated successfully, but these errors were encountered:
非 bug,侧边菜单子级展示的是当前页面的 TOC,demo 标题也是 TOC 的一部分
不想展示 demo 标题可以把 demo tocDepth 改深一级即可:https://d.umijs.org/config/markdown#tocdepth
Sorry, something went wrong.
No branches or pull requests
Version
2.2.16
OS Version
windows 10
Node.js Version
18
Browser Version
chrome 120
Link to minimal reproduction
https://github.com/zhangfisher/speed-form/docs
Steps to reproduce
我的文档工程
为代码声明了
title
和description
,但是title
被渲染到侧边栏的目录中了。What is expected?
代码中的
title
不应该作为目录出现What is actually happening?
代码中的
title
不应该作为目录出现Any additional comments? (optional)
No response
The text was updated successfully, but these errors were encountered: