mirror of https://github.com/MISP/misp-book
new: [build] move from GitBook to honkit (fork of GitBook)
parent
52c9d94a89
commit
92333e4d61
|
@ -14,13 +14,14 @@ install:
|
|||
- sudo n stable
|
||||
- sudo ln -sf /usr/local/n/versions/node/8.0.0/bin/node /usr/bin/node
|
||||
- sudo npm update -g
|
||||
- npm install gitbook-cli -g
|
||||
- npm install honkit
|
||||
- npm install gitbook-plugin-autocover
|
||||
- npm install gitbook-plugin-github
|
||||
- npm install gitbook-plugin-toc
|
||||
- npm install gitbook-plugin-anchors
|
||||
- npm install gitbook-plugin-image-class
|
||||
- npm install gitbook-plugin-codesnippet
|
||||
|
||||
script:
|
||||
- gitbook install
|
||||
- gitbook build
|
||||
- npx honkit install
|
||||
- npx honkit build
|
||||
|
|
14
SUMMARY.md
14
SUMMARY.md
|
@ -1,5 +1,6 @@
|
|||
# Summary
|
||||
|
||||
* [Introduction](README.md)
|
||||
* [Book Convention](book-convention/README.md)
|
||||
* [Quick Start](quick-start/README.md)
|
||||
* [Requirements](requirements/README.md)
|
||||
|
@ -9,7 +10,7 @@
|
|||
* [User Management and Global Actions](user-management/README.md)
|
||||
* [Using the System](using-the-system/README.md)
|
||||
* [Delegation of Event](delegation/README.md)
|
||||
* [Extending Events](extended-events/README.md) - in progress
|
||||
* [Extending Events](extended-events/README.md)
|
||||
* [Administration](administration/README.md)
|
||||
* [Managing Feeds](managing-feeds/README.md)
|
||||
* [Updating Python dependencies](updating-python/README.md)
|
||||
|
@ -17,16 +18,17 @@
|
|||
* [PyMISP - Python Library to Access MISP](pymisp/README.md)
|
||||
* [Create an Event Based on a Report](create-event-report/README.md)
|
||||
* [Taxonomies](taxonomy/README.md)
|
||||
* [Galaxies](galaxy/README.md) - in progress
|
||||
* [Sightings](sightings/README.md) - in progress
|
||||
* [Warning lists](warninglists/README.md) - in progress
|
||||
* [Notice lists](noticelists/README.md) - in progress
|
||||
* [Galaxies](galaxy/README.md)
|
||||
* [Sightings](sightings/README.md)
|
||||
* [Warning lists](warninglists/README.md)
|
||||
* [Notice lists](noticelists/README.md)
|
||||
* [Categories and Types](categories-and-types/README.md)
|
||||
* [Synchronisation/Sharing](sharing/README.md)
|
||||
* [External Connectors](connectors/README.md)
|
||||
* [Modules](modules/README.md) - in progress
|
||||
* [Modules](modules/README.md)
|
||||
* [ZeroMQ - MISP publish-subscribe](misp-zmq/README.md)
|
||||
* [Translations - i18n & l10n](translation/README.md)
|
||||
* [FAQ](faq/README.md)
|
||||
* [Dev FAQ](dev-faq/README.md)
|
||||
* [Appendices](appendices/README.md)
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"description": "User guide of MISP Malware Information Sharing Platform, a Threat Sharing Platform.",
|
||||
"language": "en",
|
||||
"author": "MISP Contributors",
|
||||
"plugins": ["autocover", "github", "toc", "anchors", "alerts", "advanced-emoji", "image-class", "last-modified", "search", "sitemap", "codesnippet", "gist", "fontsettings"],
|
||||
"plugins": ["toc", "github", "codesnippet", "last-modified"],
|
||||
"links": { "sidebar": { "MISP @ GitHub": "https://github.com/MISP/MISP", "PDF Format": "https://www.circl.lu/doc/misp/book.pdf" }},
|
||||
"pluginsConfig": {
|
||||
"github": {
|
||||
|
|
10
publish.sh
10
publish.sh
|
@ -1,16 +1,16 @@
|
|||
#!/bin/bash
|
||||
echo "1/4 html"
|
||||
gitbook build
|
||||
npx honkit build
|
||||
echo "2/4 pdf"
|
||||
gitbook pdf
|
||||
npx honkit pdf
|
||||
echo "3/4 epub"
|
||||
gitbook epub
|
||||
npx honkit epub
|
||||
echo "4/4 mobi"
|
||||
gitbook mobi
|
||||
npx honkit mobi
|
||||
echo "Done"
|
||||
mv book.pdf _book
|
||||
mv book.epub _book
|
||||
mv book.mobi _book
|
||||
chmod +r _book/book.pdf _book/book.epub _book/book.mobi
|
||||
cd _book
|
||||
rsync -azv . circl@cpab.circl.lu:/var/www/nwww.circl.lu/doc/misp/ && rm -rf _book
|
||||
#rsync -azv . circl@cpab.circl.lu:/var/www/nwww.circl.lu/doc/misp/ && rm -rf _book
|
||||
|
|
Loading…
Reference in New Issue