You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Plugins list, can contain "-name" for removing default plugins
103
99
"plugins": [],
104
100
@@ -153,7 +149,13 @@ Here are the options that can be stored in this file:
153
149
"left": 62,
154
150
"top": 36,
155
151
"bottom": 36
156
-
}
152
+
},
153
+
154
+
//Header HTML template. Available variables: _PAGENUM_, _TITLE_, _AUTHOR_ and _SECTION_.
155
+
"headerTemplate": null,
156
+
157
+
//Footer HTML template. Available variables: _PAGENUM_, _TITLE_, _AUTHOR_ and _SECTION_.
158
+
"footerTemplate": null
157
159
}
158
160
}
159
161
```
@@ -166,7 +168,6 @@ GitBook can generate your book in the following formats:
166
168
167
169
***Static Website**: This is the default format. It generates a complete interactive static website that can be, for example, hosted on GitHub Pages.
168
170
***eBook**: A complete eBook with exercise solutions at the end of the book. Generate this format using: ```gitbook ebook ./myrepo```. You need to have [ebook-convert](http://manual.calibre-ebook.com/cli/ebook-convert.html) installed. The output format could be **PDF**, **ePub** or **MOBI**.
169
-
***Single Page**: The book will be stored in a single printable HTML page. This format is used for conversion to PDF or eBook. Generate this format using: ```gitbook build ./myrepo -f page```.
170
171
***JSON**: This format is used for debugging or extracting metadata from a book. Generate this format using: ```gitbook build ./myrepo -f json```.
171
172
172
173
## Book Format
@@ -228,7 +229,7 @@ With it's definition, this can contain bold text and all other kinds of inline m
228
229
229
230
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`).
230
231
231
-
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`.
232
+
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)).
0 commit comments