From 017a26457c1131cb58d1b983c14850150b90c48b Mon Sep 17 00:00:00 2001 From: chrisfinazzo Date: Fri, 27 Mar 2015 10:28:51 -0400 Subject: [PATCH 1/4] Add a warning label --- site/_docs/continuous-integration.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/site/_docs/continuous-integration.md b/site/_docs/continuous-integration.md index 17823e1b..0b671e21 100644 --- a/site/_docs/continuous-integration.md +++ b/site/_docs/continuous-integration.md @@ -158,9 +158,11 @@ environment variable `NOKOGIRI_USE_SYSTEM_LIBRARIES` to `true`. ### Exclude `vendor` -Travis bundles all gems in the `vendor` directory on its build servers, -which Jekyll will mistakenly read and explode on. To avoid this, exclude -`vendor` in your `_config.yml`: +
+
Be sure to exclude vendor from your _config.yml
+

Travis bundles all gems in the vendor directory on its build servers, +which Jekyll will mistakenly read and explode on.

+
{% highlight yaml %} exclude: [vendor] From ebc6dff37e153e7337bcdb8ea1f7160081a55aa3 Mon Sep 17 00:00:00 2001 From: chrisfinazzo Date: Fri, 27 Mar 2015 10:31:40 -0400 Subject: [PATCH 2/4] Don't repeat yourself --- site/_docs/continuous-integration.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/site/_docs/continuous-integration.md b/site/_docs/continuous-integration.md index 0b671e21..507e4669 100644 --- a/site/_docs/continuous-integration.md +++ b/site/_docs/continuous-integration.md @@ -156,8 +156,6 @@ environment variable `NOKOGIRI_USE_SYSTEM_LIBRARIES` to `true`. ## 4. Gotchas -### Exclude `vendor` -
Be sure to exclude vendor from your _config.yml

Travis bundles all gems in the vendor directory on its build servers, From e82cb3115d4b67b0c1153b3e2694fabfbc5770a6 Mon Sep 17 00:00:00 2001 From: chrisfinazzo Date: Fri, 27 Mar 2015 10:42:09 -0400 Subject: [PATCH 3/4] Line wrapping --- site/_docs/continuous-integration.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/site/_docs/continuous-integration.md b/site/_docs/continuous-integration.md index 507e4669..3c39eb7e 100644 --- a/site/_docs/continuous-integration.md +++ b/site/_docs/continuous-integration.md @@ -157,9 +157,10 @@ environment variable `NOKOGIRI_USE_SYSTEM_LIBRARIES` to `true`. ## 4. Gotchas

-
Be sure to exclude vendor from your _config.yml
-

Travis bundles all gems in the vendor directory on its build servers, -which Jekyll will mistakenly read and explode on.

+
Be sure to exclude vendor from your + _config.yml
+

Travis bundles all gems in the vendor directory on its build + servers, which Jekyll will mistakenly read and explode on.

{% highlight yaml %} From ec7474f55c1d919829b58221994a80470660ead7 Mon Sep 17 00:00:00 2001 From: chrisfinazzo Date: Fri, 27 Mar 2015 16:50:28 -0400 Subject: [PATCH 4/4] Only use 3 sections --- site/_docs/continuous-integration.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/site/_docs/continuous-integration.md b/site/_docs/continuous-integration.md index 3c39eb7e..065cd4e9 100644 --- a/site/_docs/continuous-integration.md +++ b/site/_docs/continuous-integration.md @@ -154,8 +154,6 @@ which it must compile each time it is installed. Luckily, you can dramatically decrease the install time of Nokogiri by setting the environment variable `NOKOGIRI_USE_SYSTEM_LIBRARIES` to `true`. -## 4. Gotchas -
Be sure to exclude vendor from your _config.yml