DODSP provides automatic documentation generation service for both pattern files and the dosdp schema itself.
DOSDP provides several CLI interfaces for automatic pattern generation.
$ dosdp document -i pattern.yaml
$ dosdp document -i pattern.yaml -o pattern.md
$ dosdp document -i pattern.yaml -o 'output folder'
$ dosdp document -i 'pattern folder' -o 'output folder'
$ dosdp document -i pattern.yaml -d 'sample data folder' -o pattern.md
$ dosdp document -i 'pattern folder' -d 'sample data folder' -o 'output folder'
A sample dosdp pattern and its auto generated documentation can be seen in the cell ontology.
An additional overview document generated to present a summary of the patterns, if a directory is provided as input.
If the optional sample data folder
parameter is provided, a data preview is generated in both the pattern and overview documents. To achieve this, the pattern file name and the data file must match.
With each version release, DOSDP generates and publishes a schema documentation.
$ dosdp document --schema
$ dosdp document --schema -o <schema.md>
Generates md formatted documentation for the schema exists in the dosdp package. An output document location can be optionally identified to specify documentation location or current folder (os current working directory) is used by default.