-
-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Bug Report
Steps to reproduce
Load into a docsify page, click on a sidebar entry loading a file / subdirectory
refresh the page at the current location
click on another item on sidebar,
content within the file will not populate the sidebar as a list
click on any further sidebar items after the first
content will populate as expected
What is current behaviour
When loading the page at a subdirectory, the first sidebar entry will not load its contents into the sidebar
What is the expected behaviour
Whether loaded into any page on the site, it will always populate the content of the file into the sidebar. It is strange that its always the first item to click.
Other relevant information
This issue is occuring because of the line :
(${this.responseText} \n # {docsify-ignore-all})
I tracked down the issue to this plugin. When loading the first link on a page, it will actually load the changelog function for some reason. It will then insert the contents of the changelog into the first subsection clicked. I tried messing around with different things to try make this resolve but no clue how to make this plugin load properly.
The way it should load is only when clicking the actual nav link.