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.

Home Page:https://adrianvlupu.github.io/C4-Builder/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Relative paths for navigation links.

luisrayas3 opened this issue · comments

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.

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

image

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.