diff --git a/.gitignore b/.gitignore index e7faf75..3645007 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ Icon # Files that might appear on external disk .Spotlight-V100 .Trashes +.grunt diff --git a/.npmignore b/.npmignore index f1250e5..300e945 100644 --- a/.npmignore +++ b/.npmignore @@ -2,3 +2,4 @@ support test examples *.sock +.grunt diff --git a/Gruntfile.js b/Gruntfile.js index 170e0e1..1cb1b8d 100755 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -67,13 +67,26 @@ module.exports = function ConfigureGruntService(grunt) { copy: { docs: { files: [{ - src: ['docs/lib/intercom.io.js.html'], + src: './docs/intercom.io.js.html', dest: './docs/index.html' - }, { - src: ['docs/lib/*.html'], - dest: './docs/' }] } + }, + 'string-replace': { + docs: { + files: [{ + expand: true, + cwd: 'docs/lib/', + src: '*', + dest: 'docs/' + }], + options: { + replacements: [{ + pattern: /\.\.\//g, + replacement: './' + }] + } + } } }); @@ -87,7 +100,7 @@ module.exports = function ConfigureGruntService(grunt) { // Running `grunt doc` will generate documentation for Quad. // The documentation will be put into the `./docs` folder in project's root // folder. - grunt.registerTask('doc', ['docker', 'shell:sweetenDocker', 'copy:docs']); + grunt.registerTask('doc', ['docker', 'shell:sweetenDocker', 'string-replace:docs', 'copy:docs', 'gh-pages']); // @note `grunt docs` provides an alias for the `grunt doc` task grunt.registerTask('docs', ['doc']); }; diff --git a/History.md b/History.md index 279f1be..30cfea9 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,9 @@ +1.0.8 / 2015-4-25 +================== + + * Added `intercom.getPages` support + 1.0.7 / 2015-3-06 ================== diff --git a/LICENSE.md b/LICENSE.md index b7699c5..ff13f78 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ # The MIT License (MIT) -Copyright (c) 2013-2014 Tarun Chaudhry <tarunc92@gmail.com> +Copyright (c) 2013-2015 Tarun Chaudhry <tarunc92@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Readme.md b/Readme.md index f65ef56..e697e00 100644 --- a/Readme.md +++ b/Readme.md @@ -177,7 +177,7 @@ __Note__: Every method returns a promise but accepts callbacks too. (The MIT License) -Copyright (c) 2014 Mike McDonald <mcdonald@firebase.com> +Copyright (c) 2013-2015 Mike McDonald <mcdonald@firebase.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/docs/IntercomError.js.html b/docs/IntercomError.js.html index c44fa87..9ddd368 100644 --- a/docs/IntercomError.js.html +++ b/docs/IntercomError.js.html @@ -3,16 +3,16 @@
-AbstractError
error.
-
AbstractError
error.
-Inherit from Error
.
-
Inherit from Error
.
-IntercomError
error.
-
IntercomError
error.
-Inherit from AbstractError
.
-
Inherit from AbstractError
.
-Expose IntercomError
.
-
Expose IntercomError
.
44
+
diff --git a/docs/docco.css b/docs/docco.css
index c9fc822..62c2797 100644
--- a/docs/docco.css
+++ b/docs/docco.css
@@ -30,3 +30,9 @@
.doc-tag * { color: #222; }
.doc-tag { color: #777; }
.doc-tag * { color: #222; }
+.doc-tag { color: #777; }
+.doc-tag * { color: #222; }
+.doc-tag { color: #777; }
+.doc-tag * { color: #222; }
+.doc-tag { color: #777; }
+.doc-tag * { color: #222; }
diff --git a/docs/index.html b/docs/index.html
index f091a76..22afc54 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -3,16 +3,16 @@
intercom.io.js
-
-
+
+
-
-
-
-
-
+
+
+
+
+