Open dingo-d opened 5 years ago
For anyone who wants to contribute to this, but isn't that familiar with the tooling: For in-depth step-by-step instructions on how to get started creating these docs, have a look at the sister-issue in WPCS for this: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1722
Like in the WPCS a documentation should be added for every sniff, so that the
--generator
can be used to generate documentation.The TRT can benefit from this as well, because we can use this in our handbook as well (the examples).
The documentation looks something like this.
You can test what it looks like in the terminal by running
In the terminal.