acrylamid
acrylamid copied to clipboard
Not documented: "multiple static directories has been deprecated"
compile
and autocompile
issue the following warning, but docs/assets.rst
still shows a multiple example.
acrylamid compile
warn multiple static directories has been deprecated, Acrylamid continues with 'assets/'.
assets.rst:
To include assets, just add a bunch of directories to your :doc:`conf.py`:
.. code-block:: python
STATIC = ['assets', 'static']
hmm, the warning is issued based on the mere presence of the STATIC = [...]
directive in conf.py
, e.g. this will trigger it (and the directory doesn't even have to exist):
STATIC = ['assets']
The documentation is only valid for stable releases. I'm currently working an the assets integration and you'll find a more up-to-date documentation here: feature/webassets/docs/assets.rst.
It just checks for a list of strings and triggers the warning.