这是我的文档文件结构
|__docs/
| |__config-docsify.js
| |__index.html
| |__README.md
|__README.md
如您所见,Docsify 文件位于docs/
目录中,我想将该/docs/README.md
文件链接到 README 文件 ( /README.md
) 的根目录。即,当我单击文件中的链接时/docs/README.md
,我被重定向到/README.md
文件,或者至少我以某种方式获得了它的内容。
但是,当我尝试添加这样的链接时
<!-- projectfolder/docs/README.md file -->
See the [README](../README.md) file in the root directory.
我被重定向到localhost:3000/../README.md
不存在的地方。
有谁知道链接不在 docsify 文件的同一文件夹(或子文件夹)中的文件的方法?
编辑
我正在docs
使用
docsify serve docs/