Releases: DocOps/liquidoc-gem
LiquiDoc 0.8.1
Enabled declaration of variables for parse build steps
- Added a parameter variables: to the
build:
tier of the configuration format
These variables are expressed in templates using the vars. scope - Made corrective edits to various parts of the README
- Added validation of builds:properties:files and permits/enables string, list, or array format
- The attributes file ingest procedure skips non-Hash attribute files (arrays)
(I suspect this will clash with the flattener, but it fixes our problem.) - Removed now-invalid scope admonition
Note was instructing use ofdata.
var scope prefix to differentiate from newvars.
scope prefix from a previous commit. - Added a nested structure variable scope called
data.
to the ingested data object during parse operations:
Due to an apparent limitation in Liquid, if the ingested data is in a structure (hash) rather than an array, in order to access top-tier variables during parse operations, we need to grant those variables a parent scope to reference. This patch leaves existing variables intact but adds a container scope called 'data', which contains an exact replica of all the data ingested from an external file. - Added a regexreplace filter to Liquid, which acts like gsub! in Ruby.
LiquiDoc 0.7.0
Adds jekyll build op; refactors attributes (#34) * Refactored liquidoc.rb attributes mgt; added Jekyll wrapper * Added render_doc proc to route render operations * Added generate_site wrapper proc for jekyll build cmd * Added experimental jekyll_serve wrapper proc * Added force_array to enable YAML files as single-file declarations, comma-delimited lists, or YAML array formats * Reorganized attributes management for proper cascade. * Instruct static site render; clarify attribute setting * Added instructions for static site build and experimental "deploy" (jekyll serve wrapper) * Clarified explanation of assigning attributes * Bumped version to 0.7.0
LiquiDoc 0.6.0
-
Enhances render action with new data-loading capabilities
-
Adds multi-file data ingest for conversion to attributes. Just separate files with commas in the 'data' field.
-
Adds data file subsection specificity. Optionally indicate a block inside a YAML data file for loading just that block.
-
Cleans up code and comments
-
Makes minor corrections to README
-
Enables proper acceptance of datasource filenames
-
Enables data ingest to accept arrays by packaging them in new hash
-
Simplifies the 'slugify' filter, which was simply not working
I removed the copyright notice because now I'm basically only taking one line that I think nobody would argue is a unique work, and I'd rather not sully the far cooler slugify method in the original -
Enables direct conversion of semi-structured data to YAML or JSON, which
-
Resolves issue #5, adds instructions to README
-
Makes slight additions to README text
-
Adds codewriting.org link to README
-
Bumps gem version to 0.6.0
v0.5.2 Patch Release
Binary Package at Rubygems.
v0.5.1 Patch Release
Captures style:
setting for HTML5 Asciidoctor builds.
Binary Package at Rubygems.
v0.5.0 Release
Adds basic Asciidoctor rendering, with HTML and PDF output.
Does not implement entire Asciidoctor API, but enhances by enabling external sources for AsciiDoc attribute definitions.
Binary package at Rubygems.
v0.4.0 - Migrations
This release adds simple file and directory copying functionality, generally intended for making copies of source assets in a temporary build directory for post-preprocessing.
Binary package at Rubygems.
v0.3.0 - Configuration Restructure
Refactor for v2 config file schema * Define classes for objects like datasource references, config file structure, and the build steps. * Enable a configuration structure that allows steps with designated actions, performed consecutively.
Release 0.2.0 - regex parsing
This release adds regex parsing capabilities for ingesting data fro free-form files. Any file organized as one-record-per-line can now be converted into variables for parsing with LiquiDoc's template engine.