Coder Social home page Coder Social logo

infoq-mini-book-presentation's Introduction

Writing an InfoQ Mini-Book with Asciidoctor

An Asciidoctor-powered presentation that shows you how to write an InfoQ Mini-Book with Asciidoctor.

If you’d like to create a similar presentation, clone Bespoke.js Emulating Shower.

Building the presentation

Prerequisites

Ensure you have the following installed on your machine:

  1. Ruby 2.x [1]

  2. Bundler

    $ gem install bundler
  3. Node.js [2]

  4. Gulp

    $ npm install -g gulp

Setup

Then, install the required dependencies:

$ bundle && npm install

Now you’re all set to build the presentation!

Building the static version

You can build a static version of the slides using the following command:

$ gulp

The files are built into the dist directory. You can then view the slides by navigating to dist/index.html in your browser.

Launching the preview server

The preview server will monitor files for changes and automatically update the presentation. You can launch the preview server using:

$ gulp serve

Once the server is running, you can view the slides by navigating to http://localhost:8000 in your browser.

Deploy static version

You can publish to GitHub pages by running the following command:

$ gulp deploy

Tips and Tricks

A few tips from Dan Allen:

  1. If you don’t want it the presentation to start in overview, drop the autostart: true option from the overview() plugin call in src/scripts/main.js.

  2. If you want builds to work each time you visit the slide, remove this function.

  3. You can export the presentation to PDF using DeckTape.


1. We strongly recommend using RVM to manage Ruby.
2. We strongly recommend using nvm to manage Node.

infoq-mini-book-presentation's People

Contributors

mraible avatar

Stargazers

 avatar Nebrass Lamouchi avatar François Robert avatar

Watchers

 avatar François Robert avatar James Cloos avatar  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.