MaxMelcher / AzureDevOps.WikiPDFExport

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

Include / Exclude capabilities and multi output #39

Closed cedrox closed 3 years ago

cedrox commented 3 years ago

Wiki is the perfect place to concentrate all the documentation. It would be great to add a tag capabilities to flag wiki pages. The aim here is to create mutliple pdf (for different audience for example)

Idea about behavior : Flag page directly into md. Tag like

---
tags:
- WelcomeGuide
- HDL
- SecurityGuideline
--- 

will output 3 different pdf with page inside.

To avoid read of md file for each run, new argument should be added...

Thanks for the great share !

cedrox commented 3 years ago

Another solution would be to create a custom order file... (avoid to read all md file during the creation of List) The program would read the .order file but also all the file beginning with dot in the root folder : .export1, export2... This solution would impose to create this .export1 file in sub folder to Include or Exclude sub files... Maybe harder to use and maintain Thanks

MaxMelcher commented 3 years ago

I could imagine a "--filter" flag that includes pages only if they match the filter. I wasn't aware that the frontmatter is visualized in DevOps at all, so I guess this is a good usecase... image

Not sure when this will be added tho - PR anyone?

stale[bot] commented 3 years 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.