The book is rendered here: Official Handbook
Hack & host
In your local:
$ git clone https://github.com/bubblin/Official-Handbook.git $ npm install $ bookiza server $ bookiza register # Supply your bubblin's credentials $ bookiza publish # Boom, it goes online!
Read the bookiza documentation for more.
Note: Despite ubiquity, the effort with superbooks points to mostly yielding best reading experience on tablets: i.e. iPads(iOS 7+), Kindle 3 (Silk) and Android 5.0+ phablets. Because, well, even though it's great to support desktops, smartphones, TVs and whatnot, the most ideal situation and surface for reading books is the tablet.
Bubblin is a production substrate for Superbooks. Read more.
Superbook is a responsive container that holds your book. Read more
How it works
Even though the superbook container is responsive, it is likely that the content you're going to put inside it isn't. Use the following style templates and guidelines to convert your content into a responsive scalable object.
Warn: DO NOT USE 'px', 'em', or 'pt' on your book CSS. Even the best CSS frameworks are too old school to get this right. Use viewport units (
viewport width) instead and a single break-point @media-query at 871px to handle bifoliums and single-page mode easily.
Interestingly, just 10 lines of CSS is enough to scale content responsively across all devices in the world.
It is possible to add CDN resources to your book. Or you can wrap it within the 'body` tag of your HTML; whatever works!
Tip: You can use rawgit i.e. Github with proper CONTENT-TYPE headers to host your library and assets. Note all includes inside the book from external CDN or source must be served under https -- i.e. secured url
This project was initially generated using bookiza bash plugin i.e. with command
$ bookiza new Official-Handbook 30.
The bash plugin is now deprecated.
List of things to probably do (and would appreciate immediate help on):
* NSerror on Firefox * Detach render of heavy SVGs * Include Google @font-faces via single rule
Feel free to contribute, fix or help improve the code of this book.
- Fork it ( https://github.com/bubblin/Official-Handbook/fork )
- Create your feature branch (
git checkout -b my-new-page)
- Commit your changes (
git commit -am 'Added a page on (/topic)')
- Push to the branch (
git push origin my-new-page)
- Create a new Pull Request
- Contact me if I don't respond within 24 hours.
All content of this superbook is licensed under a Creative Commons Attribution 3.0 United States License.
The underlying code used to format and display the content is licensed under the MIT license .