Skip to content

Commit

Permalink
Fix warnings when building sphinx docs. Resolves #179
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Jan 7, 2017
1 parent 7a24cc5 commit 04baae8
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions sassutils/wsgi.py
Expand Up @@ -18,7 +18,7 @@


class SassMiddleware(object):
"""WSGI middleware for development purpose. Everytime a CSS file has
r"""WSGI middleware for development purpose. Everytime a CSS file has
requested it finds a matched SASS/SCSS source file and then compiled
it into CSS.
Expand All @@ -30,23 +30,21 @@ class SassMiddleware(object):
.. code-block:: css
/*
Error: invalid property name
*/
/*
Error: invalid property name
*/
Red text in ``body:before``
The result CSS draws detailed error message in ``:before``
pseudo-class of ``body`` element e.g.::
pseudo-class of ``body`` element e.g.:
.. code-block:: css
/*
body:before {
content: 'Error: invalid property name';
color: maroon;
background-color: white;
}
*/
body:before {
content: 'Error: invalid property name';
color: maroon;
background-color: white;
}
In most cases you could be aware of syntax error by refreshing your
working document because it will removes all other styles and leaves
Expand Down

0 comments on commit 04baae8

Please sign in to comment.