Skip to content

Commit

Permalink
"Merge pull request #445 from hrbonz/libsass_doc\n\nadd libsass filte…
Browse files Browse the repository at this point in the history
…r to docs"
  • Loading branch information
miracle2k committed Mar 4, 2016
2 parents 2452594 + 135b65f commit 3e37b7b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/builtin_filters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,20 @@ JS/CSS compilers
.. autoclass:: webassets.filter.pyscss.PyScss


``libsass``
~~~~~~~~~~~

.. autoclass:: webassets.filter.libsass.LibSass


``node-sass``
~~~~~~~~~~
~~~~~~~~~~~~~

.. autoclass:: webassets.filter.node_sass.NodeSass


``node-scss``
~~~~~~~~~~
~~~~~~~~~~~~~

.. autoclass:: webassets.filter.node_sass.NodeSCSS

Expand Down
10 changes: 10 additions & 0 deletions src/webassets/filter/libsass.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ class LibSass(Filter):
options:
http://hongminhee.org/libsass-python/sass.html#sass.compile
*Example:*
Define a bundle for ``style.scss`` that contains ``@imports`` to files in
subfolders:
.. code-block:: python
Bundle('style.scss', filters='libsass', output='style.css', depends'**/*.scss')
"""
name = 'libsass'
options = {
Expand Down

0 comments on commit 3e37b7b

Please sign in to comment.