Doc Generator (to Json)

Continuing on from : Generating JavaDoc style CFC docs - dev / google-group-archive - Lucee Dev

What are the code parsers / linters / doc generators out there that people are actively using for non *box projects. Although docbox is a great starting point for json output, I want vanilla cfscript, no dependencies, happy to look at anything though and take notes from strategies used.

I’m looking to harvest the parser part of the project in particular to generate the ‘meta’ for docs for projects in both code and apis (private and public)

I’m building a unified doc system for code / api and none of the ‘non-cfml’ ones seem to be ‘awesome’, so rolling my own for teamcfml docs.

1 Like

GetMetaData / GetComponentMetaData may be a good starting point?

2 Likes

@Zackster Thanks for the recommendation regarding this! I downloaded the cfcToPrinter UDF from CFLib, modernized it & am using it to generate HTML metadata for our CFCs & Taffy API endpoints. (NOTE: I’m using ACF and this UDF leverages the getcfcinhtml method in CFIDE.componentutils.cfcexplorer.)

3 Likes