Merge pull request #227 from MISP/honkit

Honkit migration
pull/228/head
Alexandre Dulaunoy 2021-02-28 13:47:38 +01:00 committed by GitHub
commit d8ef9e2db6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 21 deletions

View File

@ -1,6 +1,6 @@
language: node_js
node_js:
- "7"
- "14"
dist: trusty
@ -12,15 +12,18 @@ install:
- sudo npm cache clean -f
- sudo npm install -g n
- 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 gitbook-plugin-autocover
- npm install honkit
- 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
- npm install gitbook-plugin-last-modified
- npm install gitbook-plugin-sitemap
- npm install gitbook-plugin-advanced-emoji
- npm install gitbook-plugin-image-class
script:
- gitbook install
- gitbook build
- npm install honkit
- npx honkit build

View File

@ -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)

View File

@ -1,10 +1,10 @@
{
"title": "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.",
"title": "User guide of MISP intelligence sharing platform",
"description": "User guide of MISP intelligence sharing platform",
"language": "en",
"author": "MISP Contributors",
"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" }},
"plugins": ["toc", "github", "codesnippet", "last-modified", "anchors", "sitemap", "advanced-emoji", "image-class"],
"links": { "sidebar": { "MISP @ GitHub": "https://github.com/MISP", "PDF": "https://www.circl.lu/doc/misp/book.pdf", "EPUB": "https://www.circl.lu/doc/misp/book.epub", "MOBI": "https://www.circl.lu/doc/misp/book.mobi"}},
"pluginsConfig": {
"github": {
"url": "https://github.com/MISP/"

View File

@ -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