Skip to content

Commit

Permalink
[hotfix][docs] Temporarily disable liveserve
Browse files Browse the repository at this point in the history
./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.
  • Loading branch information
NicoK committed Nov 14, 2019
1 parent 135472e commit 8fc632d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 3 additions & 3 deletions docs/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 0 additions & 4 deletions docs/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8fc632d

Please sign in to comment.