Docsify: Docsify always requests _sidebar.md and _navbar.md on nested folders

Created on 5 Feb 2018  路  2Comments  路  Source: docsifyjs/docsify

First: Thanks for the helpful and very simple to use documentation library.

When I put my markdown files into subdirectories, Docsify always requests _sidebar.md and _navbar.md for each link which correctly returns a 404 from the server, because I don't have such files in each subfolder.

For example, I have the following structure:

src/docs/README.md
src/_navbar.md
src/_sidebar.md
src/docs/reference/index.md
src/docs/reference/my-ref1.md
src/docs/reference/my-ref2.md
src/docs/api/interface1.md
src/docs/api/interface2.md

All the links in the _sidebar.md point to something like docs/reference/my-ref1.md and docs/api/interface1.md.

Do I miss some configuration so that docsify doesn't request the side- and navbar on each link visit?

Most helpful comment

https://docsify.js.org/#/more-pages?id=sidebar

You can use alias option.

All 2 comments

https://docsify.js.org/#/more-pages?id=sidebar

You can use alias option.

Oh, I overread it. Awesome, thank you 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

satu0king picture satu0king  路  3Comments

dialex picture dialex  路  4Comments

soulfly picture soulfly  路  4Comments

SidVal picture SidVal  路  3Comments

nothingrandom picture nothingrandom  路  5Comments