jhildenbiddle/docsify-tabs

[Bug] tabs not work when config homepage and basePath

ngthtung opened this issue · 2 comments

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
        }
      };

And tabs not working:
image

this is my demo:
https://gqhzr.csb.app/#/test.md

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!

Opened issue : docsifyjs/docsify#1711