mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 15:45:13 +00:00
Merge branch 'master' of https://github.com/GitbookIO/gitbook
Conflicts: theme/assets/app.js
This commit is contained in:
@@ -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() {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "gitbook",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"description": "Library and cmd utility to generate GitBooks",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
|
||||
@@ -9,7 +9,10 @@ define([
|
||||
});
|
||||
|
||||
var isAvailable = function() {
|
||||
return (typeof mixpanel !== "undefined");
|
||||
return (
|
||||
typeof mixpanel !== "undefined" &&
|
||||
typeof mixpanel.track === "function"
|
||||
);
|
||||
};
|
||||
|
||||
var track = function(e, data) {
|
||||
|
||||
Reference in New Issue
Block a user