IntelliTect / CodingGuidelines

A repository to contain IntelliTect's tools for coding conventions
https://intellitect.github.io/CodingGuidelines/
MIT License
11 stars 17 forks source link

Create xlst to convert xml to markdown #124

Closed Keboo closed 4 years ago

Keboo commented 4 years ago

This requires #123 to be completed first.

We should create a new XSLT to convert the created xml file into its corresponding markdown file (located here).

As part of this, the order of the headings should be preserved. For top level sections the order should be: Naming, Layout, Coding. The order of the subsections should be alphabetical, except with Miscellaneous moved to the end.

The severity attribute on the guideline element should get mapped to the appropriate emoji.

twofingerrightclick commented 4 years ago

Not sure if I took the best approach, but I wrote a dotnet app to do it.

Keboo commented 4 years ago

@twofingerrightclick Link to tool?

twofingerrightclick commented 4 years ago

https://github.com/IntelliTect/CodingGuidelines/tree/GuidelineXMLtoMD/XMLtoMD/GuidelineXmlToMD I am working on a action that builds it and runs the executable on a push to the branch.