You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by se...@apache.org on 2019/08/26 08:24:16 UTC

[flink] 06/10: [FLINK-13723][docs] Use liquid-c for faster doc generation

This is an automated email from the ASF dual-hosted git repository.

sewen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git

commit ac375e4f94c0d4def84a4016bf9055c6a9f7314c
Author: Nico Kruber <ni...@ververica.com>
AuthorDate: Wed Aug 14 15:20:28 2019 +0200

    [FLINK-13723][docs] Use liquid-c for faster doc generation
    
    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 #9441
---
 docs/Gemfile      | 1 +
 docs/Gemfile.lock | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/docs/Gemfile b/docs/Gemfile
index 1ddc989..b519eb9 100644
--- a/docs/Gemfile
+++ b/docs/Gemfile
@@ -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'
diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock
index fa5d20b..09b02e8 100644
--- a/docs/Gemfile.lock
+++ b/docs/Gemfile.lock
@@ -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)
@@ -80,6 +82,7 @@ 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)
 
@@ -87,4 +90,4 @@ RUBY VERSION
    ruby 2.3.1p112
 
 BUNDLED WITH
-   1.16.1
+   1.17.2