nextflow-io / nextflow

A DSL for data-driven computational pipelines
http://nextflow.io
Apache License 2.0
2.79k stars 633 forks source link

Utilizing comment formats to auto generate docs (e.g., docstrings, javadocs, groovydocs, etc.) #4787

Open kmhernan opened 9 months ago

kmhernan commented 9 months ago

New feature

Using a DSL/markup in comments in nextflow files to automatically generate docs (HTML, etc.). Allowing to define/describe the inputs/outputs and other information useful for folks who contribute to your workflow and beyond.

Usage scenario

Suggest implementation

bentsherman commented 9 months ago

Java comments are supported in Nextflow, so you might be able to use JavaDocs to parse the comments into HTML docs