Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automated CSS documentation 1

Status
Not open for further replies.

MrGrey

Programmer
Nov 6, 2001
90
0
0
GB
Hi,

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).

Thanks in advance.
 
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;
}

That is all you need to do.

Check out the documentation at
I highly recommend this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top