Clone this repository:
git clone git://github.com/supercollider/supercollider.github.io.git
cd supercollider.github.io
To view these pages locally, you must install jekyll
using the Ruby Gem package manager.
You will also need Ruby and Gems.
First, install the standard bundler
gem:
gem install bundler
and then from the supercollider.github.io directory run:
bundle install
Now run Jekyll
:
bundle exec jekyll serve
And then, in your browser:
http://127.0.0.1:4000
We use sass variables so changing colors can be done by editing assets/css/_variables.scss
.
Otherwise, the main sass file is assets/css/main.scss
.
If you wanna be sure that your CSS changes are going to be effective in the browsers you'll have to update site_version
in _config.yml
(css cache burst).
To update download links, you'll have to edit _data/downloads.yml
.
Please keep in mind that the Download section on the index page will display the first download
for each OS in the current_version
category (order matters).
To add a code snippet to the main page:
- edit
_data/code_snippets.yml
- add the corresponding audio file in
assets/audio
To add a project to the Projects page:
- edit
_data/gallery.yml
with your project data (see examples below) - if your project is represented by an image, add the corresponding image in
images/gallery
- title: YOUR TITLE
type: image
image: YOUR IMAGE
link: YOUR LINK
author: YOUR AUTHOR NAME
text: |
YOUR TEXT
- title: YOUR VIDEO TITLE
type: vimeo (or youtube)
id: YOUR VIDEO ID
text: |
YOUR TEXT