umijs / dumi

📖 Static Site Generator for component library development

Home Page:https://d.umijs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug: nav title cannot work in singe 2-level directory

PeachScript opened this issue · comments

Version

2.2.17

OS Version

--

Node.js Version

--

Browser Version

--

Link to minimal reproduction

--

Steps to reproduce

  1. examples/normal 下创建 docs/a/b/c.md
  2. c.md 配置 nav.title,检查效果
  3. c.md 配置 nav.second.title,检查效果

What is expected?

nav.title 生效 + nav.second.title 不生效,因为此时只有一组二级文件夹,尚未满足生成二级导航的条件

What is actually happening?

nav.title 不生效 + nav.second.title 生效

Any additional comments? (optional)

No response