Package page on Hackage (hacakge-scripts)

Hi folks, The per-package overview pages on Hackage have recently received a makeover to match the style of Haddock 2.8. Which code generates these pages? I had though it was the following two modules: http://darcs.haskell.org/hackage-scripts/HackagePage.hs http://darcs.haskell.org/hackage-scripts/PackagePage.hs but those don't seem to include the new CSS and javascript, and neither have a modify date later than the release of Haddock 2.8. Am I looking in the wrong place? Thanks, Antoine

On Sun, Nov 21, 2010 at 04:07:32PM -0600, Antoine Latter wrote:
The per-package overview pages on Hackage have recently received a makeover to match the style of Haddock 2.8. Which code generates these pages? I had though it was the following two modules:
http://darcs.haskell.org/hackage-scripts/HackagePage.hs http://darcs.haskell.org/hackage-scripts/PackagePage.hs
but those don't seem to include the new CSS and javascript, and neither have a modify date later than the release of Haddock 2.8.
Am I looking in the wrong place?
Yes: http://code.haskell.org/~ross/hackage-scripts/PackagePage.hs The css and js is the same as used for module documentation (with a small addition): http://hackage.haskell.org/packages/haddock/

On Sun, Nov 21, 2010 at 5:05 PM, Ross Paterson
On Sun, Nov 21, 2010 at 04:07:32PM -0600, Antoine Latter wrote:
The per-package overview pages on Hackage have recently received a makeover to match the style of Haddock 2.8. Which code generates these pages? I had though it was the following two modules:
http://darcs.haskell.org/hackage-scripts/HackagePage.hs http://darcs.haskell.org/hackage-scripts/PackagePage.hs
but those don't seem to include the new CSS and javascript, and neither have a modify date later than the release of Haddock 2.8.
Am I looking in the wrong place?
Yes: http://code.haskell.org/~ross/hackage-scripts/PackagePage.hs
The css and js is the same as used for module documentation (with a small addition): http://hackage.haskell.org/packages/haddock/
Thanks, Ross. I'm looking through the relevant diffs. Antoine
participants (2)
-
Antoine Latter
-
Ross Paterson