Skip to content

Commit

Permalink
Merge pull request #183 from dahlia/fix_docs_warnings
Browse files Browse the repository at this point in the history
Fix warnings when building sphinx docs.  Resolves #179
  • Loading branch information
asottile committed Jan 7, 2017
2 parents f530e13 + 04baae8 commit 8bc1d1e
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions sassutils/wsgi.py
Original file line number Diff line number Diff line change
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 8bc1d1e

Please sign in to comment.