2015-04-02 01:51:37 +02:00
|
|
|
Contributing to the Sass website
|
2014-04-20 00:31:20 +02:00
|
|
|
================================
|
|
|
|
|
2018-10-27 06:35:30 +02:00
|
|
|
The Sass website is open source. See a bug or typo? Have an idea? Do the
|
2014-04-20 00:31:20 +02:00
|
|
|
following:
|
|
|
|
|
2019-05-10 05:35:55 +02:00
|
|
|
* **Please read the [Implementation Guide][ig] and the [Style Guide][sg]**
|
2018-10-27 06:35:30 +02:00
|
|
|
before contributing.
|
2014-04-20 00:31:20 +02:00
|
|
|
* Write a detailed description of what you're adding in the pull request
|
|
|
|
(screenshots help).
|
2018-10-27 06:35:30 +02:00
|
|
|
* If there is new design or CSS, please add @Jina as a reviewer so she can see
|
|
|
|
if it needs to be added to the style guide (or if a suitable alternative
|
|
|
|
exists).
|
2021-07-24 01:28:41 +02:00
|
|
|
* Submit the pull request to the `main` branch.
|
2014-04-20 00:31:20 +02:00
|
|
|
* Drink whisky.
|
|
|
|
|
|
|
|
## Running Locally
|
|
|
|
|
2018-10-27 06:35:30 +02:00
|
|
|
This site is built with [middleman][], a Ruby framework for building static
|
|
|
|
sites.
|
2014-04-20 00:31:20 +02:00
|
|
|
|
2018-10-27 06:35:30 +02:00
|
|
|
You will need [Ruby][], [rubygems](http://rubygems.org/) and [bundler][]
|
|
|
|
installed before you can run the site locally.
|
2014-04-20 00:31:20 +02:00
|
|
|
|
|
|
|
If the above dependencies are installed, in your command line of preference,
|
|
|
|
navigate to the project repo and run:
|
|
|
|
|
|
|
|
```
|
|
|
|
bundle install
|
2018-03-10 00:32:48 +01:00
|
|
|
bundle exec rake sass:import
|
2015-10-14 04:13:48 +02:00
|
|
|
bundle exec middleman
|
2014-04-20 00:31:20 +02:00
|
|
|
```
|
|
|
|
|
2015-11-27 22:36:53 +01:00
|
|
|
## Deploying
|
|
|
|
|
2021-07-24 01:28:41 +02:00
|
|
|
Every time a new commit is pushed to main, it will automatically be deployed
|
2018-03-10 00:55:07 +01:00
|
|
|
to sass-lang.com. Easy as that!
|
2014-04-20 00:31:20 +02:00
|
|
|
|
|
|
|
Thanks!
|
|
|
|
|
2018-10-22 23:13:05 +02:00
|
|
|
— Sass Core Team
|
2018-10-27 06:35:30 +02:00
|
|
|
|
|
|
|
[ig]: http://sass-lang.com/implementation
|
|
|
|
[sg]: http://sass-lang.com/styleguide
|
|
|
|
[middleman]: http://middlemanapp.com
|
|
|
|
[ruby]: https://www.ruby-lang.org/en/downloads/
|
|
|
|
[bundler]: http://bundler.io/
|