Coder Social home page Coder Social logo

ivan-tamayo / infoq-mini-book Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mraible/infoq-mini-book

0.0 1.0 0.0 13.91 MB

Template project for creating an InfoQ Mini-Book with Asciidoctor

Ruby 9.95% Shell 3.89% JavaScript 0.82% CSS 84.94% HTML 0.41%

infoq-mini-book's Introduction

An InfoQ Mini-Book

This is an awesome book. It’s written in AsciiDoc and compiles to HTML, PDF, EPUB, and MOBI using the Asciidoctor Gradle plugin.

Building

To convert this book to HTML, EPUB, and MOBI, run the following command:

$ build.sh

To convert this book to a 6x9" PDF for printing:

$ generate-pdf.sh

To convert this book to a 8.5x11" PDF for downloading:

$ generate-pdf.sh screen
  • Open build/asciidoc/html5/index.html in your browser to see the generated HTML file.

  • Open build/asciidoc/pdf-prepress/index.pdf to see the 6x9" printable PDF file.

  • Open build/asciidoc/pdf-pdf-screen/index.pdf to see the downloadable 8.5x11" PDF file.

  • Open build/asciidoc/epub3/index.epub in iBooks to see the generated EPUB file.

  • Open build/asciidoc/epub3/index.mobi in Calibre to see the generated MOBI file.

Sweet Authoring Experience

If you’d like a very pleasant authoring experience, the project provides build files that make it possible. First of all, you’ll need to run gradlew once. After running it once, you can run ./gradlew watch to watch for any changes and recompile files as you save them.

To have a similar awesome experience (watch and auto-reload) in your browser, install Node.js on your machine.

After installing Node, you can run the following command to install development tools (like Browsersync). You will only need to run this command when dependencies change in package.json.

npm install

This project use Gulp as the client-code build system. You can install the gulp command-line tool globally with:

npm install -g gulp-cli

Now you can run the following gulp command to create a blissful development experience where your browser auto-refreshes when files change on your hard drive.

gulp

infoq-mini-book's People

Contributors

mraible avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.