Skip to content

Commit 52fa3b1

Browse files
committed
docs: add details to CSS generation
1 parent 00b4302 commit 52fa3b1

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

docs/source/install.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,23 @@ Once you have it installed, update the URL value of `HAYSTACK_CONNECTIONS` set
197197
Generating CSS files automatically
198198
----------------------------------
199199

200-
Due to performance issues of [django-pipeline](https://github.com/jazzband/django-pipeline/issues/313), we are using a dummy compiler `pydotorg.compilers.DummySASSCompiler` in development mode. To generate CSS files, use `sass` itself in a separate terminal window:
200+
Due to performance issues of [django-pipeline](https://github.com/jazzband/django-pipeline/issues/313), we are using
201+
a dummy compiler `pydotorg.compilers.DummySASSCompiler` in development mode.
202+
203+
To generate CSS files, use `sass` itself in a separate terminal window:
204+
205+
````{note}
206+
To get up an running with SASS,
207+
you need to [install Ruby 2 (>= 2.0.0, < 3.0.0)](https://www.ruby-lang.org/en/documentation/installation/),
208+
the `sussy` gem, and the `sass` gem.
209+
210+
The gems are defined in the `Gemfile` and can be installed by running the following command:
211+
```bash
212+
bundle install
213+
```
214+
````
215+
216+
Then run the following command to generate CSS files:
201217

202218
```
203219
$ cd static

0 commit comments

Comments
 (0)