chg: [fix] Fixed fontsettings plugin. It must be before CSS invocations.

pull/140/head
Steve Clement 2018-11-28 15:20:13 +09:00
parent 130fd8ef78
commit 707b900257
2 changed files with 9 additions and 4 deletions

View File

@ -51,7 +51,7 @@ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs sudo apt-get install -y nodejs
sudo apt-get install -y build-essential sudo apt-get install -y build-essential
sudo apt install -y pkg-config libcairo2-dev libgif-dev libjpeg-dev sudo apt install -y pkg-config libcairo2-dev libgif-dev libjpeg-dev
npm install gitbook git+https://github.com/SteveClement/plugin-autocover.git gitbook-plugin-github gitbook-plugin-toc gitbook-plugin-anchors gitbook-plugin-alerts gitbook-plugin-search gitbook-plugin-gist gitbook-plugin-advanced-emoji gitbook-plugin-sitemap gitbook-plugin-codesnippet gitbook-plugin-image-class gitbook-plugin-last-modified npm install gitbook git+https://github.com/SteveClement/plugin-autocover.git gitbook-plugin-github gitbook-plugin-toc gitbook-plugin-anchors gitbook-plugin-alerts gitbook-plugin-search gitbook-plugin-gist gitbook-plugin-advanced-emoji gitbook-plugin-sitemap gitbook-plugin-codesnippet gitbook-plugin-image-class gitbook-plugin-last-modified gitbook-plugin-fontsettings
sudo npm install gitbook-cli -g sudo npm install gitbook-cli -g
gitbook install gitbook install

View File

@ -3,7 +3,7 @@
"description": "User guide of MISP Malware Information Sharing Platform, a Threat Sharing Platform.", "description": "User guide of MISP Malware Information Sharing Platform, a Threat Sharing Platform.",
"language": "en", "language": "en",
"author": "MISP Contributors", "author": "MISP Contributors",
"plugins": ["autocover", "github", "toc", "anchors", "alerts", "advanced-emoji", "image-class", "last-modified", "search", "sitemap", "codesnippet", "gist"], "plugins": ["autocover", "github", "toc", "anchors", "alerts", "advanced-emoji", "image-class", "last-modified", "search", "sitemap", "codesnippet", "gist", "fontsettings"],
"links": { "sidebar": { "MISP @ GitHub": "https://github.com/MISP/MISP", "PDF Format": "https://www.circl.lu/doc/misp/book.pdf" }}, "links": { "sidebar": { "MISP @ GitHub": "https://github.com/MISP/MISP", "PDF Format": "https://www.circl.lu/doc/misp/book.pdf" }},
"pluginsConfig": { "pluginsConfig": {
"github": { "github": {
@ -15,6 +15,11 @@
"sitemap": { "sitemap": {
"hostname": "https://www.circl.lu/doc/misp/" "hostname": "https://www.circl.lu/doc/misp/"
}, },
"fontsettings": {
"theme": "night",
"family": "sans",
"size": 2
},
"styles": { "styles": {
"website": "styles/website.css", "website": "styles/website.css",
"ebook": "styles/ebook.css", "ebook": "styles/ebook.css",