summaryrefslogtreecommitdiffstats
path: root/book.json
diff options
context:
space:
mode:
authorCorentinLGS <corentinlgs@gmail.com>2018-08-30 11:18:19 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:22:48 +0200
commit31a7e02cf28dc5983cc6b9ac5eb7e86535e02f17 (patch)
treeaf6c57200a753b63778fbeff439abad59985a75d /book.json
parent36027ea1913c6aeee9fd5033e17b3f713d599724 (diff)
app-templates doc: Changed doc to fit new format.
-Split book.json in 2. -Deleted unwanted files. Change-Id: Idaa2bc838917cade2b3ff1848e21415acae72aec Signed-off-by: CorentinLGS <corentinlgs@gmail.com>
Diffstat (limited to 'book.json')
-rw-r--r--book.json85
1 files changed, 1 insertions, 84 deletions
diff --git a/book.json b/book.json
index dafc6ae..0bcd500 100644
--- a/book.json
+++ b/book.json
@@ -7,88 +7,5 @@
"website": "http://iot.bzh",
"published": "July 2017",
"version": "1.0",
-
- "gitbook": "3.2.2",
- "root": "docs",
- "pdf": {
- "fontFamily": "Verdana",
- "fontSize": 12,
- "paperSize": "a4",
- "pageBreaksBefore": "//h:div[@class=\"page-break\"]"
- },
- "styles": {
- "website": "resources/ebook.css",
- "ebook": "resources/ebook.css",
- "pdf": "resources/ebook.css"
- },
-
- "hidepageheaders": [2, 3],
- "hidepagefooters": [2, 3],
-
- "plugins": [
- "regexplace"
- ],
- "pluginsConfig": {
- "regexplace": {
- "removeFirstPartsInSectionNumber": true,
- "substitutes": [{
- "pattern": "<!-- pagebreak -->",
- "flags": "g",
- "substitute": "<div class=\"page-break\"></div>"
- },
- {
- "pattern": "<!-- clear -->",
- "flags": "g",
- "substitute": "<div class=\"clear\"></div>"
- },
- {
- "pattern": "<!-- nopagebreak -->",
- "flags": "g",
- "substitute": "<div class=\"nopb\">"
- },
- {
- "pattern": "<!-- endnopagebreak -->",
- "flags": "g",
- "substitute": "</div>"
- },
- {
- "pattern": "<!-- note -->",
- "flags": "g",
- "substitute": "<div class=\"note\">"
- },
- {
- "pattern": "<!-- endnote -->",
- "flags": "g",
- "substitute": "</div>"
- },
- {
- "pattern": "!\\[(.*?)\\]\\((.*?)(?:\\s+\"(.*)\")?\\){0,}{caption=1([^\\}]*)}",
- "flags": "gmi",
- "substitute": "<figure id=\"fig_PAGE_LEVEL_._INDEX_\"><img $3 alt=\"$1\" title=\"$1\" href=\"$2\"><figcaption></figcaption></figure>",
- "decode": true
- },
- {
- "pattern": "<img ([^>]*) {0,}\/{0,}> {0,}{caption=1([^\\}]*)}",
- "flags": "g",
- "substitute": "<figure id=\"fig_PAGE_LEVEL_._INDEX_\"><img $2 $1><figcaption></figcaption></figure>",
- "decode": true
- },
- {
- "pattern": "<img (.*)alt=\"([^\"]*)\"(.*) {0,1}\/{0,1}><figcaption></figcaption>",
- "flags": "g",
- "substitute": "<img$1alt=\"$2\"$3><figcaption><span>Picture _PAGE_LEVEL_._INDEX_</span>: $2</figcaption>",
- "store": {
- "substitute": "<a href=\"_PAGE_PATH_#fig_PAGE_LEVEL_._INDEX_\">Pic. _PAGE_LEVEL_._INDEX_</a> <span>$2</span>",
- "variable_name": "pictures"
- }
- },
- {
- "pattern": "<img ([^>]*)> {0,}{style {1,}([^}]*)}",
- "flags": "g",
- "substitute": "<img $1 style=\"$2\">",
- "decode": true
- }
- ]
- }
- }
+ "pdf_filename": "Gitbook-Iotbzh-template"
}