Skip to content

Commit

Permalink
docs: add details to CSS generation
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee committed Sep 30, 2024
1 parent 00b4302 commit 52fa3b1
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docs/source/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,23 @@ Once you have it installed, update the URL value of `HAYSTACK_CONNECTIONS` set
Generating CSS files automatically
----------------------------------

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:
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:

````{note}
To get up an running with SASS,
you need to [install Ruby 2 (>= 2.0.0, < 3.0.0)](https://www.ruby-lang.org/en/documentation/installation/),
the `sussy` gem, and the `sass` gem.
The gems are defined in the `Gemfile` and can be installed by running the following command:
```bash
bundle install
```
````

Then run the following command to generate CSS files:

```
$ cd static
Expand Down

0 comments on commit 52fa3b1

Please sign in to comment.