docsify icon indicating copy to clipboard operation
docsify copied to clipboard

Did not load homepage in router mode history and subdirectory

Open rottmann opened this issue 2 years ago • 1 comments

Bug Report

Steps to reproduce

Settings

homepage: "index.md"
relativePath: false
routerMode: history
basePath: /test/

Open the doc http://localhost:9000/test/

What is current behaviour

It did not load /test/index.md it try to load /test/test/README.md

Aliases not work with homepage file too.

What is the expected behaviour

Load index.md

Other relevant information

  • Docsify version: https://cdn.jsdelivr.net/npm/docsify@4

rottmann avatar Mar 04 '22 12:03 rottmann

Currently, the whole site is only one homepage, which means there is no other homepage in subdirectory. If you wanna have a default index page in subdirectory, it is README.md in the subdirectory by default.

Koooooo-7 avatar Mar 20 '22 09:03 Koooooo-7

Bug acknowledged. Tracking with #1891.

jhildenbiddle avatar Mar 02 '24 04:03 jhildenbiddle