git.iko.soy/typeable/file-embed
on master help sign in
Merge pull request #32 from googleson78/make-relative-fix-haddock

Fix haddock for makeRelativeToProject

commit0f66c26e77ebeba3023c82e58e125a6071cf083f authorMichael Snoyman <michael@snoyman.com> dateThu 27 Feb 2020, 11:18 (7 years ago) parent6367d840bee64f
1 file changed+1−3
Data/FileEmbed.hs+1−3
Data/FileEmbed.hs+1−3
@@ -369,9 +369,7 @@ available, you can use the non-@With@ variants.
369369-- finds the first parent directory with a .cabal file, and uses that as the
370370-- root directory for fixing the relative path.
371371--
372−-- @@@
373−-- $(makeRelativeToProject "data/foo.txt" >>= embedFile)
374−-- @@@
372+-- @$(makeRelativeToProject "data/foo.txt" >>= embedFile)@
375373--
376374-- @since 0.0.10
377375makeRelativeToProject :: FilePath -> Q FilePath