wgtpkg-install: search in subdir "htdocs" also
[src/app-framework-main.git] / book.json
1 {
2     "title": "Application Framework Service",
3     "subtitle": "",
4     "description": "Application Framework Service of Automotive Grade Linux",
5     "keywords": "AGL, Development, application, framework, service",
6     "author": "IoT.Bzh Team",
7     "website": "http://iot.bzh",
8     "published": "June 2017",
9     "version": "4.0",
10
11     "gitbook": "3.2.2",
12     "root": "docs",
13     "pdf": {
14         "fontFamily": "Verdana",
15         "fontSize": 12,
16         "paperSize": "a4",
17         "pageBreaksBefore": "//h:div[@class=\"page-break\"]"
18     },
19     "styles": {
20         "website": "resources/ebook.css",
21         "ebook": "resources/ebook.css",
22         "pdf": "resources/ebook.css"
23     },
24
25     "hidepageheaders": [],
26     "hidepagefooters": [],
27
28     "plugins": [
29         "regexplace"
30     ],
31     "pluginsConfig": {
32         "regexplace": {
33             "removeFirstPartsInSectionNumber": true,
34             "substitutes": [{
35                     "pattern": "<!-- pagebreak -->",
36                     "flags": "g",
37                     "substitute": "<div class=\"page-break\"></div>"
38                 },
39                 {
40                     "pattern": "<!-- clear -->",
41                     "flags": "g",
42                     "substitute": "<div class=\"clear\"></div>"
43                 },
44                 {
45                     "pattern": "<!-- nopagebreak -->",
46                     "flags": "g",
47                     "substitute": "<div class=\"nopb\">"
48                 },
49                 {
50                     "pattern": "<!-- endnopagebreak -->",
51                     "flags": "g",
52                     "substitute": "</div>"
53                 },
54                 {
55                     "pattern": "<!-- note -->",
56                     "flags": "g",
57                     "substitute": "<div class=\"note\">"
58                 },
59                 {
60                     "pattern": "<!-- endnote -->",
61                     "flags": "g",
62                     "substitute": "</div>"
63                 },
64                 {
65                     "pattern": "!\\[(.*?)\\]\\((.*?)(?:\\s+\"(.*)\")?\\){0,}{caption=1([^\\}]*)}",
66                     "flags": "gmi",
67                     "substitute": "<figure id=\"fig_PAGE_LEVEL_._INDEX_\"><img $3 alt=\"$1\" title=\"$1\" href=\"$2\"><figcaption></figcaption></figure>",
68                     "decode": true
69                 },
70                 {
71                     "pattern": "<img ([^>]*) {0,}\/{0,}> {0,}{caption=1([^\\}]*)}",
72                     "flags": "g",
73                     "substitute": "<figure id=\"fig_PAGE_LEVEL_._INDEX_\"><img $2 $1><figcaption></figcaption></figure>",
74                     "decode": true
75                 },
76                 {
77                     "pattern": "<img (.*)alt=\"([^\"]*)\"(.*) {0,1}\/{0,1}><figcaption></figcaption>",
78                     "flags": "g",
79                     "substitute": "<img$1alt=\"$2\"$3><figcaption><span>Picture _PAGE_LEVEL_._INDEX_</span>: $2</figcaption>",
80                     "store": {
81                         "substitute": "<a href=\"_PAGE_PATH_#fig_PAGE_LEVEL_._INDEX_\">Pic. _PAGE_LEVEL_._INDEX_</a> <span>$2</span>",
82                         "variable_name": "pictures"
83                     }
84                 },
85                 {
86                     "pattern": "<img ([^>]*)> {0,}{style {1,}([^}]*)}",
87                     "flags": "g",
88                     "substitute": "<img $1 style=\"$2\">",
89                     "decode": true
90                 }
91             ]
92         }
93     }
94 }