aboutsummaryrefslogtreecommitdiff
path: root/html/haddock-util.js
Commit message (Collapse)AuthorAgeFilesLines
* Enable framed view of the HTML documentation.Thomas Schilling2008-10-241-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces: - A page that displays the documentation in a framed view. The left side will show a full module index. Clicking a module name will show it in the right frame. If Javascript is enabled, the left side is split again to show the modules at the top and a very short synopsis for the module currently displayed on the right. - Code to generate the mini-synopsis for each module and the mini module index ("index-frames.html"). - CSS rules for the mini-synopsis. - A very small amount of javascript to update the mini-synopsis (but only if inside a frame.) Some perhaps controversial things: - Sharing code was very difficult, so there is a small amount of code duplication. - The amount of generated pages has been doubled, since every module now also gets a mini-synopsis. The overhead should not be too much, but I haven't checked. Alternatively, the mini-synopsis could also be generated using Javascript if we properly annotate the actual synopsis.
* Make the max number of results 75 instead of 50, to allow map searching in ↵Neil Mitchell2007-01-121-1/+1
| | | | the base library to work
* Rewrite much of the index searching code, previously was too slow to execute ↵Neil Mitchell2007-01-121-9/+100
| | | | on the base library with IE, the new version guarantees less than O(log n) operations be performed, where n is the number in the list (before was always O(n))
* Add searching on the index pageNeil Mitchell2007-01-111-0/+27
|
* Rename haddock.js to haddock-util.jsSimon Marlow2006-10-111-0/+15
haddock.js will be run automatically by Windows when you type 'haddock' if it is found on the PATH, so rename to avoid confusion. Spotted by Adrian Hey.