mirror of
https://github.com/typeable/file-embed.git
synced 2024-08-16 03:00:34 +03:00
Merge pull request #32 from googleson78/make-relative-fix-haddock
Fix haddock for makeRelativeToProject
This commit is contained in:
commit
0f66c26e77
@ -369,9 +369,7 @@ available, you can use the non-@With@ variants.
|
||||
-- finds the first parent directory with a .cabal file, and uses that as the
|
||||
-- root directory for fixing the relative path.
|
||||
--
|
||||
-- @@@
|
||||
-- $(makeRelativeToProject "data/foo.txt" >>= embedFile)
|
||||
-- @@@
|
||||
-- @$(makeRelativeToProject "data/foo.txt" >>= embedFile)@
|
||||
--
|
||||
-- @since 0.0.10
|
||||
makeRelativeToProject :: FilePath -> Q FilePath
|
||||
|
Loading…
Reference in New Issue
Block a user