mlippert / sinon-docs

The sinonjs.org website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sinon-docs

The http://sinonjs.org website, implemented as a generated static site using Stasis with frontend optimization using Optimus.

Usage

Pygments themes are fetched as a git submodule:

git submodule update --init

To run the site, make sure you have Java 1.7 or later. Then install Leiningen. Finally, run the site with:

lein ring server-headless

Or generate the static files for deployment with:

lein build-site

Where are things?

The main layout is defined in hiccup syntax in src/sinon_docs/pages.clj. The frontpage is a partial that lives in resources/partials/index.html.

Running tests

There are some tests. Run them with midje:

lein with-profile +test midje

If you're going to add or change something, you might want the tests to keep running on every save:

lein with-profile +test midje :autotest

License

Copyright © 2014 Christian Johansen

BSD 2 Clause license

About

The sinonjs.org website

License:BSD 2-Clause "Simplified" License


Languages

Language:JavaScript 99.4%Language:HTML 0.4%Language:Clojure 0.1%Language:CSS 0.1%