aboutsummaryrefslogtreecommitdiff
path: root/html/haddock-util.js
Commit message (Collapse)AuthorAgeFilesLines
* layout tweeks - mini page font size, toc color, etc.Mark Lentczner2010-08-181-1/+1
|
* remove synopsis when in framesMark Lentczner2010-08-171-2/+8
|
* clean up collapser logicsMark Lentczner2010-08-171-16/+48
| | | | | | | | javascript code for collapasble sections cleaned up rewrote class utilities in javascript to be more robust refactored utilities for generating collapsable sections made toc be same color as synopsis module list has needed clear attribute in CSS
* build style menu in javascriptMark Lentczner2010-08-141-11/+42
| | | | | | | | moved to javascript, so as to not polute the content with the style menu removed menu building code in Themes.hs removed onclick in Utils.hs changed text of button in header from "Source code" to "Source" more consistent with links in rest of page
* move frames button to js Mark Lentczner2010-08-131-4/+13
|
* add Frames button and clean up frames.htmlMark Lentczner2010-08-131-9/+39
|
* change how collapsing sections are doneMark Lentczner2010-07-251-14/+22
| | | | | | make whole .caption be the target improve javascript for class toggling have plus/minus images come from .css, not img tags
* factored out head element generationMark Lentczner2010-07-171-1/+0
|
* fixed package catpion, added style menuMark Lentczner2010-07-161-9/+36
|
* added two new themes and rough css switcherMark Lentczner2010-07-151-0/+13
|
* 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.