Closed CodeCasterNL closed 1 month ago
@CodeCasterNL After another investigation of this problem I found that your scenario still results in the wrong output where the index.md is ignored. I have fixed it in #57 and it will be released soon. Sorry for the delay.
Given this directory structure:
Running
DocFxTocGenerator.exe --docfolder DocFxIndex --index
, the toc.yml contains:Issue 1:
The root-level item "A" links to
A/B.md
, because at generation-time theA/index.md
didn't exist yet.Running the TOC generator a second time fixes that:
Issue 2:
Now the TOC contains "A/index.md" twice, resulting in weird nesting in the menu, mentioning "A" twice:
Expectations
I would expect:
--index
is stable).So: