zDocs Framework Reference
- Rendering: One can create his own renderer for a given file type. His renderer would be responsible for parsing the files for the documentation and then creating the HTML to display it. Thankfully the zDocs API has a convenience function to parse comment blocks to get documentation information and a convenience class for creating the HTML to display! Currently there is no documentation for this, but one can easily get the gist of the APIs from the source code of
- Middleware: zDocs exports a source of middleware for expressjs. All one has to do is supply the express app he wants to add the documentation center to, the path he wants the documentation center to rest at, the paths to the files he wants to document and a title for his documentation center.
This framework is still in development. However, at this point,
Fri Feb 14 15:48:14 CST 2014, zDocs is officially in beta. Major changes to the API should no longer occur.
|JS File References|