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

awesome-pages not working with material docs tabs #41

Open
rieger-jared opened this issue Mar 18, 2021 · 1 comment
Open

awesome-pages not working with material docs tabs #41

rieger-jared opened this issue Mar 18, 2021 · 1 comment

Comments

@rieger-jared
Copy link

rieger-jared commented Mar 18, 2021

Hi, I've been using awesome-pages for a while now, but only with material docs v4.
I tried upgrading to v7 but even the latest awesome-pages does not render out like the old way. Is there something wrong with my config or is this a clash with material docs.

What's interesting is that the ordering is actually still working

.pages

nav:
  - index.md
  - ...
  - contributing.md

Old material docs
Screenshot 2021-03-18 at 11 06 16 pm

new
Screenshot 2021-03-18 at 11 06 49 pm

all links are tabs now
Screenshot 2021-03-18 at 11 07 07 pm

mkdocs==1.1.2
mkdocs-awesome-pages-plugin==2.5.0
mkdocs-git-revision-date-plugin==0.3.1
mkdocs-material==7.0.6
mkdocs-material-extensions==1.0.1
@lukasgeiter
Copy link
Owner

I don't see what awesome-pages has to do with this. mkdocs-material changed how tabs work, that's why pages in the root of docs are not grouped anymore but instead added individually as tabs.

The easiest way to fix this is to just create folders for the tabs you want. For example create a home folder and move index.md, confluence.md, into that folder.

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

2 participants