“The best revenge is massive success.”
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead, 846 commits behind sinatra:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_includes
_layouts
_posts
api
css
images
.gitignore
README.md
Thorfile
about.markdown
blog.html
book.html
changes.markdown
contributing.markdown
documentation.markdown
example.markdown
feed.xml
index.html
intro.html

README.md

Sinatra Website / Documentation

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

Working Locally

Create a local clone:

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

Install Jekyll (with dependencies):

$ sudo gem install jekyll

Run the test server:

$ jekyll --server --auto

Changes are immediately available at:

http://localhost:4000/

Once you're changes are complete, commit them and push back to the repository to publish:

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

Rebuilding Generated Files

The project index.html and book.html files are maintained under separate projects. To sync those files with their current upstream:

thor legend:build

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'