1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00
nats.docs/building_the_book.md
Stephen Asbury 230970f41e Started on developer section of the book
Added tool to build example html
Added book.json to bring in a couple plugins
Added building_the_book.md to help with how to build things
Updated gitignore with vscode and node modules
Checking in initial version of code examples
Copy/pasted a couple pages to get started on dev book
Updated html template for dev book to support graph vis/copy icon/styles
2019-05-14 17:16:17 -07:00

595 B

Building the Book

The build uses https://github.com/Bandwidth/gitbook-plugin-include-html to include html directly for code examples as well as the prism plugin to handle code highlighting. CSS for code highlighting seems to get mucked up sometimes if you don't use the default them, this is something to work on in the future.

Icons for dev examples are from https://cdn.materialdesignicons.com/3.6.95/.

To build the examples

% go run tools/examplecompiler/main.go -o developer/examples -r tools/examplecompiler/example_repos.json -t tools/examplecompiler/example_template.tmp