Skip to content

Commit 04baae8

Browse files
committed
Fix warnings when building sphinx docs. Resolves #179
1 parent 7a24cc5 commit 04baae8

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

sassutils/wsgi.py

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919

2020
class SassMiddleware(object):
21-
"""WSGI middleware for development purpose. Everytime a CSS file has
21+
r"""WSGI middleware for development purpose. Everytime a CSS file has
2222
requested it finds a matched SASS/SCSS source file and then compiled
2323
it into CSS.
2424
@@ -30,23 +30,21 @@ class SassMiddleware(object):
3030
3131
.. code-block:: css
3232
33-
/*
34-
Error: invalid property name
35-
*/
33+
/*
34+
Error: invalid property name
35+
*/
3636
3737
Red text in ``body:before``
3838
The result CSS draws detailed error message in ``:before``
39-
pseudo-class of ``body`` element e.g.::
39+
pseudo-class of ``body`` element e.g.:
4040
4141
.. code-block:: css
4242
43-
/*
44-
body:before {
45-
content: 'Error: invalid property name';
46-
color: maroon;
47-
background-color: white;
48-
}
49-
*/
43+
body:before {
44+
content: 'Error: invalid property name';
45+
color: maroon;
46+
background-color: white;
47+
}
5048
5149
In most cases you could be aware of syntax error by refreshing your
5250
working document because it will removes all other styles and leaves

0 commit comments

Comments
 (0)