elastic / elastic/docs

First-level TOC should be automatically expanded

Open
#1,286 1 comment 0 reactions 0 assignees View on GitHub
enhancement toc
Dominant language
Ruby
Stars
265
Forks
347
Avg merge
3d 15h
Merged PRs (30d)
2

Description

Currently, the landing pages for our books have the full table of contents with only the top level pages visible. For example:

![image](https://user-images.githubusercontent.com/26471269/66607330-cd991a80-eb68-11e9-963e-abf56929264e.png)

There is a content reorganization underway in several books which involves reducing the number of items at the top level of the navigation. Would it be possible to have a setting that expands the first level by default? For example, to show this level of information for each part:

![image](https://user-images.githubusercontent.com/26471269/66607469-249eef80-eb69-11e9-953d-389ffbd0eaa1.png)

Ideally this would be an option that could be set differently for each book (enabled/disabled).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.