SIGN IN SIGN UP
docsifyjs / docsify UNCLAIMED

🃏 A magical documentation site generator.

0 0 0 JavaScript

fix: fallback page should use path not file location (#1301)

* fix: fallback page should use path not file location

When resolving fallback page for the path (`fallbackLanguages` option), we should consider the original path, not the file location (which could be different when aliases are used).

* fix: use router.getFile to resolve fallback url

* specs: add cypress test for fallbackLanguages

Co-authored-by: 沈唁 <52o@qq52o.cn>
V
Vladimir Dementyev committed
2bceabcb8e623570540493e2f1d956adf45c99e7
Parent: 750663e
Committed by GitHub <noreply@github.com> on 8/4/2020, 9:17:03 AM