Shopify's Open Source page is built with Jekyll and Sass and hosted on GitHub Pages.
All of the data comes from Jekyll. Any change in index.html (including whitespace commits - e.g.) will trigger a rebuild and update all of the numbers.
To include a repo in the list, add it to optInRepos
in javascripts/custom-repos.js
. The repo must be owned by Shopify. To include non-Shopify repos, use customRepos
. Set a defined project language or custom avatar in the same file.
gem install jekyll
gem install sass
sass -v
to make sure it workedgem install compass
bundle install
bundle exec jekyll serve
compass watch
http://localhost:4000
bundle exec jekyll serve
will compile the Jekyll and Sass files into static assets in the _site folder each time a file is saved. That folder is excluded from the repo.compass watch
will update ie.css and main.css.rake build
to manually parse SCSS files.site.github.public_repositories
object to get the repo data. This data is only available when live.gh-pages
branch, or from the /docs
directory, based on the GitHub Pages settings.
Using the /docs
directory is preferred as it's less confusing for contributors.