Does anyone know if there is an automated documentation tool for CSS on the lines of JSDoc for Javascript. (ie. documentation created from inline code comments).
From my research, there is not a CSS Doc tool available.
However, there is one out there (that I use at the company I work for) that is able to support any language. It is all called Natural Docs. All you would need to do is edit the config file with some minor stuff (such as what is the beginning and end block quote look like. Typically "/* */"). Now, this is slightly different than JavaDoc though.
In this documentation tool, there are no set "tags" to use really. With some simple syntax, you can create your own tags as you go. An example below:
Code:
/*
Class: requiredField
This is used to make all fields that are required to have red text.
See also:
<warningField>
*/
.requiredField {
color: red;
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.