DocOps / liquidoc-gem

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.
https://docs.docops.org/liquidoc-user-manual.html
MIT License
12 stars 5 forks source link

Ingest data files into dynamic configs #85

Open briandominick opened 4 years ago

briandominick commented 4 years ago

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 and docsets) that can then be referenced as Liquid variables from anywhere within build.yml.

This issue relates to #83, #84, and #40.