acrylamid icon indicating copy to clipboard operation
acrylamid copied to clipboard

Not documented: "multiple static directories has been deprecated"

Open maphew opened this issue 11 years ago • 2 comments

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']

maphew avatar Apr 15 '13 05:04 maphew

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']

maphew avatar Apr 15 '13 05:04 maphew

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.

posativ avatar Apr 15 '13 07:04 posativ