styleguidist/react-styleguidist

Make page per section configuration less confusing

Open

#1,145 创建于 2018年9月20日

在 GitHub 查看
 (20 评论) (1 反应) (0 负责人)TypeScript (1,416 fork)github user discovery
help wantedrequest for comments

仓库指标

Star
 (11,091 star)
PR 合并指标
 (PR 指标待抓取)

描述

We have quite a lot of issues related to sections configuration, especially the new sectionDepth option. It seems hard to understand (and honestly I don't understand it too).

@okonet @bebraw @rafaesc How can we improve this API? It would probably make more sense to have an option on each section that will define whether this section should be rendered with all subsections or not. But I don't have enough experience with pagePerSection option to say much.

Related issues: #1139 #1137 #1058

贡献者指南