aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Rewrite pathJoin to only add a path separator when necessary.Duncan Coutts2006-01-191-4/+7
| | | | | | When the path ends in a file seperator there is no need to add another. Now using "--wiki=http://blah.com/foo/" should do the right thing. (Code snippet adapted from Isaac's FilePath package.)
* Add an optional wiki link for each top level exported name.Duncan Coutts2006-01-193-75/+130
| | | | | | | | | | | | | | In each module, for each "top level" exported entity we add a hyper link to a corresponding wiki page. The link url gets the name of the exported entity as a '#'-style anchor, so if there is an anchor in the page with that name then the users browser should jump directly to it. By "top level" we mean functions, classes, class members and data types (data, type, newtype), but not data constructors, class instances or data type class membership. The link is added at the right of the page and in a small font. Hopefully this is the right balance of visibility/distraction. We also include a link to the wiki base url in the contents and index pages.
* TODO: documnet --wikiSimon Marlow2006-01-181-0/+5
|
* Add a --wiki=URL flag to add a per-module link to a correspondng wiki page.Duncan Coutts2006-01-172-14/+40
| | | | | | | | So each html page gets an extra link (placed next to the source code and contents links) to a corresponding wiki page. The idea is to let readers contribute their own notes, examples etc to the documentation. Also slightly tidy up the code for the --source option.
* Add configure script and Makefile for the docssimonmar2005-10-297-3/+394
| | | | | | | | | Add a separate configure script and build system for building the documentation. The configure and Makefile code is stolen from fptools. This is left as a separate build system so that the main Cabal setup doesn't require a Unix build environment or DocBook XML tools.
* First cut of Cabal build systemsimonmar2005-10-1413-242/+63
|
* Start CHANGES for 0.8simonmar2005-10-141-0/+4
|
* [haddock @ 2005-10-10 15:02:55 by simonmar]simonmar2005-10-101-2/+2
| | | | | | extractRecSel: ignore non-record constructors (fixes a crash when using datatypes with a mixture of record and non-record style constructors).
* [haddock @ 2005-10-05 12:52:03 by simonmar]simonmar2005-10-051-1/+19
| | | | Document new behaviour of -s option
* [haddock @ 2005-10-05 10:51:45 by simonmar]simonmar2005-10-051-0/+3
| | | | Add a bug
* [haddock @ 2005-08-05 07:01:12 by panne]panne2005-08-051-52/+43
| | | | | | | | | | | | | Reverted to previous version (but with bumped version number), the last commit broke RPM building on SuSE systems due to differently named dependencies. As a clarification: All .spec files in the repository have to work at least on SuSE, because that's the system I'm using. And as "Mr. Building Police", I reserve me the right to keep them that way... >:-) It might very well be the case that we need different .spec files for different platforms, so packagers which are unhappy with the current .spec files should contact me, stating the actual problems.
* [haddock @ 2005-08-04 15:59:30 by simonmar]simonmar2005-08-041-3/+3
| | | | replace mingw tests with $(Windows)
* [haddock @ 2005-08-04 15:08:03 by simonmar]simonmar2005-08-041-43/+52
| | | | spec file from Jens Peterson
* [haddock @ 2005-08-04 13:59:40 by simonmar]simonmar2005-08-041-0/+28
| | | | 0.7 changes
* [haddock @ 2005-06-27 14:46:40 by simonmar]simonmar2005-06-271-2/+4
| | | | | | name hierarchical HTML files as A-B-C.html instead of A.B.C.html. The old way confused Apache because the extensions are sometimes interpreted as having special meanings.
* [haddock @ 2005-06-16 08:14:12 by simonmar]simonmar2005-06-161-1/+1
| | | | wibble
* [haddock @ 2005-06-15 15:43:21 by simonmar]simonmar2005-06-151-3/+4
| | | | Allow "licence" as an alternate spelling of "license"
* [haddock @ 2005-05-21 12:35:29 by panne]panne2005-05-211-2/+6
| | | | Warning/versionitis police
* [haddock @ 2005-05-18 12:41:59 by ross]ross2005-05-182-24/+34
| | | | fix 3 bugs in --use-package, and document it.
* [haddock @ 2005-04-22 14:27:15 by simonmar]simonmar2005-04-221-13/+11
| | | | Add a TODO item
* [haddock @ 2005-03-09 08:28:39 by wolfgang]wolfgang2005-03-091-1/+6
| | | | | Hack haddock's lexer to accept the output from Apple's broken version of cpp (Apple's cpp leaves #pragma set_debug_pwd directives in it's output).
* [haddock @ 2005-03-01 17:16:40 by simonmar]simonmar2005-03-012-30/+52
| | | | | | Another attempt at lining up the package names on the contents page. Now, they line up with Konqueror, and almost line up with Firefox & IE (different layout in each case).
* [haddock @ 2005-02-28 16:22:08 by simonmar]simonmar2005-02-282-19/+35
| | | | | | | | | | | | | | | Attempt to fix the layout of the package names in the contents. Having tried just about everything, the only thing I can get to work reliably is to make the package names line up on a fixed offset from the left margin. This obviously isn't ideal, so anyone else that would like to have a go at improving it is welcome. One option is to remove the +/- buttons from the contents list and go back to a plain table. The contents page now uses CSS for layout rather than tables. It seems that most browsers have different interpretations of CSS layout, so only the simplest things lead to consistent results.
* [haddock @ 2005-02-28 16:18:17 by simonmar]simonmar2005-02-281-2/+2
| | | | version 0.7
* [haddock @ 2005-02-23 15:57:12 by simonmar]simonmar2005-02-231-0/+8
| | | | Fix documentation regarding the module attributes.
* [haddock @ 2005-02-04 13:36:05 by ross]ross2005-02-042-2/+37
| | | | | | | sort lists of instances by - arity of the type constructors (so higher-kinded instances come first) - name of the class - argument types
* [haddock @ 2005-02-04 12:40:02 by simonmar]simonmar2005-02-041-30/+82
| | | | Update the documentation w.r.t. home modules and the not-home attribute.
* [haddock @ 2005-02-04 12:15:52 by simonmar]simonmar2005-02-042-3/+5
| | | | | | Add attribute #not-home, to indicate that the current module should not be considered to be a home module for the each entity it exports, unless there is no other module that exports the entity.
* [haddock @ 2005-02-04 12:03:31 by simonmar]simonmar2005-02-041-1/+1
| | | | | Fix bug in renameExportItems that meant links in instances weren't being renamed properly.
* [haddock @ 2005-02-03 16:17:37 by ross]ross2005-02-031-1/+1
| | | | fix typo for < 6.3
* [haddock @ 2005-02-03 13:42:19 by simonmar]simonmar2005-02-031-24/+121
| | | | | | | | | | | | - add --ignore-all-exports flag, which behaves as if every module has the ignore-exports attribute (requested by Chris Ryder). - add --hide option to hide a module on the command line. - add --use-package option to get Haddock info for a package from ghc-pkg (largely untested). - remove reexports from the .haddock file, they aren't used any more.
* [haddock @ 2005-02-02 16:23:00 by simonmar]simonmar2005-02-0210-260/+376
| | | | | | | | | | | | | | | | | | | | | | Revamp the linking strategy in Haddock. Now name resolution is done in two phases: - first resolve everything to original names, like a Haskell compiler would. - then, figure out the "home" location for every entity, and point all the links to there. The home location is the lowest non-hidden module in the import hierarchy that documents the entity. If there are multiple candidates, one is chosen at random. Also: - Haddock should not generate any HTML with dangling links any more. Unlinked references are just rendered as plain text. - Error reporting is better: if we can't find a link destination for an entity reference, we now emit a warning.
* [haddock @ 2005-01-28 23:19:39 by krasimir]krasimir2005-01-281-0/+4
| | | | import Foreign/Foreign.C are required for Windows
* [haddock @ 2005-01-18 10:02:48 by simonmar]simonmar2005-01-181-0/+13
| | | | Add a TODO
* [haddock @ 2005-01-16 15:41:21 by panne]panne2005-01-1612-109/+62
| | | | Cleaned up imports and dropped support for GHC < 5.03, it never worked, anyway.
* [haddock @ 2005-01-16 14:37:10 by panne]panne2005-01-165-34/+24
| | | | Refactored Text.PrettyPrint legacy hell into a separate module.
* [haddock @ 2005-01-16 14:22:44 by panne]panne2005-01-161-1/+1
| | | | Added the last missing "flip" to get identical HTML output as previous versions.
* [haddock @ 2005-01-16 14:14:39 by panne]panne2005-01-162-2/+2
| | | | Data.Map.unions is left-biased.
* [haddock @ 2005-01-16 12:58:03 by panne]panne2005-01-165-6/+6
| | | | | Correctly handle the new order of arguments for the combining function given to fromListWith.
* [haddock @ 2005-01-16 12:18:26 by panne]panne2005-01-161-1/+0
| | | | Trim imports
* [haddock @ 2005-01-15 18:44:45 by panne]panne2005-01-1511-150/+229
| | | | | | | | | | Make Haddock compile again after the recent base package changed. The Map/Set legacy hell has been factored out, so that all modules can simply use the new non-deprecated interfaces. Probably a lot of things can be improved by a little bit of Map/Set/List algebra, this can be done later if needed. Small note: Currently the list of instances in HTML code is reversed. This will hopefully be fixed later.
* [haddock @ 2005-01-13 14:44:24 by ross]ross2005-01-131-0/+22
| | | | Describe numeric character references.
* [haddock @ 2005-01-13 14:43:41 by ross]ross2005-01-131-1/+1
| | | | also allow uppercase X in hexadecimal character references (like SGML)
* [haddock @ 2005-01-13 11:41:33 by ross]ross2005-01-131-3/+7
| | | | | recognize SGML-style numeric character references &#ddd; or &#xhhhh; and translate them into Chars.
* [haddock @ 2005-01-11 10:44:37 by simonmar]simonmar2005-01-111-2/+2
| | | | Remove string gap
* [haddock @ 2005-01-10 19:18:22 by ross]ross2005-01-101-1/+6
| | | | | | | | | | Render non-ASCII characters using numeric character references, to simplify charset issues. There's a META tag saying the charset is UTF-8, but GHC outputs characters as raw bytes. Ideally we need an encoding on the input side too, primarily in comments, because source files containing non-ASCII characters aren't portable between locales.
* [haddock @ 2005-01-04 16:16:54 by simonmar]simonmar2005-01-041-0/+6
| | | | Add a test
* [haddock @ 2005-01-04 16:15:51 by simonmar]simonmar2005-01-041-3/+16
| | | | parser fix: allow qualified specialids.
* [haddock @ 2004-11-01 16:39:01 by panne]panne2004-11-011-5/+0
| | | | Revert previous commit: It's Network.URI which should be changed, not Haddock.
* [haddock @ 2004-10-28 16:01:51 by krasimir]krasimir2004-10-281-0/+5
| | | | update for ghc-6.3+