adrianvlupu / C4-Builder

This is a documentation builder. You feed it .md and .puml and it exports a site, pdf, or a markdown with navigation.
https://adrianvlupu.github.io/C4-Builder/
MIT License
563 stars 93 forks source link

Relative paths for navigation links. #5

Closed luisrayas3 closed 2 years ago

luisrayas3 commented 4 years ago

It seems that when the output is multiple markdown files the navigation link targets are preceded by '/' which when viewed on GitHub links relative to the project root and causes problems when the c4builder project is not located at the repository's root. I think it is reasonable to expect the documentation to be in a directory not at root.

tomschreck commented 2 years ago

I'm experiencing the same issue. How do you make multiple markdown files use relative paths?

image

adrianvlupu commented 2 years ago

Thanks for the screenshot. I finally understood what the issue was, having multiple markdowns in github in a mono-repo like folder structure.

I played around with the demo project and it should be fixed now.