The canonical gem source for LiquiDoc, a ruby-based documentation parsing and rendering utility enabling advanced builds with Asciidoctor, Jekyll, Liquid, and semi-structured data files.
Similarly to how standard parse actions are able to pass data from multiple ingested files into the template used in the action, config files should also be able to accept data objects when they are templatized with Liquid scripting.
A command like the following should enable multi-file ingest of data objects:
Similarly to how standard parse actions are able to pass data from multiple ingested files into the template used in the action, config files should also be able to accept data objects when they are templatized with Liquid scripting.
A command like the following should enable multi-file ingest of data objects:
bundle exec liquidoc -c _configs/build.yml -d data/products.yml,data/docsets.yml
This would create two data objects (
products
anddocsets
) that can then be referenced as Liquid variables from anywhere withinbuild.yml
.This issue relates to #83, #84, and #40.