Giter Club home page Giter Club logo

mochajs.github.io's Introduction

mochajs.org: How to Build the Site

So you wanna build the site?

mochajs.org is now built using Jekyll, the popular static site generator.

Prerequisites

  1. Some recent version of Ruby
  2. Some version of RubyGems
  3. Some recent version of Node.JS

Installation

  1. Execute npm install. This will install Bundler, Jekyll, and markdown-toc-index.
  2. To build, execute npm run build or make build

Local development

  1. Run make to build the project and start a development server that auto-watches for changes on http://localhost:3000

For more information, refer to the Jekyll Docs and GitHub's Tutorial on the subject.

Notes

  • To update index.md with the TOC, execute: node_modules/.bin/toc-idx -i index.md --max-depth 1 --bullet "\- " index.md
  • bundle exec jekyll build rebuilds the site without updating the TOC
  • The _site directory is where the generated site lives. It is not under version control, because GitHub Pages generates it for us.

mochajs.github.io's People

Contributors

amsul avatar bernii avatar boneskull avatar commadelimited avatar danielstjules avatar dasilvacontin avatar defunctzombie avatar domenic avatar jamescarr avatar janl avatar joliss avatar jonvuri avatar kavun avatar mrjoelkemp avatar nikolas avatar oscargodson avatar oveddan avatar poppinlp avatar prust avatar rauchg avatar raynos avatar rstacruz avatar rtablada avatar timothygu avatar tj avatar travisjeffery avatar tricknotes avatar wejendorp avatar wlangstroth avatar xhmikosr avatar

Watchers

 avatar  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.