Skip to content

Fix warnings when building sphinx docs. Resolves #179 #183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 7, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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