Clone this repository:
git clone https://github.com/supercollider/supercollider.github.io.git
cd supercollider.github.io
This website is powered by jekyll
so in order to view it locally you'll need
to have Ruby and Gems installed
on your computer.
Then, install jekyll
and bundler
gems:
gem install jekyll bundler
Install dependencies:
bundle install
Now you can run jekyll
server:
bundle exec jekyll serve
And then, in your browser:
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 bust).
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