Closed gouttegd closed 1 month ago
After toying with this idea a bit, I find that dosdp document
crashes on too many pattern files for such a command to be of any use.
@gouttegd have you tried dosdp-tools docs
?
e.g. https://github.com/geneontology/go-ontology/blob/master/docs/patterns/index.md
No, because I didn’t know the docs
subcommand existed. Thanks!
Copying GO’s full command for reference:
$(DOSDP_TOOLS) docs --obo-prefixes=true --batch-patterns="$(ALL_PATTERN_NAMES)" --template=../design_patterns --outfile=../../docs/patterns --infile=../design_patterns --data-location-prefix='https://github.com/geneontology/go-ontology/tree/master/src/design_patterns/' --ontology=reasoned.owl --catalog=catalog-v001.xml
The CL custom Makefile includes a rule to generate some documentation pages from the DOSDP patterns:
Given that the standard ODK Makefile already contains rule for about every task related to patterns (validation, query, generation), it should also include a rule for generating their documentation, without asking users to create their own rule like CL does above.