Include creation date in Haddock documentation

Hi all, I wonder if it is possible to have Haddock include the date and time at which the documentation was generated. Ideally this should only occur on index.html, but to have it in any file (e.g. in the footer) would be OK, too. I couldn't find any information about dates in the documentation. Documentation is created via Cabal: cabal haddock --executables --hyperlink-source Right now I include a token in the Cabal "description" field of the package, and sed-replace it afterwards, which is of course ugly. Thanks!

2010/1/29 Dennis Walter
Hi all,
I wonder if it is possible to have Haddock include the date and time at which the documentation was generated. Ideally this should only occur on index.html, but to have it in any file (e.g. in the footer) would be OK, too. I couldn't find any information about dates in the documentation.
Documentation is created via Cabal: cabal haddock --executables --hyperlink-source
Right now I include a token in the Cabal "description" field of the package, and sed-replace it afterwards, which is of course ugly.
It's not possible at the moment AFAIK, but we could add it. I've created a ticket: http://trac.haskell.org/haddock/ticket/131 David
participants (2)
-
David Waern
-
Dennis Walter