MaxMelcher / AzureDevOps.WikiPDFExport

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

Link to work items from a Wiki page #72

Closed AltarBeastiful closed 2 years ago

AltarBeastiful commented 2 years ago

I would like to see the task from #61 " Link to work items from a Wiki page" implemented. Could you give pointers for where to start it's implementation ?

MaxMelcher commented 2 years ago

That's quite some work - I'd rather see you start with #71 but happy to merge both.

I briefly added two work items to a project and added them to a wiki:

image

So we need to check the content of all pages to #(number) and then query the Azure DevOps API to get the title and type of the work item. This requires authentication, so we need to provide a PAT token as parameter.

Not sure how many types of work items there are - but replicating the styles similar to the rendering in the wiki would be nice 😊 Adding some extra styles to the Stylesheet so people can overwrite them, too.

Helpful?

MaxMelcher commented 2 years ago

merged and released in v3.3.0