public
Description: “The best revenge is massive success.”
Homepage: http://sinatra.github.com/
Clone URL: git://github.com/sinatra/sinatra.github.com.git
shenry (author)
Mon Nov 23 22:29:26 -0800 2009
sr (committer)
Sun Nov 29 08:17:43 -0800 2009
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 Mon Aug 17 08:59:47 -0700 2009 Can't push to public. Contributing section inst... [abcde]
file Rakefile Wed Aug 12 09:20:35 -0700 2009 hidden japanese translation of intro.html I do... [sr]
file Thorfile Thu Jan 29 01:17:02 -0800 2009 Thor is a sucky build tool; use Rake instead T... [rtomayko]
directory _includes/ Wed Aug 12 09:53:59 -0700 2009 woops. add _includes/README.jp.html [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 Jul 11 12:48:34 -0700 2009 Regen prebuilt files [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 Mon Jul 27 14:17:48 -0700 2009 Remove trails of reload option. Signed-off-by:... [djanowski]
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 Sun Nov 29 07:42:54 -0800 2009 Added notes for my talk on middlewares [benschwarz]
file example.markdown Mon Jan 19 14:29:45 -0800 2009 Add example markdown page [rtomayko]
file extensions-wild.markdown Sun Nov 29 07:49:47 -0800 2009 And fixed misguided italics in extensions-wild ... [nesquena]
file extensions.markdown Tue May 12 09:44:18 -0700 2009 Rack has an escape_html method, not Rake Signe... [atmos]
file faq.markdown Wed Oct 21 22:36:57 -0700 2009 Updated the partials entry in the FAQ ... with... [lenary]
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 Sat Nov 07 01:49:13 -0800 2009 link to crew from homepage; remove blog link (d... [rtomayko]
file intro-jp.html Sun Aug 16 11:30:35 -0700 2009 link to japanese readme [sr]
file intro.html Sun Aug 16 11:30:35 -0700 2009 link to japanese readme [sr]
file testing.markdown Sun Jul 26 12:51:54 -0700 2009 whitespaces [sr]
file wild.markdown Sun Nov 29 08:17:43 -0800 2009 added my site to wild.markdown [shenry]
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 dependencies:

    $ gem install jekyll
    $ gem instal rdoc -v 2.3.0

Run the test server:

    $ rake server

Changes are immediately available at:

    http://localhost:4000/

Contributing
------------

http://github.com/guides/fork-a-project-and-submit-your-modifications

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, haml and mislav's hanna gem to rebuild static files
and the API docs:

    $ gem install thor
    $ gem install rdoc -v 2.3.0
    $ gem install haml -v 2.0.4
    $ 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