aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/resources/html/haddock-bundle.min.js
Commit message (Collapse)AuthorAgeFilesLines
* Make links in Synopsis functional again (#1458)Steve Hart2022-03-251-1/+1
| | | | | | | | | Commit e41c1cbe9f0476997eac7b4a3f17cbc6b2262faf added a call to e.preventDefault() when handling click events that reach a toggle element. This prevents the browser from following hyperlinks within the Synopsis section when they are clicked by a user. This commit restores functioning hyperlinks within the Synopsis section by removing the call to e.preventDefault(), as it does not appear to be necessary, and removing it increases the flexibility of the details-helper code.
* coot/multiple packages (ghc-9.2) (#1418)Marcin Szamotulski2021-08-081-1/+1
|
* Menu item controlling which instances are expanded/collapsed (#1007)Xia Li-yao2019-02-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | Adds a menu item (like "Quick Jump") for options related to displaying instances. This provides functionality for: * expanding/collapsing all instances on the currently opened page * controlling whether instances are expanded/collapsed by default * controlling whether the state of instances should be "remembered" This new functionality is implemented in Typescript in `details-helper`. The built-in-themes style switcher also got a revamp so that all three of QuickJump, the style switcher, and instance preferences now have the same style and implementation structure. See also: https://mail.haskell.org/pipermail/haskell-cafe/2019-January/130495.html Fixes #698. Co-authored-by: Lysxia <lysxia@gmail.com> Co-authored-by: Nathan Collins <conathan@galois.com>
* Resurrect the style-switcherAlec Theriault2018-10-241-1/+1
| | | | | | | | | | This fixes #810. Looks like things were broken during the quickjump refactor of the JS. For the (git) record: I do not think the style switcher is a good idea. I'm fixing it for the same reason @mzero added it; as an answer to "rumblings from some that they didn't want their pixels changed on bit"
* Clear search string on hide for #781 (#789)Jack Henahan2018-04-031-1/+1
|
* Quickjump: Matches on function names weight more than matches in ...alexbiehl2018-02-011-1/+1
| | | | module names.
* Decrease threshold for fuzzy matchingalexbiehl2017-10-301-1/+1
|
* Quick Jump: Show error when loading 'doc-index.json' failed (#691)Tim Baumann2017-10-101-1/+1
|
* Use <details> element for collapsibles (#690)Tim Baumann2017-10-091-1/+1
| | | | | | | | | | | * Remove unnecessary call to 'collapseSection' The call is unnecessary since there is no corresponding toggle for hiding the section of orphan instances. * Use <details> for collapsibles This makes them work even when JS is disabled. Closes #560.
* Add compile step that bundles and compresses JS files (#684)Tim Baumann2017-09-231-0/+2
* Add compile step that bundles and compresses JS files Also, manage dependencies on third-party JS libraries using NPM. * Compile JS from TypeScript * Enable 'noImplicitAny' in TypeScript * QuickJump: use JSX syntax * Generate source maps from TypeScript for easier debugging * TypeScript: more accurate type * Separate quick jump css file from ocean theme