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

Sidebar is raw Markdown if source and dist are not in same folder #14

Open hkdobrev opened 4 years ago

hkdobrev commented 4 years ago

Title says it all really. Here is a specific example:

project/
├── doc/
│   ├── architecture/
│   │    └── model/
│   │        └── context.md
│   └── dist/
└── .c4builder

.c4builder

{
    "rootFolder": "doc/architecture/model",
    "distFolder": "doc/dist"
}

In this case, everything works normally and the dist is generated where it is expected the c4builder site command works as expected. But the sidebar is served raw as a plain-text Markdown without converting to HTML with links. The correct links are in the sidebar in Markdown and they update when adding new content.

I guess it doesn't look for the pages in the proper place and it cannot find the page and therefore the conversion fails.

Iicytower commented 1 year ago

I have a similar problem. Do you found any solution?

hkdobrev commented 1 year ago

No, I haven't and haven't used c4builder for a while.