From a471f71cbbf95a2eaeafabe01dbe66b87727c1b3 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Wed, 22 Oct 2014 09:14:23 -0400 Subject: [PATCH 1/2] Use https://www.virtualbox.org for all VirtualBox links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From an internal ticket: > Just noticed that the Link to Virtualbox points to the not-www-Subdomain. And on Domain i got a https-error. If you change the link to the www-Subdomain, there’s no error. --- website/docs/source/v2/getting-started/index.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/source/v2/getting-started/index.html.md b/website/docs/source/v2/getting-started/index.html.md index fd73de81b..687294274 100644 --- a/website/docs/source/v2/getting-started/index.html.md +++ b/website/docs/source/v2/getting-started/index.html.md @@ -39,7 +39,7 @@ $ vagrant up ``` After running the above two commands, you'll have a fully running -virtual machine in [VirtualBox](http://virtualbox.org) running +virtual machine in [VirtualBox](https://www.virtualbox.org) running Ubuntu 12.04 LTS 32-bit. You can SSH into this machine with `vagrant ssh`, and when you're done playing around, you can remove all traces of it with `vagrant destroy`. From 9ad586dac464e70ec62592ada4789d7200e1fc22 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Wed, 22 Oct 2014 09:17:09 -0400 Subject: [PATCH 2/2] Tune HTML minification --- website/docs/config.rb | 8 +++++++- website/www/config.rb | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/website/docs/config.rb b/website/docs/config.rb index acb470d48..40a858875 100644 --- a/website/docs/config.rb +++ b/website/docs/config.rb @@ -59,7 +59,13 @@ set :markdown, fenced_code_blocks: true configure :build do activate :asset_hash activate :minify_css - activate :minify_html + activate :minify_html do |html| + html.remove_quotes = false + html.remove_script_attributes = false + html.remove_multi_spaces = false + html.remove_http_protocol = false + html.remove_https_protocol = false + end activate :minify_javascript # Enable cache buster diff --git a/website/www/config.rb b/website/www/config.rb index 495ffad17..d8ea935b6 100644 --- a/website/www/config.rb +++ b/website/www/config.rb @@ -33,6 +33,12 @@ end configure :build do activate :asset_hash activate :minify_css - activate :minify_html + activate :minify_html do |html| + html.remove_quotes = false + html.remove_script_attributes = false + html.remove_multi_spaces = false + html.remove_http_protocol = false + html.remove_https_protocol = false + end activate :minify_javascript end