Merge pull request #32 from googleson78/make-relative-fix-haddock

Fix haddock for makeRelativeToProject
This commit is contained in:
Michael Snoyman 2020-02-27 11:18:50 +02:00 committed by GitHub
commit 0f66c26e77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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