diff --git a/Gruntfile.js b/Gruntfile.js
index d5e887e..964a6a1 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -52,11 +52,21 @@ module.exports = function(grunt) {
'<%= meta.distPath %><%= pkg.name %>.css': 'sass/ratchet.scss',
'<%= meta.distPath %>ios-theme.css': 'sass/theme-ios.scss',
'<%= meta.distPath %>android-theme.css': 'sass/theme-android.scss',
- '<%= meta.docsAssetsPath %>css/docs.css': 'sass/docs.scss',
- '<%= meta.docsPath %><%= pkg.name %>.css': '<%= meta.distPath %><%= pkg.name %>.css'
+ '<%= meta.docsAssetsPath %>css/docs.css': 'sass/docs.scss'
}
}
},
+
+ copy: {
+ docs: {
+ expand: true,
+ cwd: 'dist',
+ src: [
+ '*'
+ ],
+ dest: 'docs/dist'
+ }
+ },
watch: {
scripts: {
@@ -70,11 +80,13 @@ module.exports = function(grunt) {
// Load the plugins
grunt.loadNpmTasks('grunt-contrib-concat');
+ grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-jekyll');
+
// Default task(s).
- grunt.registerTask('default', ['sass', 'concat']);
- grunt.registerTask('build', ['sass', 'concat']);
+ grunt.registerTask('default', ['sass', 'concat', 'copy']);
+ grunt.registerTask('build', ['sass', 'concat', 'copy']);
};
diff --git a/docs/dist/ratchet.js b/docs/dist/ratchet.js
index d5ca79a..77b5c3d 100644
--- a/docs/dist/ratchet.js
+++ b/docs/dist/ratchet.js
@@ -1,12 +1,3 @@
-/*
- * =====================================================
- * Ratchet v2.0.0
- * Copyright 2014 Connor Sears
- * Licensed under http://www.opensource.org/licenses/MIT
- *
- * Designed by @connors.
- * =====================================================
- */
/*
* =====================================================
* Ratchet v2.0.0
diff --git a/docs/dist/template.html b/docs/dist/template.html
new file mode 100644
index 0000000..d89b5cc
--- /dev/null
+++ b/docs/dist/template.html
@@ -0,0 +1,74 @@
+
+
+
+
+ Ratchet template page
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Thanks for downloading Ratchet. This is an example HTML page that's linked up to compiled Ratchet CSS and JS, has the proper meta tags and the HTML structure. Need some more help before you start filling this with your own content? Check out some Ratchet resources:
+
+
+
+
+
\ No newline at end of file
diff --git a/package.json b/package.json
index fb91445..c19af00 100644
--- a/package.json
+++ b/package.json
@@ -29,6 +29,7 @@
"devDependencies": {
"grunt": "~0.4.2",
"grunt-contrib-concat": "~0.3.0",
+ "grunt-contrib-copy": "~0.5.0",
"grunt-contrib-jshint": "~0.8.0",
"grunt-contrib-nodeunit": "~0.3.0",
"grunt-contrib-sass": "~0.7.1",