You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by nk...@apache.org on 2019/11/14 15:57:33 UTC

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

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

nkruber pushed a commit to branch release-1.8
in repository https://gitbox.apache.org/repos/asf/flink.git

commit d9b0c4ba032000cea992d4a3eccf96b2cc6b8f43
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 6b3d0b4..4fbbe71 100644
--- a/docs/Gemfile
+++ b/docs/Gemfile
@@ -25,6 +25,7 @@ gem 'addressable', '2.4.0'
 gem 'octokit', '~> 4.3.0'
 gem 'therubyracer', '0.12.2'
 gem 'json', '2.0.4'
+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 1faadc0..2daa8dc 100644
--- a/docs/Gemfile.lock
+++ b/docs/Gemfile.lock
@@ -39,6 +39,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)
@@ -76,6 +78,7 @@ DEPENDENCIES
   hawkins
   jekyll (= 3.7.2)
   json (= 2.0.4)
+  liquid-c (= 4.0.0)
   octokit (~> 4.3.0)
   therubyracer (= 0.12.2)
 
@@ -83,4 +86,4 @@ RUBY VERSION
    ruby 2.3.1p112
 
 BUNDLED WITH
-   1.16.1
+   1.17.2