From 0bee64f0f31fa2d4f3befeee99eb6c199798233f Mon Sep 17 00:00:00 2001 From: Georgi Lyubenov Date: Thu, 27 Feb 2020 10:48:37 +0200 Subject: [PATCH] Fix haddock for makeRelativeToProject --- Data/FileEmbed.hs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Data/FileEmbed.hs b/Data/FileEmbed.hs index 7a7bedb..f6cc2a6 100644 --- a/Data/FileEmbed.hs +++ b/Data/FileEmbed.hs @@ -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