MaxMelcher / AzureDevOps.WikiPDFExport

Export Azure DevOps Wiki to PDF
MIT License
193 stars 65 forks source link

GlobalTOC is generated incorrectly #140

Closed takinosaji closed 1 year ago

takinosaji commented 1 year ago

Hi @MaxMelcher. Thank you for the tool you have created.

When GlobalTOC is enabled, the TOC content doesn't contain the links to the documents by name.

Consider the following wiki structure wikiFolder/

The TOC output of the tool would be smth like this:

When the page contains its own TOC, the global TOC link to the page itself is omitted, and the whole TOC seems very weird. I tried the --heading parameter, but it doesn't affect the behavior.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

ivanignatiev commented 2 months ago

I agree, the principle of heading organizing need more documentation.

Look like the tool only take in consideration headings in pages and not page titles.

jhvanderven commented 1 month ago

I agree. I would like the global toc to resemble my wiki structure and leave the TOC's in the documents itself. So my readers can jump to a certain 'document' inside the one big pdf and then jump to the interesting part inside that 'document'. Perhaps this is possible already, but I'd need some more documentation on how to achieve this.