[Bug] tabs not work when config homepage and basePath
ngthtung opened this issue · 2 comments
ngthtung commented
Hello, I'm using docsify-tabs follow config: ( but when i try to get file from local, it work )
window.$docsify = {
loadSidebar: true,
notFoundPage: "404.md",
homepage: "https://ngthtung.github.io/docs/README.md",
basePath: "https://raw.githubusercontent.com/ngthtung/docs/master/",
subMaxLevel: 2,
tabs: {
persist: true, // default
sync: true, // default
theme: "classic", // default
tabComments: true, // default
tabHeadings: true // default
}
};
this is my demo:
https://gqhzr.csb.app/#/test.md
jhildenbiddle commented
Hi @ngthtung.
This appears to be an issue with docsify, not docsify-tabs.
I played with your demo a bit, and the issue appears to be related to the basePath
option. When I disable it, docsify-tabs render as expected. My suggestion is that you create a docsify issue and reference this issue to serve as an example.
Thanks!
calumk commented
Opened issue : docsifyjs/docsify#1711