Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Generate version specific hyperlinks in hackagedocs.sh
  • Loading branch information
glguy committed Oct 3, 2014
1 parent f5e6079 commit fd74241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/hackage-docs.sh
Expand Up @@ -32,7 +32,7 @@ echo "Detected package: $pkg-$ver"
dir=$(mktemp -d build-docs.XXXXXX)
trap 'rm -r "$dir"' EXIT

cabal haddock --hoogle --hyperlink-source --html-location='http://hackage.haskell.org/package/$pkg/docs' --contents-location='http://hackage.haskell.org/package/$pkg'
cabal haddock --hoogle --hyperlink-source --html-location='/package/$pkg-$version/docs' --contents-location='/package/$pkg-$version'

cp -R dist/doc/html/$pkg/ $dir/$pkg-$ver-docs

Expand Down

0 comments on commit fd74241

Please sign in to comment.