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

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

hkdobrev opened this issue · comments

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.

commented

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

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