diff --git a/doc/admin/installation.rst b/doc/admin/installation.rst index a47b3907e..aba074cc1 100644 --- a/doc/admin/installation.rst +++ b/doc/admin/installation.rst @@ -19,8 +19,7 @@ If you want to set them up manually, you can also get pretix from GitHub or wait To run pretix, you will need **at least Python 3.4**. You can get the direct dependencies by doing a ``pip install -r requirements.txt`` in the pretix source -directory. You'll also need ``nodejs`` and the ``less`` node package. We'll provide detailled documentation -on this as soon as pretix will be officially released. +directory. We'll provide detailled documentation on this as soon as pretix will be officially released. If you have real users on your system you'll **really** want to use diff --git a/doc/development/setup.rst b/doc/development/setup.rst index 5fd8ef540..f544cfcf8 100644 --- a/doc/development/setup.rst +++ b/doc/development/setup.rst @@ -15,7 +15,6 @@ External Dependencies * ``pyvenv`` for Python 3 (Debian package: ``python3-venv``) * ``libffi`` (Debian package: ``libffi-dev``) * ``git`` -* ``lessc`` (Debian package: ``node-less``) Your local python environment ----------------------------- diff --git a/doc/development/structure.rst b/doc/development/structure.rst index db55c007d..ea9453494 100644 --- a/doc/development/structure.rst +++ b/doc/development/structure.rst @@ -21,8 +21,7 @@ pretix/ helpers/ Helpers contain a very few modules providing workarounds for low-level flaws in - Django or installed 3rd-party packages, like a filter to combine the ``lessc`` - preprocessor with ``django-compressor``'s URL rewriting. + Django or installed 3rd-party packages. static/ Contains all static files (CSS, JavaScript, images) diff --git a/doc/development/style.rst b/doc/development/style.rst index 67d093724..065cc702f 100644 --- a/doc/development/style.rst +++ b/doc/development/style.rst @@ -32,26 +32,8 @@ Python code * Always mark all strings ever displayed to any user for translation. -LESS stylesheets ----------------- - -* Indent your code with four spaces. -* Make use of the nesting feature of LESS to put your code in logical groups, but avoid using - more than three levels of nesting. -* Put spaces after ``:`` in declarations. -* Put spaces before ``{`` in rulesets. -* When grouping selectors, use one line per selector. -* Place closing brackets on an own line. -* Use only one declaration per line. -* Use the `mixins`_ feature from LESS, especially when dealing with browser-specific statements - like ``-webkit-transform``, ``-moz-transform``, etc. -* Use hex color codes (or ``rgba()``, if needed) -* Put colors into variables, if you use them more than once (and maybe even then) - - .. _PEP 8: http://legacy.python.org/dev/peps/pep-0008/ .. _flake8: https://pypi.python.org/pypi/flake8 .. _Django Coding Style: https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/coding-style/ -.. _mixins: http://lesscss.org/features/#mixins-feature .. [#f1] But Python's very own ``unittest`` module forces us to use ``setUp`` as a method name...