We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
set relativePath as true
relativePath
true
set loadSidebar as SUMMARY.md
loadSidebar
SUMMARY.md
create path/to/doc1.md and path/to/doc2.md
path/to/doc1.md
path/to/doc2.md
write the link path/to/doc2.md to SUMMARY.md
access #/path/to/doc1
#/path/to/doc1
the sidebar link is #/path/to/path/to/doc2
#/path/to/path/to/doc2
the sidebar link should be #/path/to/doc2
#/path/to/doc2
The sidebar and article come from different sources, so have different base pathes.
The base path of all sidebar links should be dirname($docsify.loadSidebar), not dirname(location.hash).
dirname($docsify.loadSidebar)
dirname(location.hash)
The text was updated successfully, but these errors were encountered:
Bug acknowledged. Tracking with #1891.
Sorry, something went wrong.
No branches or pull requests
Bug Report
Steps to reproduce
set
relativePath
astrue
set
loadSidebar
asSUMMARY.md
create
path/to/doc1.md
andpath/to/doc2.md
write the link
path/to/doc2.md
toSUMMARY.md
access
#/path/to/doc1
What is current behaviour
the sidebar link is
#/path/to/path/to/doc2
What is the expected behaviour
the sidebar link should be
#/path/to/doc2
The sidebar and article come from different sources, so have different base pathes.
The base path of all sidebar links should be
dirname($docsify.loadSidebar)
, notdirname(location.hash)
.Other relevant information
The text was updated successfully, but these errors were encountered: