From ea48d2e4480c9626eea2c6557aacaa9f24a0a4ec Mon Sep 17 00:00:00 2001
From: Geremia Taglialatela <tagliala.dev@gmail.com>
Date: Wed, 5 Nov 2014 20:54:44 +0100
Subject: [PATCH] Prefix partial LESS source files with underscore Closes #4907

---
 _config.yml                                   |  2 +-
 ...ered-pulled.less => _bordered-pulled.less} |  0
 less/{core.less => _core.less}                |  0
 less/{fixed-width.less => _fixed-width.less}  |  0
 less/{icons.less => _icons.less}              |  0
 less/{larger.less => _larger.less}            |  0
 less/{list.less => _list.less}                |  0
 less/{mixins.less => _mixins.less}            |  0
 less/{path.less => _path.less}                |  0
 ...ted-flipped.less => _rotated-flipped.less} |  0
 less/{spinning.less => _spinning.less}        |  0
 less/{stacked.less => _stacked.less}          |  0
 less/{variables.less => _variables.less}      |  0
 less/extras.less                              |  2 --
 less/font-awesome.less                        | 24 +++++++++----------
 ...ered-pulled.less => _bordered-pulled.less} |  0
 .../less/{core.less => _core.less}            |  0
 .../{fixed-width.less => _fixed-width.less}   |  0
 .../less/{icons.less => _icons.less}          |  0
 .../less/{larger.less => _larger.less}        |  0
 .../less/{list.less => _list.less}            |  0
 .../less/{mixins.less => _mixins.less}        |  0
 .../less/{path.less => _path.less}            |  0
 ...ted-flipped.less => _rotated-flipped.less} |  0
 .../less/{spinning.less => _spinning.less}    |  0
 .../less/{stacked.less => _stacked.less}      |  0
 .../less/{variables.less => _variables.less}  |  0
 .../font-awesome/less/font-awesome.less       | 24 +++++++++----------
 28 files changed, 25 insertions(+), 27 deletions(-)
 rename less/{bordered-pulled.less => _bordered-pulled.less} (100%)
 rename less/{core.less => _core.less} (100%)
 rename less/{fixed-width.less => _fixed-width.less} (100%)
 rename less/{icons.less => _icons.less} (100%)
 rename less/{larger.less => _larger.less} (100%)
 rename less/{list.less => _list.less} (100%)
 rename less/{mixins.less => _mixins.less} (100%)
 rename less/{path.less => _path.less} (100%)
 rename less/{rotated-flipped.less => _rotated-flipped.less} (100%)
 rename less/{spinning.less => _spinning.less} (100%)
 rename less/{stacked.less => _stacked.less} (100%)
 rename less/{variables.less => _variables.less} (100%)
 delete mode 100644 less/extras.less
 rename src/assets/font-awesome/less/{bordered-pulled.less => _bordered-pulled.less} (100%)
 rename src/assets/font-awesome/less/{core.less => _core.less} (100%)
 rename src/assets/font-awesome/less/{fixed-width.less => _fixed-width.less} (100%)
 rename src/assets/font-awesome/less/{icons.less => _icons.less} (100%)
 rename src/assets/font-awesome/less/{larger.less => _larger.less} (100%)
 rename src/assets/font-awesome/less/{list.less => _list.less} (100%)
 rename src/assets/font-awesome/less/{mixins.less => _mixins.less} (100%)
 rename src/assets/font-awesome/less/{path.less => _path.less} (100%)
 rename src/assets/font-awesome/less/{rotated-flipped.less => _rotated-flipped.less} (100%)
 rename src/assets/font-awesome/less/{spinning.less => _spinning.less} (100%)
 rename src/assets/font-awesome/less/{stacked.less => _stacked.less} (100%)
 rename src/assets/font-awesome/less/{variables.less => _variables.less} (100%)

diff --git a/_config.yml b/_config.yml
index 62d83756d..fd3d37e99 100644
--- a/_config.yml
+++ b/_config.yml
@@ -11,7 +11,7 @@ pygments:         true
 permalink:        pretty
 
 # ensures SCSS files are compiled
-include:          [_*.scss]
+include:          [_*.scss, _*.less]
 
 # used in building icon pages
 icon_meta:        src/icons.yml
diff --git a/less/bordered-pulled.less b/less/_bordered-pulled.less
similarity index 100%
rename from less/bordered-pulled.less
rename to less/_bordered-pulled.less
diff --git a/less/core.less b/less/_core.less
similarity index 100%
rename from less/core.less
rename to less/_core.less
diff --git a/less/fixed-width.less b/less/_fixed-width.less
similarity index 100%
rename from less/fixed-width.less
rename to less/_fixed-width.less
diff --git a/less/icons.less b/less/_icons.less
similarity index 100%
rename from less/icons.less
rename to less/_icons.less
diff --git a/less/larger.less b/less/_larger.less
similarity index 100%
rename from less/larger.less
rename to less/_larger.less
diff --git a/less/list.less b/less/_list.less
similarity index 100%
rename from less/list.less
rename to less/_list.less
diff --git a/less/mixins.less b/less/_mixins.less
similarity index 100%
rename from less/mixins.less
rename to less/_mixins.less
diff --git a/less/path.less b/less/_path.less
similarity index 100%
rename from less/path.less
rename to less/_path.less
diff --git a/less/rotated-flipped.less b/less/_rotated-flipped.less
similarity index 100%
rename from less/rotated-flipped.less
rename to less/_rotated-flipped.less
diff --git a/less/spinning.less b/less/_spinning.less
similarity index 100%
rename from less/spinning.less
rename to less/_spinning.less
diff --git a/less/stacked.less b/less/_stacked.less
similarity index 100%
rename from less/stacked.less
rename to less/_stacked.less
diff --git a/less/variables.less b/less/_variables.less
similarity index 100%
rename from less/variables.less
rename to less/_variables.less
diff --git a/less/extras.less b/less/extras.less
deleted file mode 100644
index 89faf70fc..000000000
--- a/less/extras.less
+++ /dev/null
@@ -1,2 +0,0 @@
-// Extras
-// --------------------------
diff --git a/less/font-awesome.less b/less/font-awesome.less
index 195fd46c6..9c3dfe9c4 100644
--- a/less/font-awesome.less
+++ b/less/font-awesome.less
@@ -3,15 +3,15 @@
  *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
  */
 
-@import "variables.less";
-@import "mixins.less";
-@import "path.less";
-@import "core.less";
-@import "larger.less";
-@import "fixed-width.less";
-@import "list.less";
-@import "bordered-pulled.less";
-@import "spinning.less";
-@import "rotated-flipped.less";
-@import "stacked.less";
-@import "icons.less";
+@import "_variables.less";
+@import "_mixins.less";
+@import "_path.less";
+@import "_core.less";
+@import "_larger.less";
+@import "_fixed-width.less";
+@import "_list.less";
+@import "_bordered-pulled.less";
+@import "_spinning.less";
+@import "_rotated-flipped.less";
+@import "_stacked.less";
+@import "_icons.less";
diff --git a/src/assets/font-awesome/less/bordered-pulled.less b/src/assets/font-awesome/less/_bordered-pulled.less
similarity index 100%
rename from src/assets/font-awesome/less/bordered-pulled.less
rename to src/assets/font-awesome/less/_bordered-pulled.less
diff --git a/src/assets/font-awesome/less/core.less b/src/assets/font-awesome/less/_core.less
similarity index 100%
rename from src/assets/font-awesome/less/core.less
rename to src/assets/font-awesome/less/_core.less
diff --git a/src/assets/font-awesome/less/fixed-width.less b/src/assets/font-awesome/less/_fixed-width.less
similarity index 100%
rename from src/assets/font-awesome/less/fixed-width.less
rename to src/assets/font-awesome/less/_fixed-width.less
diff --git a/src/assets/font-awesome/less/icons.less b/src/assets/font-awesome/less/_icons.less
similarity index 100%
rename from src/assets/font-awesome/less/icons.less
rename to src/assets/font-awesome/less/_icons.less
diff --git a/src/assets/font-awesome/less/larger.less b/src/assets/font-awesome/less/_larger.less
similarity index 100%
rename from src/assets/font-awesome/less/larger.less
rename to src/assets/font-awesome/less/_larger.less
diff --git a/src/assets/font-awesome/less/list.less b/src/assets/font-awesome/less/_list.less
similarity index 100%
rename from src/assets/font-awesome/less/list.less
rename to src/assets/font-awesome/less/_list.less
diff --git a/src/assets/font-awesome/less/mixins.less b/src/assets/font-awesome/less/_mixins.less
similarity index 100%
rename from src/assets/font-awesome/less/mixins.less
rename to src/assets/font-awesome/less/_mixins.less
diff --git a/src/assets/font-awesome/less/path.less b/src/assets/font-awesome/less/_path.less
similarity index 100%
rename from src/assets/font-awesome/less/path.less
rename to src/assets/font-awesome/less/_path.less
diff --git a/src/assets/font-awesome/less/rotated-flipped.less b/src/assets/font-awesome/less/_rotated-flipped.less
similarity index 100%
rename from src/assets/font-awesome/less/rotated-flipped.less
rename to src/assets/font-awesome/less/_rotated-flipped.less
diff --git a/src/assets/font-awesome/less/spinning.less b/src/assets/font-awesome/less/_spinning.less
similarity index 100%
rename from src/assets/font-awesome/less/spinning.less
rename to src/assets/font-awesome/less/_spinning.less
diff --git a/src/assets/font-awesome/less/stacked.less b/src/assets/font-awesome/less/_stacked.less
similarity index 100%
rename from src/assets/font-awesome/less/stacked.less
rename to src/assets/font-awesome/less/_stacked.less
diff --git a/src/assets/font-awesome/less/variables.less b/src/assets/font-awesome/less/_variables.less
similarity index 100%
rename from src/assets/font-awesome/less/variables.less
rename to src/assets/font-awesome/less/_variables.less
diff --git a/src/assets/font-awesome/less/font-awesome.less b/src/assets/font-awesome/less/font-awesome.less
index 619d86a10..979e4174d 100644
--- a/src/assets/font-awesome/less/font-awesome.less
+++ b/src/assets/font-awesome/less/font-awesome.less
@@ -2,15 +2,15 @@
 ---
 {% include code/license.css %}
 
-@import "variables.less";
-@import "mixins.less";
-@import "path.less";
-@import "core.less";
-@import "larger.less";
-@import "fixed-width.less";
-@import "list.less";
-@import "bordered-pulled.less";
-@import "spinning.less";
-@import "rotated-flipped.less";
-@import "stacked.less";
-@import "icons.less";
+@import "_variables.less";
+@import "_mixins.less";
+@import "_path.less";
+@import "_core.less";
+@import "_larger.less";
+@import "_fixed-width.less";
+@import "_list.less";
+@import "_bordered-pulled.less";
+@import "_spinning.less";
+@import "_rotated-flipped.less";
+@import "_stacked.less";
+@import "_icons.less";