mkdocs-monorepo-plugin icon indicating copy to clipboard operation
mkdocs-monorepo-plugin copied to clipboard

Allow cross-referencing in nav

Open haneul opened this issue 2 years ago • 3 comments

Sometimes we want to add a page under different subsites (or main site) in a subsite's nav. While linking with ../ may work, but mkdocs can't properly process as it can't find the page.

It shows error like WARNING - A relative path to 'test/../cross.md' is included in the 'nav' configuration, which is not found in the documentation files

And the navigation title will be None.

This PR fixes it by having normpath for nav link.

haneul avatar Feb 21 '23 21:02 haneul

okay updated

haneul avatar Feb 24 '23 22:02 haneul

Seems like a test needs updated.

agentbellnorm avatar Feb 27 '23 16:02 agentbellnorm

@haneul Can you go ahead and update the test? I can go ahead and merge this once that's resolved :)

bih avatar Jan 04 '24 14:01 bih