2017-09-16 16:22:31 +00:00
|
|
|
# google-sre-ebook
|
|
|
|
|
|
|
|
![Cover](cover.jpg)
|
|
|
|
|
2017-09-16 17:45:59 +00:00
|
|
|
Generates a EPUB/MOBI for the Google SRE Book.
|
2017-09-16 16:22:31 +00:00
|
|
|
|
|
|
|
Original sources are downloaded from https://landing.google.com/sre/
|
|
|
|
|
2018-05-15 17:41:05 +00:00
|
|
|
# Build
|
|
|
|
|
|
|
|
## macOS
|
|
|
|
|
2017-09-16 17:45:59 +00:00
|
|
|
Review and run the `bootstrap.sh` script to generate the EPUB and MOBI files
|
2017-09-16 16:22:31 +00:00
|
|
|
|
2017-09-16 17:45:59 +00:00
|
|
|
Requirements:
|
|
|
|
|
|
|
|
- Ruby
|
2018-01-16 16:59:30 +00:00
|
|
|
- gem install bundler
|
|
|
|
- gem install nokogiri
|
2018-04-08 04:17:47 +00:00
|
|
|
- brew install pandoc
|
2018-01-16 16:59:30 +00:00
|
|
|
- brew cask install calibre
|
2018-05-04 14:17:24 +00:00
|
|
|
- brew install wget
|
2017-09-16 17:47:03 +00:00
|
|
|
|
2018-05-15 17:41:05 +00:00
|
|
|
## Docker
|
|
|
|
|
|
|
|
Requirements:
|
|
|
|
|
|
|
|
- Docker
|
|
|
|
|
|
|
|
```
|
|
|
|
$ ./build_docker.sh
|
|
|
|
```
|
|
|
|
|
2017-09-16 17:47:03 +00:00
|
|
|
# Known Issues
|
|
|
|
|
|
|
|
- Inline references are not handled in the best possible way
|
|
|
|
- metadata.xml is not complete. There are just too many authors
|
|
|
|
- Foreword/Preface is not part of the index
|
2017-09-16 17:52:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
# LICENSE
|
|
|
|
|
|
|
|
This is licensed under WTFPL. See COPYING file for the full text.
|