-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[Bug report] page links failed in pages that use permalink #1227
Comments
It’s truly an issue. but to a certain extent, I don't agree that this is an issue. Once you set permalink to So there is a workaround: once you used a permalink, you should use absolute paths first. maybe at this time, we need to mark this limit in the documentation. It is more complicated to resolve the Whatever, this is a issue worth solving, and contribution welcome. |
A common situation is in posts of blog. It might be annoying to link to other posts by absolute path. |
Oh that makes me thinking about: Why Vuepress allow links end with I guess it's to be compatible with docs, as many projects just put their docs on github (like lerna). I'm not so familiar with other tools, but they might not allow (Vuepress makes me lazy lol 😅 ) |
@meteorlxy We can change the behavior of resolution of relative urls in pages that use permalink.
|
Bug report
Version
v1.0.0-alpha.34
Steps to reproduce
One page uses permalink, in which there is a link to the other page.
The other page does not use permalink.
What is expected?
The link url is rendered as
'/target-page.html'
, which points totarget-page.md
.What is actually happening?
The link url is rendered as
'/foo/bar/target-page.html'
, which does not exist.The text was updated successfully, but these errors were encountered: