- Ruby 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| bin | ||
| lib | ||
| .gitignore | ||
| Gemfile | ||
| LICENSE.txt | ||
| Rakefile | ||
| README.md | ||
| tv_snow.gemspec | ||
TV Snow
A Ruby gem for compiling static sites!
Installation
The installation here is super hard. You run:
$ gem install tv_snow
Then you're finished! You survived!
Usage
Build your site with your favorite Ruby tools!
First, you should have the following directories in your project (but each is optional):
css, which should hold all your Sass and CSS filesjs, which should hold all your Coffeescript and JS filesimg, which should hold all your images
All of your Haml or Slim files should just be at the root of the project. Someday, I should probably add support for directory structures. Maybe today.
Note: When you link to a stylesheet written in Sass, do not add the scss
ending to the file name. So linking to the styles contained in
css/default.css.scss, in Haml you would write:
%link{rel: 'stylesheet', href: 'css/default.css'}
Contributing
- Fork it ( https://github.com/J3RN/tv_snow/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
There is so much to do! I'm sorry for the very unfinished-ness of this app, and would love your help!