Coder Social home page Coder Social logo

sinon-docs's Introduction

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

sinon-docs's People

Contributors

cjohansen avatar freethejazz avatar mantoni avatar mroderick avatar alexmuller avatar fatso83 avatar grassator avatar gcheung55 avatar radioactivemouse avatar

Watchers

James Cloos avatar C. T. Lin 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.