fix: allow docs to build on Win platform (#10580)

* fix: allow docs to build on Win platform

* fix: remove unecessary Sass causing Win fails
This commit is contained in:
Stephen Coogan 2019-11-11 05:29:14 +00:00 committed by Franck Nijhof
parent aaa9eeb906
commit 51a5e2bf3a
4 changed files with 36 additions and 22 deletions

14
Gemfile
View File

@ -1,6 +1,6 @@
source "https://rubygems.org"
source 'https://rubygems.org'
ruby "> 2.5.0"
ruby '> 2.5.0'
group :development do
gem 'rake', '13.0.0'
@ -20,3 +20,13 @@ end
gem 'sinatra', '2.0.7'
gem 'nokogiri', '1.10.5'
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
gem 'tzinfo', '~> 1.2'
gem 'tzinfo-data'
end
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.0" if Gem.win_platform?

View File

@ -24,10 +24,12 @@ GEM
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
eventmachine (1.2.7-x64-mingw32)
ffi (1.11.1)
ffi (1.11.1-x64-mingw32)
forwardable-extended (2.6.0)
http_parser.rb (0.6.0)
i18n (1.6.0)
i18n (1.7.0)
concurrent-ruby (~> 1.0)
jekyll (4.0.0)
addressable (~> 2.4)
@ -50,7 +52,7 @@ GEM
jekyll-paginate (1.1.0)
jekyll-redirect-from (0.15.0)
jekyll (>= 3.3, < 5.0)
jekyll-sass-converter (2.0.0)
jekyll-sass-converter (2.0.1)
sassc (> 2.0.1, < 3.0)
jekyll-sitemap (1.3.1)
jekyll (>= 3.7, < 5.0)
@ -62,16 +64,17 @@ GEM
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
listen (3.2.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
mini_portile2 (2.4.0)
multi_json (1.13.1)
multi_json (1.14.1)
mustermann (1.0.3)
nokogiri (1.10.5)
mini_portile2 (~> 2.4.0)
nokogiri (1.10.5-x64-mingw32)
mini_portile2 (~> 2.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.1)
@ -82,15 +85,16 @@ GEM
rb-fsevent (0.10.3)
rb-inotify (0.10.0)
ffi (~> 1.0)
rouge (3.9.0)
rouge (3.12.0)
ruby-enum (0.7.2)
i18n
ruby_dep (1.5.0)
safe_yaml (1.0.5)
sass (3.4.25)
sass-globbing (1.1.5)
sass (>= 3.1)
sassc (2.2.0)
sassc (2.2.1)
ffi (~> 1.9)
sassc (2.2.1-x64-mingw32)
ffi (~> 1.9)
sinatra (2.0.7)
mustermann (~> 1.0)
@ -100,11 +104,17 @@ GEM
stringex (2.8.5)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
tilt (2.0.9)
thread_safe (0.3.6)
tilt (2.0.10)
tzinfo (1.2.5)
thread_safe (~> 0.1)
tzinfo-data (1.2019.3)
tzinfo (>= 1.0.0)
unicode-display_width (1.6.0)
PLATFORMS
ruby
x64-mingw32
DEPENDENCIES
compass (= 1.0.3)
@ -119,6 +129,8 @@ DEPENDENCIES
sass-globbing (= 1.1.5)
sinatra (= 2.0.7)
stringex (= 2.8.5)
tzinfo (~> 1.2)
tzinfo-data
RUBY VERSION
ruby 2.6.2p47

View File

@ -23,6 +23,4 @@
@import "homepage/hero_unit";
@import "helpers/classes";
@import "helpers/grid-fix";
@import "custom/**/*"
@import "helpers/grid-fix";

View File

@ -1,6 +0,0 @@
// You can freely create SCSS files within this Custom directory
// and they will be imported into the end of the theme's output CSS.
// The directory is loaded to increase abstraction and reduce the amount of
// changes to be made to the Oscailte theme itself.
// THESE FILES AREA LOADED ALPHABETICALLY