lukasgeiter / mkdocs-awesome-pages-plugin

An MkDocs plugin that simplifies configuring page titles and their order
MIT License
452 stars 35 forks source link

does not work in combination with monorepo #90

Open gluc opened 8 months ago

gluc commented 8 months ago

Thx so much for this. It is exactly what I need and works great for standard use cases!

However, I couldn't get it to work in combination with the monorepo plugin. Is this expected? If necessary, I'm happy to provide a self-contained example if it helps.

But in a nutshell, what I'd like to do is:

mkdocs.yml (nav section includes monorepo link to sub-module called "sub")
docs/
└─ ...
sub
├─ mkdocs.yml (does not contain nav section)
└─ docs/
   ├─ .page (contains name and nav configurations)
   └─ ...

Thx!

lukasgeiter commented 8 months ago

A self-contained example would be great!

gluc commented 8 months ago

Hey Lukas, thx for getting back!

You'll find a self-contained, minimal example here: https://github.com/gluc/awesome-pages-monorepo

Thx for looking into it!

lukasgeiter commented 7 months ago

Thanks for the example. Unfortunately I don't think there's an easy fix for the issue. Only .pages files within the docs directory of the root project are processed.

I've been prototyping a new approach that would fix this issue. I'll let you know when that version becomes available.

gluc commented 7 months ago

Looks like we have the same plans for Saturday night (I'm also working on some of my github repos), ahaha. Anyway, thx a lot for looking into it. Looking forward for a fix. Mässi vilmal!

macco3k commented 3 months ago

Any update on this? We are also running into the same issue. Even a workaround would work wonders for us.

edobez commented 1 month ago

Would be great to see this happening.