Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] tabs not work when config homepage and basePath #33

Closed
ngthtung opened this issue Oct 23, 2020 · 2 comments
Closed

[Bug] tabs not work when config homepage and basePath #33

ngthtung opened this issue Oct 23, 2020 · 2 comments

Comments

@ngthtung
Copy link

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

@jhildenbiddle
Copy link
Owner

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
Copy link

calumk commented Jan 5, 2022

Opened issue : docsifyjs/docsify#1711

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants