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:37 UTC
[flink] 07/08: [FLINK-13726][docs] Build docs with jekyll
4.0.0.pre.beta1
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 adbf065ec2660ee63e282f0b6831d41d77d75f46
Author: Nico Kruber <ni...@ververica.com>
AuthorDate: Wed Aug 14 23:05:00 2019 +0200
[FLINK-13726][docs] Build docs with jekyll 4.0.0.pre.beta1
This significantly reduces the build times, on my machine from 140s to 47s!
This closes #9444
---
docs/.gitignore | 3 ++-
docs/Gemfile | 4 ++--
docs/Gemfile.lock | 19 +++++++++++--------
docs/README.md | 3 +--
4 files changed, 16 insertions(+), 13 deletions(-)
diff --git a/docs/.gitignore b/docs/.gitignore
index 98b6f6b..6b3ce42 100644
--- a/docs/.gitignore
+++ b/docs/.gitignore
@@ -1,6 +1,7 @@
.bundle/
.jekyll-metadata
+.jekyll-cache/
.rubydeps/
content/
ruby2/.bundle/
-ruby2/.rubydeps/
\ No newline at end of file
+ruby2/.rubydeps/
diff --git a/docs/Gemfile b/docs/Gemfile
index 3bb7fea..cd9c708 100644
--- a/docs/Gemfile
+++ b/docs/Gemfile
@@ -18,9 +18,9 @@
source 'https://rubygems.org'
-ruby '>= 2.1.0'
+ruby '>= 2.4.0'
-gem 'jekyll', '3.7.2'
+gem 'jekyll', '4.0.0.pre.beta1'
gem 'addressable', '2.6.0'
gem 'octokit', '4.14.0'
gem 'therubyracer', '0.12.3'
diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock
index affc2ba..0d5228a 100644
--- a/docs/Gemfile.lock
+++ b/docs/Gemfile.lock
@@ -14,27 +14,30 @@ GEM
ffi (1.11.1)
forwardable-extended (2.6.0)
http_parser.rb (0.6.0)
- i18n (0.9.5)
+ i18n (1.6.0)
concurrent-ruby (~> 1.0)
- jekyll (3.7.2)
+ jekyll (4.0.0.pre.beta1)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
- i18n (~> 0.7)
+ i18n (>= 0.9.5, < 2)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 2.0)
- kramdown (~> 1.14)
+ kramdown (~> 2.1)
+ kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
- rouge (>= 1.7, < 4)
+ rouge (~> 3.0)
safe_yaml (~> 1.0)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-watch (2.2.1)
listen (~> 3.0)
json (2.2.0)
- kramdown (1.17.0)
+ kramdown (2.1.0)
+ kramdown-parser-gfm (1.1.0)
+ kramdown (~> 2.0)
libv8 (3.16.14.19)
liquid (4.0.3)
liquid-c (4.0.0)
@@ -78,7 +81,7 @@ PLATFORMS
DEPENDENCIES
addressable (= 2.6.0)
- jekyll (= 3.7.2)
+ jekyll (= 4.0.0.pre.beta1)
json (= 2.2.0)
liquid-c (= 4.0.0)
octokit (= 4.14.0)
@@ -86,7 +89,7 @@ DEPENDENCIES
therubyracer (= 0.12.3)
RUBY VERSION
- ruby 2.3.1p112
+ ruby 2.6.3p62
BUNDLED WITH
1.17.2
diff --git a/docs/README.md b/docs/README.md
index 79af68e..9e9805c 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -42,8 +42,7 @@ If you call the script with the preview flag `build_docs.sh -p`, Jekyll will
start a web server at `localhost:4000` and watch the docs directory for
updates. Use this mode to preview changes locally.
-If you have ruby 2.0 or greater,
-you can call the script with the incremental flag `build_docs.sh -i`.
+You can call the script with the incremental flag `build_docs.sh -i`.
Jekyll will then serve a live preview at `localhost:4000`,
and it will be much faster because it will only rebuild the pages corresponding
to files that are modified. Note that if you are making changes that affect