LiquiDoc 0.9.0
This release adds some significant features.
CLI Parsing with Environment Variables
Adds a --var option for CLI-only parse builds, so environment variables can be passed via the command line. Previously, parse builds run from the command line with no config file could only rely on a data file for variable ingest. Now, Liquid templates can expect a variable to be passed into the vars.
scope from the command line by adding --var varname=varval
, where varname
is your variable's key and varval
is the assigned value. This may be repeated until you run out of room on the command line.
Dynamic Configuration
Configuration files can now be formatted in Liquid and preprocessed before being run as the build routine. The procedure:
- runs a conventional LiquiDoc parse action on the chosen config file;
- saves a parsed version to
<build_dir>/pre/
; then - proceeds running the
liquidoc
command using the new ephemeral config.
Algolia Search Integration
LiquiDoc will now push built HTML files to Algolia indexes. If you're an Algolia user with a complex Jekyll build, this wrapper may be of some assistance. It's really just a gateway to make pushing to Algolia's index with its own Jekyll plugin a little easier.