GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sinatra/sinatra.github.com: “The best revenge is massive success.”

BranchesTags
Open more actions menu

Latest commit

 

History

1,094 Commits
1,094 Commits

Folders and files

NameName
Last commit message
Last commit date
_includes
_includes
 
 
_layouts
_layouts
 
 
_posts
_posts
 
 
_sass
_sass
 
 
api
api
 
 
contrib
contrib
 
 
css
css
 
 
images
images
 
 
js
js
 
 
protection
protection
 
 
.gitignore
.gitignore
 
 
CNAME
CNAME
 
 
Gemfile
Gemfile
 
 
Gemfile.lock
Gemfile.lock
 
 
README.md
README.md
 
 
Rakefile
Rakefile
 
 
Thorfile
Thorfile
 
 
_config.yml
_config.yml
 
 
about.markdown
about.markdown
 
 
blog.html
blog.html
 
 
book.html
book.html
 
 
changes.html
changes.html
 
 
configuration.markdown
configuration.markdown
 
 
contributing.markdown
contributing.markdown
 
 
documentation.markdown
documentation.markdown
 
 
example.markdown
example.markdown
 
 
extensions-wild.markdown
extensions-wild.markdown
 
 
extensions.markdown
extensions.markdown
 
 
faq.markdown
faq.markdown
 
 
feed.xml
feed.xml
 
 
gulpfile.js
gulpfile.js
 
 
index.html
index.html
 
 
intro.html
intro.html
 
 
maintenance-policy.markdown
maintenance-policy.markdown
 
 
one-oh-faq.markdown
one-oh-faq.markdown
 
 
package.json
package.json
 
 
testing.markdown
testing.markdown
 
 
wild.markdown
wild.markdown
 
 

Repository files navigation

Sinatra Website / Documentation

This repo contains the Sinatra website and documentation sources published at https://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/sinatra.github.com/

Sass / CSS / Gulp

It would be appreciated if you could introduce your changes using the indented Sass syntax (.sass) in one of the existing Sass partials or if needed via new ones of your own. Not a friend of curlies and stuff.

Gulp was set up to streamline your build process. Simply run:

$ gulp watch

gulp watch triggers a couple of processes:

  • After changes have been introduced in the _sass directory, it first builds uncompressed .css files from the corresponding .sass files and puts them into /css/development.
  • Gulp also watches any changes made in the /css/development directory.
  • In turn, any changes in /css/development will get compressed, prefixed and purified of any obsolete style declarations before being placed in their final destination at /css.
  • Your site is reloaded automatically using Browsersync which watches any changes to .css files in /css. No need to install any additional gimmicks.

That means Gulp is configured so that you can either work on .sass files in the /_sass directory or on .css files directly in the /css/development directory. If you want to introduce changes in /css/development, you need to create new filenames to avoid being overwritten when new versions of Sass files get built.

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=https://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

About

“The best revenge is massive success.”

sinatrarb.com/

Resources

Readme

Contributing

Contributing
Activity
Custom properties

Stars

299 stars

Watchers

18 watching

Forks

218 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.