docsifyjs/docsify

when onlyCover is true, also provide an option to show the menu.

已关闭

#1,249 创建于 2020年6月26日

 (0 条评论) (4 个反应) (0 位负责人)JavaScript (5,630 个派生)batch import
enhancementgood first Issuepr welcomesemver-minor

仓库指标

星标
 (26,454 个星标)
PR 合并指标
 (平均合并 10天 13小时) (30 天内合并 9 个 PR)

描述

Continuing from https://github.com/docsifyjs/docsify/issues/1173#event-3485443350

Feature request

When only onlyCover is true, it would be great to have an option to show the menu (and of course the menu should not be empty).

What problem does this feature solve?

Allows people to skip to content faster.

What does the proposed API look like?

window.$docsify = {
  onlyCover: true,
  onlyCoverShowMenu: true, // false by default
}

贡献者指南