Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

“The best revenge is massive success.”

branch: master

update documentation and release history

latest commit 97d6c81389
Thais Camilo and Konstantin Haase authored rkh committed
Octocat-spinner-32 _includes update documentation and release history
Octocat-spinner-32 _layouts gittip, take 2
Octocat-spinner-32 _posts mention release on blog
Octocat-spinner-32 api API docs are at railsapi.com now
Octocat-spinner-32 contrib Fix some typos
Octocat-spinner-32 css gittip, take 2
Octocat-spinner-32 images update logo
Octocat-spinner-32 .gitignore add rake tasks to pull sinatra-contrib docs
Octocat-spinner-32 CNAME Fix whitespace error in CNAME file :)
Octocat-spinner-32 Gemfile Use bundler for gem management
Octocat-spinner-32 Gemfile.lock Use bundler for gem management
Octocat-spinner-32 README.md Use bundler for gem management
Octocat-spinner-32 Rakefile Change 'jp' code to 'ja'
Octocat-spinner-32 Thorfile better editor handling for blog:new; fixes #65
Octocat-spinner-32 _config.yml use Kramdown instead of Maruku for parsing .md
Octocat-spinner-32 about.markdown Fix small typo in "About" page
Octocat-spinner-32 blog.html Blog the FAQ
Octocat-spinner-32 book.html book.html redirects to sinatra-book.gittr.com now
Octocat-spinner-32 changes.html CHANGES is on github now
Octocat-spinner-32 configuration.markdown Update bind docs in configuration.markdown
Octocat-spinner-32 contributing.markdown update documentation and release history
Octocat-spinner-32 documentation.markdown update documentation and release history
Octocat-spinner-32 example.markdown Add example markdown page
Octocat-spinner-32 extensions-wild.markdown Shakedown whole bunch of links and repo URLs
Octocat-spinner-32 extensions.markdown Keep linkblocker filename in all examples in extensions.markdown.
Octocat-spinner-32 faq.markdown fixed a typo in the faq
Octocat-spinner-32 feed.xml Atom feed for blog
Octocat-spinner-32 index.html added .html suffixes to the layout templates
Octocat-spinner-32 intro-de.html update documentation and release history
Octocat-spinner-32 intro-es.html update documentation and release history
Octocat-spinner-32 intro-fr.html update documentation and release history
Octocat-spinner-32 intro-hu.html update documentation and release history
Octocat-spinner-32 intro-ja.html update documentation and release history
Octocat-spinner-32 intro-ko.html update documentation and release history
Octocat-spinner-32 intro-pt-br.html update documentation and release history
Octocat-spinner-32 intro-pt-pt.html update documentation and release history
Octocat-spinner-32 intro-ru.html update documentation and release history
Octocat-spinner-32 intro-zh.html update documentation and release history
Octocat-spinner-32 intro.html update documentation and release history
Octocat-spinner-32 one-oh-faq.markdown Minor fixes for one-oh-faq
Octocat-spinner-32 testing.markdown update RSpec example to use expect() syntax
Octocat-spinner-32 wild.markdown Add hike.io to list of websites using Sinatra.
README.md

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

Make sure you have the bundler gem installed on your machine:

$ gem install bundler

Install dependencies:

$ bundle install

Run the test server:

$ rake server

Changes are immediately available at:

http://localhost:4000

Contributing

See GitHub's "Fork A Repo" for more information.

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
Something went wrong with that request. Please try again.