Skip to content

Commit

Permalink
[FLINK-13723][docs] Use liquid-c for faster doc generation
Browse files Browse the repository at this point in the history
Jekyll requires liquid and only optionally uses liquid-c if available. The
latter uses natively-compiled code and reduces generation time by ~5% for me.

This closes apache#9441
  • Loading branch information
NicoK authored and StephanEwen committed Aug 26, 2019
1 parent e670293 commit ac375e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ gem 'therubyracer', '0.12.2'
gem 'json', '2.0.4'
gem 'jekyll-multiple-languages', '2.0.3'
gem 'jekyll-paginate', '1.1.0'
gem 'liquid-c', '4.0.0' # speed-up site generation

group :jekyll_plugins do
gem 'hawkins'
Expand Down
5 changes: 4 additions & 1 deletion docs/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ GEM
kramdown (1.16.2)
libv8 (3.16.14.19)
liquid (4.0.0)
liquid-c (4.0.0)
liquid (>= 3.0.0)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
Expand Down Expand Up @@ -80,11 +82,12 @@ DEPENDENCIES
jekyll-multiple-languages (= 2.0.3)
jekyll-paginate (= 1.1.0)
json (= 2.0.4)
liquid-c (= 4.0.0)
octokit (~> 4.3.0)
therubyracer (= 0.12.2)

RUBY VERSION
ruby 2.3.1p112

BUNDLED WITH
1.16.1
1.17.2

0 comments on commit ac375e4

Please sign in to comment.