diff --git a/doc/development/setup.rst b/doc/development/setup.rst index f4f04c0abd..7a70a608a3 100644 --- a/doc/development/setup.rst +++ b/doc/development/setup.rst @@ -211,5 +211,14 @@ with the documentation a lot, you might find it useful to use sphinx-autobuild:: Then, go to http://localhost:8081 for a version of the documentation that automatically re-builds whenever you change a source file. +Working with frontend assets +---------------------------- + +To update the frontent styles, run the following commands inside your virtual environment.:: + + python -m pretix collectstatic --noinput + python -m pretix updatestyles + + .. _Django's documentation: https://docs.djangoproject.com/en/1.11/ref/django-admin/#runserver .. _pretixdroid: https://github.com/pretix/pretixdroid diff --git a/doc/development/structure.rst b/doc/development/structure.rst index b17d3ba069..20eef4bc44 100644 --- a/doc/development/structure.rst +++ b/doc/development/structure.rst @@ -31,7 +31,7 @@ pretix/ Additional code implementing our customized :ref:`URL handling `. static/ - Contains all static files (CSS/SASS, JavaScript, images) of pretix' core + Contains all static files (CSS/SASS, JavaScript, images) of pretix' core. We use libsass as a preprocessor for CSS. Our own sass code is built in the same step as Bootstrap and FontAwesome, so their mixins etc. are fully available.