Homepage for emblemjs.com
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data change each in to each as Nov 14, 2016
source fix #each var Apr 14, 2014
syntax cleanup Feb 19, 2013
.gitignore cleanup file structure Feb 15, 2013
CNAME
Gemfile Various fixes Feb 25, 2014
Gemfile.lock Various fixes Feb 25, 2014
Guardfile
README.md
Rakefile tweak timezone Feb 18, 2013
Termfile
config.rb cleanup Feb 19, 2013
config.ru cleanup Feb 15, 2013
emblem-site.sublime-project cleanup file structure Feb 15, 2013

README.md

Emblem.JS Website

This is the website docs that power http://emblemjs.com. For the emblem.js src code go to github.com/machty/emblem.js.

Forks and contributions to the docs greatly appreciated!

Setup

To manage the docs website, we use middleman, a fantastic little rubygem that compiles static sites.

To use it, just clone this repo, and make sure you have bundler installed (gem install bundler).

run bundle install to get all the dependencies.

then run bundle exec middleman server to start the server locally

On OSX, you can also try bundle exec terminitor start to start both the server and the guard at the same time (to do livereload updates as you change stuff).

Site Structure

We currently have most of our docs in yml (for easy code highlighting support). The docs keys are formatted with markdown, emblem keys syntax highlighted with slim textmate bundle (using the ultraviolet gem), and the html is highlighted with the handlebars textmate bundle.

To tweak the syntax highlighting, just update it in syntax

Intro docs

To edit the intro example on the right side of the landing page, edit data/intro.yml.

Syntax docs

To update the syntax docs, edit data/syntax.yml

Installation docs

To update the installation docs, edit data/installation.yml