diff options
author | Aaron O'Mullan <aaron.omullan@friendco.de> | 2014-04-05 01:05:31 -0700 |
---|---|---|
committer | Aaron O'Mullan <aaron.omullan@friendco.de> | 2014-04-05 01:05:31 -0700 |
commit | ac258329ff37053bb23b17a8d17a23cf9ab822e0 (patch) | |
tree | fb0cbff1d02bd1d2bf3a59227891532cab8a4862 /lib/generate/site/index.js | |
parent | d5bd08dcd21c838ef9da5d8a54ee5f847b737a02 (diff) | |
download | gitbook-ac258329ff37053bb23b17a8d17a23cf9ab822e0.zip gitbook-ac258329ff37053bb23b17a8d17a23cf9ab822e0.tar.gz gitbook-ac258329ff37053bb23b17a8d17a23cf9ab822e0.tar.bz2 |
Copy README.html to index.html instead of symlimk
Fixes #28
Diffstat (limited to 'lib/generate/site/index.js')
-rw-r--r-- | lib/generate/site/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/generate/site/index.js b/lib/generate/site/index.js index 84a0d2f..487b6d6 100644 --- a/lib/generate/site/index.js +++ b/lib/generate/site/index.js @@ -77,8 +77,8 @@ Generator.prototype.convertFile = function(content, _input) { Generator.prototype.finish = function() { var that = this; - return fs.symlink( - 'README.html', + return fs.copy( + path.join(that.options.output, 'README.html'), path.join(that.options.output, 'index.html') ) .then(function() { |