MaxMelcher / AzureDevOps.WikiPDFExport

Export Azure DevOps Wiki to PDF
MIT License
187 stars 62 forks source link

Folders/subpages structure is not preserved in ToC #37

Closed NinjaCross closed 3 years ago

NinjaCross commented 3 years ago

When pages are aggregated by folders/pages/subpages, the ToC does not correctly reflect the corresponding nesting structure. Here is the DevOps structure

image

... and here is how the ToC is generated into the PDF

image

The page correspondencies are as follows:

image

As you can see, there is no aggregation by folders/pages/subpages, and almost all the chapters of all the pages appears at the same hierarchy level. Unfortunately the final result is incomprehensible for the reader since the navigation is not organic/structured.

The PDF has been generated using the command:

azuredevops-export-wiki.exe -b --css style.css -h -v