diff --git a/Gruntfile.js b/Gruntfile.js
index 8c62d6da16..b3b21448f8 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -59,7 +59,7 @@ module.exports = function (grunt) {
src: 'js/tests/unit/*.js'
},
assets: {
- src: ['docs/assets/js/_src/*.js', 'docs/assets/js/*.js', '!docs/assets/js/*.min.js']
+ src: ['docs/assets/js/src/*.js', 'docs/assets/js/*.js', '!docs/assets/js/*.min.js']
}
},
@@ -118,21 +118,22 @@ module.exports = function (grunt) {
},
customize: {
src: [
- 'docs/assets/js/_vendor/less.min.js',
- 'docs/assets/js/_vendor/jszip.min.js',
- 'docs/assets/js/_vendor/uglify.min.js',
- 'docs/assets/js/_vendor/blob.js',
- 'docs/assets/js/_vendor/filesaver.js',
+ 'docs/assets/js/vendor/less.min.js',
+ 'docs/assets/js/vendor/jszip.min.js',
+ 'docs/assets/js/vendor/uglify.min.js',
+ 'docs/assets/js/vendor/blob.js',
+ 'docs/assets/js/vendor/filesaver.js',
'docs/assets/js/raw-files.min.js',
- 'docs/assets/js/_src/customizer.js'
+ 'docs/assets/js/src/customizer.js'
],
dest: 'docs/assets/js/customize.min.js'
},
docsJs: {
+ // NOTE: This src list is duplicated in footer.html; if making changes here, be sure to update the other copy too.
src: [
- 'docs/assets/js/_vendor/holder.js',
- 'docs/assets/js/_vendor/ZeroClipboard.min.js',
- 'docs/assets/js/_src/application.js'
+ 'docs/assets/js/vendor/holder.js',
+ 'docs/assets/js/vendor/ZeroClipboard.min.js',
+ 'docs/assets/js/src/application.js'
],
dest: 'docs/assets/js/docs.min.js'
}
@@ -198,7 +199,7 @@ module.exports = function (grunt) {
src: 'dist/css/<%= pkg.name %>-theme.css'
},
docs: {
- src: 'docs/assets/css/_src/docs.css'
+ src: 'docs/assets/css/src/docs.css'
},
examples: {
expand: true,
@@ -224,7 +225,7 @@ module.exports = function (grunt) {
ids: false,
'overqualified-elements': false
},
- src: 'docs/assets/css/_src/docs.css'
+ src: 'docs/assets/css/src/docs.css'
}
},
@@ -242,8 +243,8 @@ module.exports = function (grunt) {
},
docs: {
src: [
- 'docs/assets/css/_src/docs.css',
- 'docs/assets/css/_src/pygments-manni.css'
+ 'docs/assets/css/src/docs.css',
+ 'docs/assets/css/src/pygments-manni.css'
],
dest: 'docs/assets/css/docs.min.css'
}
@@ -277,7 +278,7 @@ module.exports = function (grunt) {
},
docs: {
files: {
- 'docs/assets/css/_src/docs.css': 'docs/assets/css/_src/docs.css'
+ 'docs/assets/css/src/docs.css': 'docs/assets/css/src/docs.css'
}
}
},
diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html
index 0bb3eafd33..f962d19cc3 100644
--- a/docs/_includes/footer.html
+++ b/docs/_includes/footer.html
@@ -33,8 +33,18 @@
================================================== -->
+{% if site.github %}
+{% else %}
+
+{% endif %}
+{% if site.github %}
+{% else %}
+
+
+
+{% endif %}
{% if page.slug == "customize" %}
{% endif %}
diff --git a/docs/_includes/header.html b/docs/_includes/header.html
index e60853ef49..6a40f73825 100644
--- a/docs/_includes/header.html
+++ b/docs/_includes/header.html
@@ -14,14 +14,27 @@
+{% if site.github %}
+{% else %}
+
+{% endif %}
{% if page.slug == "css" or page.slug == "components" or page.slug == "js" %}
+{% if site.github %}
+{% else %}
+
+{% endif %}
{% endif %}
+{% if site.github %}
+{% else %}
+
+
+{% endif %}
diff --git a/docs/assets/css/_src/docs.css b/docs/assets/css/src/docs.css
similarity index 100%
rename from docs/assets/css/_src/docs.css
rename to docs/assets/css/src/docs.css
diff --git a/docs/assets/css/_src/pygments-manni.css b/docs/assets/css/src/pygments-manni.css
similarity index 100%
rename from docs/assets/css/_src/pygments-manni.css
rename to docs/assets/css/src/pygments-manni.css
diff --git a/docs/assets/js/_src/application.js b/docs/assets/js/src/application.js
similarity index 100%
rename from docs/assets/js/_src/application.js
rename to docs/assets/js/src/application.js
diff --git a/docs/assets/js/_src/customizer.js b/docs/assets/js/src/customizer.js
similarity index 100%
rename from docs/assets/js/_src/customizer.js
rename to docs/assets/js/src/customizer.js
diff --git a/docs/assets/js/_vendor/ZeroClipboard.min.js b/docs/assets/js/vendor/ZeroClipboard.min.js
similarity index 100%
rename from docs/assets/js/_vendor/ZeroClipboard.min.js
rename to docs/assets/js/vendor/ZeroClipboard.min.js
diff --git a/docs/assets/js/_vendor/blob.js b/docs/assets/js/vendor/blob.js
similarity index 100%
rename from docs/assets/js/_vendor/blob.js
rename to docs/assets/js/vendor/blob.js
diff --git a/docs/assets/js/_vendor/filesaver.js b/docs/assets/js/vendor/filesaver.js
similarity index 100%
rename from docs/assets/js/_vendor/filesaver.js
rename to docs/assets/js/vendor/filesaver.js
diff --git a/docs/assets/js/_vendor/holder.js b/docs/assets/js/vendor/holder.js
similarity index 100%
rename from docs/assets/js/_vendor/holder.js
rename to docs/assets/js/vendor/holder.js
diff --git a/docs/assets/js/_vendor/jszip.min.js b/docs/assets/js/vendor/jszip.min.js
similarity index 100%
rename from docs/assets/js/_vendor/jszip.min.js
rename to docs/assets/js/vendor/jszip.min.js
diff --git a/docs/assets/js/_vendor/less.min.js b/docs/assets/js/vendor/less.min.js
similarity index 100%
rename from docs/assets/js/_vendor/less.min.js
rename to docs/assets/js/vendor/less.min.js
diff --git a/docs/assets/js/_vendor/uglify.min.js b/docs/assets/js/vendor/uglify.min.js
similarity index 100%
rename from docs/assets/js/_vendor/uglify.min.js
rename to docs/assets/js/vendor/uglify.min.js