Closed
Description
Bug report
I appears headers are not detected for sidebar: auto
configuration unless they are the first or near the first of the document. This seems to be a bug since many will want to place an image or other introductory text and versions before the first header.
Version
0.14.2
Steps to reproduce
For those wanting a work around to this issue you can force the sidebar using the explicit variation of the sidebar configuration instead of just auto
but it would be nice if auto
did what most might expect.
What is expected?
I was expecting this to auto detect the level 1 header even though it comes after the image.
What is actually happening?
The image is causing the header not being detected.
Other relevant information
- Your OS: Mac Os
- Node.js version: v10.9.0
- Browser version: Chrome Version 69.0.3497.92 (Official Build) (64-bit)
- Is this a global or local install? global
- Which package manager did you use for the install? yarn