yesod-static: Escape / in documentation of staticFilesList

This commit is contained in:
Simon Hengel 2012-01-18 09:58:39 +01:00
parent 14f17a1373
commit 02f1fa1b5b

View File

@ -196,8 +196,8 @@ staticFiles dir = mkStaticFiles dir
-- | Same as 'staticFiles', but takes an explicit list of files
-- to create identifiers for. The files path given are relative
-- to the static folder. For example, to create routes for the
-- files @\"static/js/jquery.js\"@ and
-- @\"static/css/normalize.css\"@, you would use:
-- files @\"static\/js\/jquery.js\"@ and
-- @\"static\/css\/normalize.css\"@, you would use:
--
-- > staticFilesList \"static\" [\"js\/jquery.js\", \"css\/normalize.css\"]
--