mirror of
https://github.com/typeable/file-embed.git
synced 2024-08-15 18:50:29 +03:00
Fix haddock for makeRelativeToProject
This commit is contained in:
parent
6367d84e31
commit
0bee64f0f3
@ -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