summaryrefslogtreecommitdiffstats
path: root/lib/generate/site/index.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-04-05 13:54:00 -0700
committerSamy Pessé <samypesse@gmail.com>2014-04-05 13:54:00 -0700
commit511fc7bd46acf682bd82a6d0d08ea2d06bd6d2f5 (patch)
tree49b852cb62e7e02aec351b76c6823db97be3c764 /lib/generate/site/index.js
parent694afeccc5e708d5aa7c1c0071d9efaf2719b48e (diff)
parent959a2d830a634e9c0654cc747f5dd82ea66ef6b1 (diff)
downloadgitbook-511fc7bd46acf682bd82a6d0d08ea2d06bd6d2f5.zip
gitbook-511fc7bd46acf682bd82a6d0d08ea2d06bd6d2f5.tar.gz
gitbook-511fc7bd46acf682bd82a6d0d08ea2d06bd6d2f5.tar.bz2
Merge branch 'master' of https://github.com/GitbookIO/gitbook
Conflicts: theme/assets/app.js
Diffstat (limited to 'lib/generate/site/index.js')
-rw-r--r--lib/generate/site/index.js4
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() {