| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
update for ghc-6.3+
|
|
|
|
|
| |
Improved the Cygwin/MinGW chaos a little bit. There is still confusion
about host platform vs. target platform...
|
|
|
|
|
|
|
|
| |
Switched the default state for instances and the module hierarchy to
non-collapsed. This can be reversed when we finally use cookies from
JavaScript to have a more persistent state. Previously going back and forth
in the documentation was simply too annoying because everything was
collapsed again and therefore the documentation was not easily navigatable.
|
|
|
|
| |
Avoid GHC/shell versionitis and create Version.hs
|
|
|
|
| |
escape HADDOCK_VERSION double quotes on all platforms when compiling with <=6.0.x
|
|
|
|
|
|
|
|
| |
SGML is dead, long live DocBook XML!
Note: The BuildRequires tags in the spec files are still incomplete
and the documentation about the DocBook tools needs to be updated,
too. Stay tuned...
|
|
|
|
| |
backquote HADDOCK_VERSION defn for <= ghc-6.0.x; believe this is only needed under mingw
|
|
|
|
| |
Avoid using string-gap tricks.
|
|
|
|
| |
Fixes to installation under Windows.
|
|
|
|
| |
Fixes for DevHelp/HtmlHelp following introduction of short module description.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for a short description for each module, which is included
in the contents.
The short description should be given in a "Description: " field of
the header. Included in this patch are changes that make the format
of the header a little more flexible. From the comments:
-- all fields in the header are optional and have the form
--
-- [spaces1][field name][spaces] ":"
-- [text]"\n" ([spaces2][space][text]"\n" | [spaces]"\n")*
-- where each [spaces2] should have [spaces1] as a prefix.
--
-- Thus for the key "Description",
--
-- > Description : this is a
-- > rather long
-- >
-- > description
-- >
-- > The module comment starts here
--
-- the value will be "this is a .. description" and the rest will begin
-- at "The module comment".
The header fields must be in the following order: Module, Description,
Copyright, License, Maintainer, Stability, Portability.
Patches submitted by: George Russell <ger@informatik.uni-bremen.de>,
with a few small changes be me, mostly to merge with other recent
changes.
ToDo: document the module header.
|
|
|
|
|
|
| |
Add FormatVersion
Patch submitted by: George Russell <ger@informatik.uni-bremen.de>
|
|
|
|
| |
Improved spacing of dynamic module tree
|
|
|
|
| |
ffi wibble
|
|
|
|
| |
make it compile with <= ghc-6.1
|
|
|
|
|
|
|
|
|
|
| |
Pacify W3C validator:
* Added document encoding (currently UTF-8, not sure if this is completely correct)
* Fixed syntax of `id' attributes
* Added necessary `alt' attribute for +/- images
Small layout improvement:
* Added space after +/- images (still not perfect, but better than before)
|
|
|
|
| |
Fixed spelling of "http-equiv" attribute
|
|
|
|
| |
Removed WinDoze CRs
|
|
|
|
| |
Use pathJoin instead of low-level list-based manipulation for FilePaths
|
|
|
|
| |
Nuked dead code
|
|
|
|
| |
Warning police
|
|
|
|
|
| |
Fixed -o/--odir handling. Generating the output, especially the
directory handling, is getting a bit convoluted nowadays...
|
|
|
|
|
| |
Add root node to the table of contents. All modules in tree are not children of
the root
|
|
|
|
| |
fix some bugs. Now I have got the entire libraries documentation in HtmlHelp 2.0 format.
|
|
|
|
| |
add missing imports
|
|
|
|
| |
Added support for DevHelp
|
|
|
|
| |
HtmlHelp 1.x
|
|
|
|
| |
fix
|
|
|
|
| |
Make DHtmlTree compatible with Mozila browser
|
|
|
|
|
| |
make the DHtmlTree in contents page more portable. The +/- buttons are replaced
with new images which looks more beatiful.
|
|
|
|
|
|
|
|
| |
more stuffs
- support for separated compilation of packages
- the contents page now uses DHTML TreeView
- fixed copyFile bug
|
|
|
|
|
| |
bugfix. Move contentsHtmlFile, indexHtmlFile and subIndexHtmlFile functions to
HaddockUtil.hs module to make them accessible from HaddockHH2.hs
|
|
|
|
| |
Add jsFile, plusFile and minusFile to the file list
|
|
|
|
| |
escape names in the index
|
|
|
|
| |
Add basic support for Microsoft HTML Help 2.0
|
|
|
|
|
|
|
| |
Add single quote to $ident, so you can say eg. 'foldl'' to refer to
foldl' (the longest match rule is our friend).
Bug reported by Adrian Hey <ahey@iee.org>
|
|
|
|
|
| |
A quote is a valid part of a Haskell identifier, but it would interfere with an
ECMA script string delimiter, so escape it there.
|
|
|
|
|
|
| |
Update to the +/- buttons: use a resized image rather than a <button>.
Still seeing some strange effects in Konqueror, so might need to use a
fixed-size image instead.
|
|
|
|
| |
Windows: search for templates in executable directory. Unix: Haddock tries cwd first rather than error if no -l arg.
|
|
|
|
|
| |
Complain if -h is used with --gen-index or --gen-contents, because
it'll overwrite the new index/contents.
|
|
|
|
| |
Windows exe extensions (bin remains for Unix).
|
|
|
|
|
|
|
| |
Make the handling of "deriving" slightly smarter, by ignoring data constructor
arguments that are identical to the lhs. Now handles things like
data Tree a = Leaf a | Branch (Tree a) (Tree a) deriving ...
|
|
|
|
|
|
| |
Fix the fix for single-line comment syntax,
-------------------------------------------
is now a valid comment line again.
|
|
|
|
|
|
| |
Allow a 'type' declaration to include documentation comments. These
will be ignored by Haddock, but at least one user (Johannes Waldmann)
finds this feature useful, and it's easy to add.
|
|
|
|
| |
fix for single-line comment syntax
|
|
|
|
| |
Add a doctype for the contents page, too.
|
|
|
|
| |
"type" is a required attribute of the "script" element
|
|
|
|
| |
Remove all that indentation in the generated HTML to keep the file sizes down.
|
|
|
|
| |
Eliminate some unnecessary spaces in the HTML rendering
|
|
|
|
|
|
|
|
|
|
| |
Add support for collaspible parts of the page, with a +/- button and a
bit of JavaScript. Make the instances collapsible, and collapse them
by default.
This makes documentation with long lists of instances (eg. the
Prelude) much easier to read. Maybe we should give other
documentation sections the same treatment.
|