Merge pull request #231 from sol/master
yesod-static: Escape / in documentation of staticFilesList
This commit is contained in:
commit
a92599fc60
@ -196,8 +196,8 @@ staticFiles dir = mkStaticFiles dir
|
|||||||
-- | Same as 'staticFiles', but takes an explicit list of files
|
-- | Same as 'staticFiles', but takes an explicit list of files
|
||||||
-- to create identifiers for. The files path given are relative
|
-- to create identifiers for. The files path given are relative
|
||||||
-- to the static folder. For example, to create routes for the
|
-- to the static folder. For example, to create routes for the
|
||||||
-- files @\"static/js/jquery.js\"@ and
|
-- files @\"static\/js\/jquery.js\"@ and
|
||||||
-- @\"static/css/normalize.css\"@, you would use:
|
-- @\"static\/css\/normalize.css\"@, you would use:
|
||||||
--
|
--
|
||||||
-- > staticFilesList \"static\" [\"js\/jquery.js\", \"css\/normalize.css\"]
|
-- > staticFilesList \"static\" [\"js\/jquery.js\", \"css\/normalize.css\"]
|
||||||
--
|
--
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user