backstage / mkdocs-monorepo-plugin

✚ Build multiple documentation folders in a single Mkdocs. Designed for large codebases.
https://backstage.github.io/mkdocs-monorepo-plugin/
Apache License 2.0
314 stars 75 forks source link

Fix TypeError when nav is generated automatically #62

Closed gferon closed 2 years ago

gferon commented 2 years ago

if nav is not specified in mkdocs.yml, the entire on_config function body is skipped but on_serve relies on self.originalDocsDir.

camilaibs commented 2 years ago

Hi @gferon 👋🏻 , Thanks again for contributing! I would like to ask if you had time to take a look at Emma's example here. Would you still like to add tests? Tell us what your plan is, no pressure, just follow along 🙌🏻

richardmcsong commented 2 years ago

I found this PR because I ran into this exact use case! Anything I can do to help with this?

gferon commented 2 years ago

I'll close this PR since it looks like it'll get taken care of with #69