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

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

commit e7b4f2006313a6b4fe25643130f41e9f888ecf48
Author: Nico Kruber <n...@ververica.com>
AuthorDate: Wed Aug 14 23:00:09 2019 +0200

    [hotfix][docs] Temporarily disable liveserve
    
    ./build_docs.sh -i previously did not only enable incremental documentation
    building while serving the docs, it also enabled a 'liveserve' mode that
    automatically reloaded pages in the browser when they changed. This is based
    on the 'hawkins' module which is not (yet) compatible with jekyll 4.0 which 
we
    need to (significantly) improve build times.
    
    This disables the liveserve mode and remove the hawkins module until a new
    version is available.
---
 docs/Gemfile       | 6 +++---
 docs/Gemfile.lock  | 4 ----
 docs/build_docs.sh | 2 +-
 3 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/docs/Gemfile b/docs/Gemfile
index 70bd4df..ef5086e 100644
--- a/docs/Gemfile
+++ b/docs/Gemfile
@@ -30,6 +30,6 @@ gem 'jekyll-paginate', '1.1.0'
 gem 'liquid-c', '4.0.0' # speed-up site generation
 gem 'sassc', '2.0.1' # speed-up site generation
 
-group :jekyll_plugins do
-  gem 'hawkins'
-end
+# group :jekyll_plugins do
+#   gem 'hawkins'
+# end
diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock
index d8bd82e..f6aedee 100644
--- a/docs/Gemfile.lock
+++ b/docs/Gemfile.lock
@@ -13,9 +13,6 @@ GEM
       multipart-post (>= 1.2, < 3)
     ffi (1.11.1)
     forwardable-extended (2.6.0)
-    hawkins (2.0.5)
-      em-websocket (~> 0.5)
-      jekyll (~> 3.1)
     http_parser.rb (0.6.0)
     i18n (0.9.5)
       concurrent-ruby (~> 1.0)
@@ -83,7 +80,6 @@ PLATFORMS
 
 DEPENDENCIES
   addressable (= 2.6.0)
-  hawkins
   jekyll (= 3.7.2)
   jekyll-multiple-languages (= 2.0.3)
   jekyll-paginate (= 1.1.0)
diff --git a/docs/build_docs.sh b/docs/build_docs.sh
index 1ab46f1..aecac83 100755
--- a/docs/build_docs.sh
+++ b/docs/build_docs.sh
@@ -64,7 +64,7 @@ while getopts "piez" opt; do
                ;;
                i)
                [[ `${RUBY} -v` =~ 'ruby 1' ]] && echo "Error: building the 
docs with the incremental option requires at least ruby 2.0" && exit 1
-               JEKYLL_CMD="liveserve --baseurl= --watch --incremental"
+               JEKYLL_CMD="serve --baseurl= --watch --incremental"
                ;;
                e)
                JEKYLL_CONFIG="--config _config.yml,_config_dev_en.yml"

Reply via email to