mirror of https://github.com/MISP/misp-book
commit
d8ef9e2db6
15
.travis.yml
15
.travis.yml
|
@ -1,6 +1,6 @@
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- "7"
|
- "14"
|
||||||
|
|
||||||
dist: trusty
|
dist: trusty
|
||||||
|
|
||||||
|
@ -12,15 +12,18 @@ install:
|
||||||
- sudo npm cache clean -f
|
- sudo npm cache clean -f
|
||||||
- sudo npm install -g n
|
- sudo npm install -g n
|
||||||
- sudo n stable
|
- sudo n stable
|
||||||
- sudo ln -sf /usr/local/n/versions/node/8.0.0/bin/node /usr/bin/node
|
|
||||||
- sudo npm update -g
|
- 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-github
|
||||||
- npm install gitbook-plugin-toc
|
- npm install gitbook-plugin-toc
|
||||||
- npm install gitbook-plugin-anchors
|
- npm install gitbook-plugin-anchors
|
||||||
- npm install gitbook-plugin-image-class
|
- 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:
|
script:
|
||||||
- gitbook install
|
- npm install honkit
|
||||||
- gitbook build
|
- npx honkit build
|
||||||
|
|
14
SUMMARY.md
14
SUMMARY.md
|
@ -1,5 +1,6 @@
|
||||||
# Summary
|
# Summary
|
||||||
|
|
||||||
|
* [Introduction](README.md)
|
||||||
* [Book Convention](book-convention/README.md)
|
* [Book Convention](book-convention/README.md)
|
||||||
* [Quick Start](quick-start/README.md)
|
* [Quick Start](quick-start/README.md)
|
||||||
* [Requirements](requirements/README.md)
|
* [Requirements](requirements/README.md)
|
||||||
|
@ -9,7 +10,7 @@
|
||||||
* [User Management and Global Actions](user-management/README.md)
|
* [User Management and Global Actions](user-management/README.md)
|
||||||
* [Using the System](using-the-system/README.md)
|
* [Using the System](using-the-system/README.md)
|
||||||
* [Delegation of Event](delegation/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)
|
* [Administration](administration/README.md)
|
||||||
* [Managing Feeds](managing-feeds/README.md)
|
* [Managing Feeds](managing-feeds/README.md)
|
||||||
* [Updating Python dependencies](updating-python/README.md)
|
* [Updating Python dependencies](updating-python/README.md)
|
||||||
|
@ -17,16 +18,17 @@
|
||||||
* [PyMISP - Python Library to Access MISP](pymisp/README.md)
|
* [PyMISP - Python Library to Access MISP](pymisp/README.md)
|
||||||
* [Create an Event Based on a Report](create-event-report/README.md)
|
* [Create an Event Based on a Report](create-event-report/README.md)
|
||||||
* [Taxonomies](taxonomy/README.md)
|
* [Taxonomies](taxonomy/README.md)
|
||||||
* [Galaxies](galaxy/README.md) - in progress
|
* [Galaxies](galaxy/README.md)
|
||||||
* [Sightings](sightings/README.md) - in progress
|
* [Sightings](sightings/README.md)
|
||||||
* [Warning lists](warninglists/README.md) - in progress
|
* [Warning lists](warninglists/README.md)
|
||||||
* [Notice lists](noticelists/README.md) - in progress
|
* [Notice lists](noticelists/README.md)
|
||||||
* [Categories and Types](categories-and-types/README.md)
|
* [Categories and Types](categories-and-types/README.md)
|
||||||
* [Synchronisation/Sharing](sharing/README.md)
|
* [Synchronisation/Sharing](sharing/README.md)
|
||||||
* [External Connectors](connectors/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)
|
* [ZeroMQ - MISP publish-subscribe](misp-zmq/README.md)
|
||||||
* [Translations - i18n & l10n](translation/README.md)
|
* [Translations - i18n & l10n](translation/README.md)
|
||||||
* [FAQ](faq/README.md)
|
* [FAQ](faq/README.md)
|
||||||
* [Dev FAQ](dev-faq/README.md)
|
* [Dev FAQ](dev-faq/README.md)
|
||||||
* [Appendices](appendices/README.md)
|
* [Appendices](appendices/README.md)
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"title": "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 Malware Information Sharing Platform, a Threat Sharing Platform.",
|
"description": "User guide of MISP intelligence 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", "fontsettings"],
|
"plugins": ["toc", "github", "codesnippet", "last-modified", "anchors", "sitemap", "advanced-emoji", "image-class"],
|
||||||
"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", "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": {
|
"pluginsConfig": {
|
||||||
"github": {
|
"github": {
|
||||||
"url": "https://github.com/MISP/"
|
"url": "https://github.com/MISP/"
|
||||||
|
|
10
publish.sh
10
publish.sh
|
@ -1,16 +1,16 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "1/4 html"
|
echo "1/4 html"
|
||||||
gitbook build
|
npx honkit build
|
||||||
echo "2/4 pdf"
|
echo "2/4 pdf"
|
||||||
gitbook pdf
|
npx honkit pdf
|
||||||
echo "3/4 epub"
|
echo "3/4 epub"
|
||||||
gitbook epub
|
npx honkit epub
|
||||||
echo "4/4 mobi"
|
echo "4/4 mobi"
|
||||||
gitbook mobi
|
npx honkit mobi
|
||||||
echo "Done"
|
echo "Done"
|
||||||
mv book.pdf _book
|
mv book.pdf _book
|
||||||
mv book.epub _book
|
mv book.epub _book
|
||||||
mv book.mobi _book
|
mv book.mobi _book
|
||||||
chmod +r _book/book.pdf _book/book.epub _book/book.mobi
|
chmod +r _book/book.pdf _book/book.epub _book/book.mobi
|
||||||
cd _book
|
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