public
Fork of sinatra/sinatra.github.com
Description: “The best revenge is massive success.”
Homepage: http://sinatra.github.com/
Clone URL: git://github.com/quirkey/sinatra.github.com.git
name age message
file .gitignore Sun Jan 18 08:49:49 -0800 2009 ignore build artifacts [sr]
file CNAME Thu Jan 29 16:22:39 -0800 2009 Fix whitespace error in CNAME file :) [rtomayko]
file README Thu Jan 29 01:17:02 -0800 2009 Thor is a sucky build tool; use Rake instead T... [rtomayko]
file Rakefile Thu Jan 29 01:17:02 -0800 2009 Thor is a sucky build tool; use Rake instead T... [rtomayko]
file Thorfile Thu Jan 29 01:17:02 -0800 2009 Thor is a sucky build tool; use Rake instead T... [rtomayko]
directory _includes/ Sat Mar 28 09:32:32 -0700 2009 Regen includes [sr]
directory _layouts/ Mon Feb 02 03:34:32 -0800 2009 Revert the rest of e0c5966 (dupe Content-Type m... [rtomayko]
directory _posts/ Thu Jan 29 02:36:20 -0800 2009 Blog the FAQ [rtomayko]
file about.markdown Sat Mar 21 11:46:18 -0700 2009 Fix irclogger link on about page [sr]
directory api/ Sat Mar 28 09:32:32 -0700 2009 Regen includes [sr]
file blog.html Thu Jan 29 02:36:20 -0800 2009 Blog the FAQ [rtomayko]
file book.html Thu Jan 29 01:30:03 -0800 2009 Build book under _includes and include it from ... [rtomayko]
file changes.markdown Fri Jan 23 06:00:39 -0800 2009 Add changes.html and link to from documentation... [rtomayko]
file configuration.markdown Sun Feb 22 07:11:55 -0800 2009 Fix 'set :views' typo [rtomayko]
file contributing.markdown Fri Jan 23 05:10:27 -0800 2009 Tidy up contributing page a bit [#107] [rtomayko]
directory css/ Sun Feb 22 06:47:22 -0800 2009 Minor tweaks to default type color [rtomayko]
file documentation.markdown Mon Mar 02 16:00:42 -0800 2009 Link to configuration, testing, and extensions ... [rtomayko]
file example.markdown Mon Jan 19 14:29:45 -0800 2009 Add example markdown page [rtomayko]
file extensions.markdown Sun Feb 22 03:36:01 -0800 2009 Finish up doc on writing extensions [#54] [rtomayko]
file faq.markdown Mon Mar 16 19:03:00 -0700 2009 fixed Rack::Flash link Signed-off-by: Scott Wi... [nakajima]
file feed.xml Thu Jan 22 05:56:12 -0800 2009 Atom feed for blog [rtomayko]
directory images/ Sun Feb 01 02:05:48 -0800 2009 Mark external links (class="out") with 'new win... [karmi]
file index.html Wed Jan 28 02:32:54 -0800 2009 Remove formatting from code sample on landing page [rtomayko]
file intro.html Tue Jan 27 04:07:15 -0800 2009 Build README under _includes and include in int... [rtomayko]
file testing.markdown Fri Feb 27 03:33:12 -0800 2009 Actually, we can. Thanks raggi :-) [sr]
file wild.markdown Thu Mar 26 13:24:21 -0700 2009 Fixing broken link Signed-off-by: Simon Rozet ... [cakebaker]
README
Sinatra Website / Documentation
===============================

This repo contains the Sinatra website and documentation sources published
at http://sinatra.github.com/.

Working Locally
---------------

Grab the sources from github:

    $ git clone git@github.com:sinatra/sinatra.github.com.git
    $ cd sinatra.github.com

Install Jekyll (with dependencies):

    $ gem install jekyll

Run the test server:

    $ rake server

Changes are immediately available at:

    http://localhost:4000/

Once your changes are complete, commit them and push back to the
repository to publish:

    $ git commit -m 'note that rtomayko is an asshole'
    $ git push

Creating Blog Posts
-------------------

Blog posts are stored under the `_posts` directory. To create a new blog post
and open your `$EDITOR`, use:

    thor blog:new 'Blog Post Title'

This requires Thor:

    $ gem install thor

Prebuilt Files
--------------

You will need thor, rdoc, and mislav's hanna gem to rebuild static files
and the API docs:

    $ gem install thor rdoc
    $ gem install mislav-hanna --source=http://gems.github.com/

The prebuilt file sources are maintained under the sinatra and sinatra-book
projects. To pull in the latest versions and build them:

    rake pull build

The generated files under the "_includes" and "api" directories need to be
committed after building. To regenerate and add those files to your index
for the next commit:

    rake regen