core icon indicating copy to clipboard operation
core copied to clipboard

[Bug report] resolveRoute does not support relative path

Open Mister-Hope opened this issue 1 year ago • 1 comments

Description

resolveRoute should support relative path, just like router.resolve()

E.g.:

// at /page/a.html
resolve('b.html') // should be /page/b.html
resolve('../') // should be /

Why this is needed

prev and next links are based on current route path, as people just set relative links like ./a.md and ../

Mister-Hope avatar Feb 06 '24 04:02 Mister-Hope

This issue is marked as stale because it has not had recent activity. Issues marked with stale will be closed if they have no activity within 7 days.

github-actions[bot] avatar Feb 22 '24 00:02 github-actions[bot]

Closed by #1545

meteorlxy avatar May 14 '24 05:05 meteorlxy