Skip to content
New issue

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

Support of "sidebarDepth: 3" #1715

Closed
YGYOOO opened this issue Jul 24, 2019 · 2 comments
Closed

Support of "sidebarDepth: 3" #1715

YGYOOO opened this issue Jul 24, 2019 · 2 comments

Comments

@YGYOOO
Copy link

YGYOOO commented Jul 24, 2019

Feature request

Now the max value of sidebarDepth is 2, could you support 3?

What problem does this feature solve?

In some cases, only 2 levels may not meets the needs.

What does the proposed API look like?

sidebarDepth: 3

How should this be implemented in your opinion?

I think extracting h4 would be similar with extracting h2 and h3. It may not be hard to be implemented.

Are you willing to work on this yourself?

Currently not.

@ulivz ulivz mentioned this issue Jul 28, 2019
4 tasks
@ulivz
Copy link
Member

ulivz commented Jul 28, 2019

Duplicate of #984

@ulivz ulivz marked this as a duplicate of #984 Jul 28, 2019
@ulivz ulivz closed this as completed Jul 28, 2019
@kshefchek
Copy link

kshefchek commented Aug 19, 2020

According to the docs this has not been added, and is not covered by #984 or PR #1945, please consider reopening

EDIT: It does seem with setting:
extractHeaders: [ 'h2', 'h3', 'h4' ]

And
sidebarDepth: 2,
the h4 headers are included in the sidebar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants