2023-01-09 20:10:02 +01: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:
|
|
|
|
|
2023-01-09 20:10:02 +01:00
|
|
|
- **Please read the [Implementation Guide][ig] and the [Style Guide][sg]**
|
2018-10-27 06:35:30 +02:00
|
|
|
before contributing.
|
2023-01-09 20:10:02 +01:00
|
|
|
- Write a detailed description of what you're adding in the pull request
|
2014-04-20 00:31:20 +02:00
|
|
|
(screenshots help).
|
2023-01-09 20:10:02 +01:00
|
|
|
- If there is new design or CSS, please add @Jina as a reviewer so she can see
|
2018-10-27 06:35:30 +02:00
|
|
|
if it needs to be added to the style guide (or if a suitable alternative
|
|
|
|
exists).
|
2023-01-09 20:10:02 +01:00
|
|
|
- Submit the pull request to the `main` branch.
|
|
|
|
- Drink whisky.
|
2014-04-20 00:31:20 +02:00
|
|
|
|
|
|
|
## 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
|
|
|
|
2023-01-09 20:10:02 +01:00
|
|
|
[ig]: https://sass-lang.com/implementation
|
|
|
|
[sg]: https://sass-lang.com/styleguide
|
2022-10-13 19:26:33 +02:00
|
|
|
[middleman]: https://middlemanapp.com
|
2023-01-09 20:10:02 +01:00
|
|
|
[ruby]: https://www.ruby-lang.org/en/downloads/
|
|
|
|
[bundler]: https://bundler.io/
|