Skip to content

chentsulin/sinon-docs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.4%
  • Other 0.6%