You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is when docs are stored in a subdirectory in the repo and served from there. If we use relative urls with relativePath true in docsify then everything works well, but if we want to use absolute paths, then it becomes a problem. This is because rendered markdown in Github viewer or otherwise would assume say /docs/mydir/a.md to be the link and not /mydir/a.md
Adding a routeRewrite would solve this, and also solve the sidebar issue too. #1761#1891
Any link that points to any of these routes shall be rewritten. Note we must also do this for image links too and not just docsify hash/history router redirects.
Are you willing to work on this yourself?
Yes, but I would need help :)
The text was updated successfully, but these errors were encountered:
Feature request
redirect
/routeRewrite
likealias
What problem does this feature solve?
The problem is when docs are stored in a subdirectory in the repo and served from there. If we use relative urls with
relativePath
true in docsify then everything works well, but if we want to use absolute paths, then it becomes a problem. This is because rendered markdown in Github viewer or otherwise would assume say/docs/mydir/a.md
to be the link and not/mydir/a.md
Adding a
routeRewrite
would solve this, and also solve the sidebar issue too. #1761 #1891What does the proposed API look like?
How should this be implemented in your opinion?
Any link that points to any of these routes shall be rewritten. Note we must also do this for image links too and not just docsify hash/history router redirects.
Are you willing to work on this yourself?
Yes, but I would need help :)
The text was updated successfully, but these errors were encountered: