Edit the Gemfile to use this branch's gem in this repo (change gem liquidoc to gem 'liquidoc', :git => 'https://github.com/scalingdata/liquidoc-gem', :branch => 'regex-parsing').
Run bundle update to update dependencies.
Run bundle exec liquidoc -c _configs/liquidoc -c _configs/cfg_build-grok-patterns.yml from the liquidoc-boilerplate base directory.
Output should write to _output/. Data should be populated into formatted output.
Additionally, previous commands should still work against sample data in boilerplate repo. Try bundle exec liquidoc -c _configs/sample.yml to build sample files using non-regex type.
Also try against Rocana repo (scalingdata/rocana, which is private):
git pull the branch ROCANA-11746 and cd to rocana-content/src/patterns.
Edit the Gemfile to use this branch's gem in this repo (change gem liquidoc to gem 'liquidoc', :git => 'https://github.com/scalingdata/liquidoc-gem', :branch => 'regex-parsing').
Run bundle update to update dependencies.
Run bundle exec liquidoc -c cfg_build-grok-patterns.yml from the liquidoc-boilerplate base directory.
Output writes to its own directory for now. Data should be populated into formatted output as reported in console.
This PR is a release candidate for LiquiDoc 0.2.0.
It incorporates regex-based data source parsing, with one-record-per-line and named-group matching to establish variables.
To test, use the boilerplate repo at https://github.com/briandominick/liquidoc-boilerplate/pull/1.
git pull
the branchregex-examples
.Gemfile
to use this branch's gem in this repo (changegem liquidoc
togem 'liquidoc', :git => 'https://github.com/scalingdata/liquidoc-gem', :branch => 'regex-parsing'
).bundle update
to update dependencies.bundle exec liquidoc -c _configs/liquidoc -c _configs/cfg_build-grok-patterns.yml
from theliquidoc-boilerplate
base directory._output/
. Data should be populated into formatted output.bundle exec liquidoc -c _configs/sample.yml
to build sample files using non-regex type.Also try against Rocana repo (
scalingdata/rocana
, which is private):git pull
the branchROCANA-11746
andcd
torocana-content/src/patterns
.Gemfile
to use this branch's gem in this repo (changegem liquidoc
togem 'liquidoc', :git => 'https://github.com/scalingdata/liquidoc-gem', :branch => 'regex-parsing'
).bundle update
to update dependencies.bundle exec liquidoc -c cfg_build-grok-patterns.yml
from theliquidoc-boilerplate
base directory.