Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (19 sloc) 1.03 KB

Code for the S4 website.

This website uses the nanoc static website generator.

Entry pages are written with haml and the documentation is written with markdown.

To compile the site:

You need ruby 1.8+ and gem 2.0.3+

  • Install nanoc: gem install nanoc
  • nanoc compile

The generated static website is in output/

There are also a number of dependencies on other gem, error messages are explicit about which ones and how to install them.

We also use pygments for code syntax highlighting. It's a python program, see here for installing.

To upload the site to apache, commit the generated website to svn (site/ directory)

The svn is located at

cp -R output/* $S4_SVN_LOC/site
cd $S4_SVN_LOC
svn update
svn status
svn add <whatever is missing>
svn commit --username <apache username> -m "commit message"

With svnpubsub, the website is automatically updated

Jump to Line
Something went wrong with that request. Please try again.