From e5cbaa924603c809fe97b6708d10c17220eb2423 Mon Sep 17 00:00:00 2001 From: Mira Weller Date: Thu, 25 Apr 2024 16:51:00 +0200 Subject: [PATCH] Improve docs --- doc/development/setup.rst | 9 +++++++++ doc/development/structure.rst | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/development/setup.rst b/doc/development/setup.rst index f4f04c0ab..7a70a608a 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 b17d3ba06..20eef4bc4 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.