quirkey / sinatra.github.com forked from sinatra/sinatra.github.com

“The best revenge is massive success.”

This URL has Read+Write access

cakebaker (author)
Wed Mar 25 07:11:26 -0700 2009
Simon Rozet (committer)
Thu Mar 26 13:24:21 -0700 2009
commit  0d89ddeabd4a4112248a8e1b9fbf18702a972561
tree    da9599a1de8db4d66ffab98a5120338d904db394
parent  66e6af075eea51aa5223b196931eee449499d42f
name age message
file .gitignore Sun Jan 18 08:49:49 -0800 2009 ignore build artifacts [Simon Rozet]
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/ Loading commit data...
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 [Simon Rozet]
directory api/
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
file example.markdown Mon Jan 19 14:29:45 -0800 2009 Add example markdown page [rtomayko]
file extensions.markdown
file faq.markdown
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
file wild.markdown
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