diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-10-13 11:10:28 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-10-13 11:10:28 +0200 |
commit | 78e25f8252a2eaa91bbd6a6bd0377e11aa629a10 (patch) | |
tree | 859b780ba0e4031c8c73191a372c0024efc2f421 | |
parent | 09f42f57e1260dd29ca652f12ed858bdd5ef450b (diff) | |
download | gitbook-78e25f8252a2eaa91bbd6a6bd0377e11aa629a10.zip gitbook-78e25f8252a2eaa91bbd6a6bd0377e11aa629a10.tar.gz gitbook-78e25f8252a2eaa91bbd6a6bd0377e11aa629a10.tar.bz2 |
Add link to gitbook.gitignore
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | lib/generate/page/index.js | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -194,7 +194,7 @@ With it's definition, this can contain bold text and all other kinds of inline m GitBook will read the `.gitignore`, `.bookignore` and `.ignore` files to get a list of files and folders to skip. (The format inside those files follows the same convention as `.gitignore`). -Best practices for the `.gitignore` is to ignore build files from [**node.js**](https://github.com/github/gitignore/blob/master/Node.gitignore) (`node_modules`, ...) and build files from GitBook: `_book`, `*.epub`, `*.mobi` and `*.pdf`. +Best practices for the `.gitignore` is to ignore build files from **node.js** (`node_modules`, ...) and build files from GitBook: `_book`, `*.epub`, `*.mobi` and `*.pdf` ([Download GitBook.gitignore](https://github.com/github/gitignore/blob/master/GitBook.gitignore)). #### Cover diff --git a/lib/generate/page/index.js b/lib/generate/page/index.js index 43229a0..fb7c59d 100644 --- a/lib/generate/page/index.js +++ b/lib/generate/page/index.js @@ -19,7 +19,6 @@ var Generator = function() { }; util.inherits(Generator, BaseGenerator); -// Load all templates Generator.prototype.loadTemplates = function() { this.template = swig.compileFile( this.plugins.template("page") || path.resolve(this.options.theme, 'templates/page.html') |