-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
docsrelated to the documentation of docsify itselfrelated to the documentation of docsify itselfpr welcomequestion
Description
Bug Report
Steps to reproduce
- Include a link to the homepage (
README.md
or whatever's defined in thehomepage
setting) in the sidebar - Visit the docs root.
What is current behaviour
- The sidebar link to the homepage does not have the
active
class to highlight it, and its submenu is not expanded. - If the homepage link is clicked,
#/README
is appended to the URL, and then theactive
class is included.- The URL fragment is always
README
, even if the file is called something else.
- The URL fragment is always
What is the expected behaviour
- The sidebar link to the homepage should have the
active
class, and the submenu should be expanded. - There should only be one canonical URL for the homepage (preferably one without a fragment in the URL)
- The fragment should at least match the filename defined in
homepage
- The fragment should at least match the filename defined in
Other relevant information
-
Bug does still occur when all/other plugins are disabled?
-
Your OS: macOS 10.15.4
-
Node.js version: 13.13.0
-
yarn version: 1.22.4
-
Browser version: Chrome 80.0.3987.149
-
Docsify version: 4.11.3
-
Docsify plugins: pagination, copy-code
Please create a reproducible sandbox
Mention the docsify version in which this bug was not present (if any)
N/A
zhouzi
Metadata
Metadata
Assignees
Labels
docsrelated to the documentation of docsify itselfrelated to the documentation of docsify itselfpr welcomequestion