Youssef1313 / markdown-links-verifier

A GitHub Action to validate links in Markdown files
MIT License
4 stars 1 forks source link

Support for MSDocs for more than links verification? #80

Open Youssef1313 opened 3 years ago

Youssef1313 commented 3 years ago

I'm thinking of extending this workflow (may or may not be in a separate fork) for things specific to MSDocs repositories.

Things on top of my mind:

There are possibly few other cases to.

Note: I may not be able to do this very soon.

@gewarren @BillWagner @adegeo @IEvangelist What are your thoughts here? Is this something valuable for the dotnet/docs team (and potentially other docs repositories)?


Working on this in a fork.

IEvangelist commented 3 years ago

At the very least for directs you may consider looking at, https://github.com/microsoft/vscode-docs-authoring/tree/main/packages/docs-markdown/src/controllers/redirects - which is from the docs authoring pack.

gewarren commented 3 years ago

Awesome idea. The redirect-checking functionality would be useful across all docs repos. In repos that use PRMerger, the editors currently check manually for working redirects, so automation would be awesome. On that one, make sure it covers renamed files too (they also need a redirect).

Verifying that new files are added to the TOC would also be useful (happens quite frequently). And checking links from the TOC doesn't hurt either. I'd put lowest priority on the snippet check since the OPS team might/should fix that.

Youssef1313 commented 3 years ago

Thanks @IEvangelist @gewarren. I'll see how this goes.