The dojo jsdoc "process consists of two parts. There is a parser written in PHP that generates xml and / or json from the entire namespace listed (defined in util / docscripts / modules, so you can add your own namespaces. At the top of the file "generate" has basic usage instructions. php ") and a part of Drupal called jsdoc that installs as the drupal / plugin / whatever module.
The Drupal Aspect is simply a Dojo basic view of this data. A well-designed XSLT or something to iterate over json and produce html will work the same way, although none of them are provided by default (like the contribution!). I shy away from the Drupal bit, although it has been running api.dojotoolkit.org for some time now.
The doc parser is exposed, so you can use its validation features to write your own custom output. I use it to generate Komodo.cix code in the [pretty sloppy] PHP util / docscripts / makeCix.php PHP file, which uploads the information found in an XML document created to meet the specification. This could be changed to generate any output you selected, with a small number of finalists.
The doc syntax is defined on the style guide page: http://dojotoolkit.org/reference-guide/developer/styleguide.html
dante
source share