aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Backends/Xhtml.hs
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Render signature module tree separately from modules.Edward Z. Yang2017-03-151-1/+16
| | | | | | | | | | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* | | | Add compile step that bundles and compresses JS files (#684)Tim Baumann2017-09-231-21/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | | QuickNav: Make docbase configurableAlexander Biehl2017-08-291-1/+6
| | | |
* | | | Include subordinates in content indexalexbiehl2017-08-291-8/+11
| | | |
* | | | Load javascript below the foldalexbiehl2017-08-281-7/+7
| | | |
* | | | Content search for haddock html docalexbiehl2017-08-271-0/+6
| | | |
* | | | Generate an index for package content search (#662)Florian Eggenhofer2017-08-271-2/+56
| |_|/ |/| | | | | Generate an index for package content search
* | | Haddock support for bundled pattern synonyms (#627)Christiaan Baaij2017-06-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Haddock support for bundled pattern synonyms * Add fixities to bundled pattern synonyms * Add bundled pattern synonyms to the synopsis * Store bundled pattern fixities in expItemFixities * Add test for bundled pattern synonyms * Stop threading fixities * Include bundled pattern synonyms for re-exported data types Sadly, fixity information isn't found for re-exported data types * Support for pattern synonyms * Modify tests after #631 * Test some reexport variations * Also lookup bundled pattern synonyms from `InstalledInterface`s * Check isExported for bundled pattern synonyms * Pattern synonym is exported check * Always look for pattern synonyms in the current module Another overlooked cornercase * Account for types named twice in export lists Also introduce a fast function for nubbing on a `Name` and use it throughout the code base. * correct fixities for reexported pattern synonyms * Fuse concatMap and map * Remove obsolete import * Add pattern synonyms to visible exports * Fix test * Remove corner case
* | | Remove anything related to obsolete frames modealexbiehl2017-04-261-62/+8
| | |
* | | Render (signature) only if it actually is a signature!Edward Z. Yang2017-04-251-2/+5
| | | | | | | | | | | | | | | | | | | | | I forgot a conditional, oops! Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> (cherry picked from commit a0c4790e15a2d3fab8d830eee8fcd639fe6d39c9)
* | | Update MathJax URLPhil Ruffwind2017-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | | MathJax is shutting down their CDN: https://www.mathjax.org/cdn-shutting-down/ They recommend migrating to cdnjs.
* | | Render help documentation link next to (signature) in title.Edward Z. Yang2017-03-231-1/+8
| | | | | | | | | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> (cherry picked from commit 4eb765ca4205c79539d60b7afa9b7e261a4a49fe)
* | | Annotate signature docs with (signature)Edward Z. Yang2017-03-231-2/+5
| | | | | | | | | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> (cherry picked from commit 07b88c5d4e79b87a319fbb08f8ea01dbb41063c1)
* | | Render signature module tree separately from modules.Edward Z. Yang2017-03-231-1/+14
| | | | | | | | | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> (cherry picked from commit 2067a2d0afa9cef381d26fb7140b67c62f433fc0)
* | | Merge branch 'ghc-head'Ben Gamari2017-03-101-1/+1
|\| | | |/ |/|
| * Matching changes for GHC wip/T12942Alan Zimmerman2016-12-121-1/+1
| |
| * Matching changes for #12105Alan Zimmerman2016-05-291-1/+1
| |
* | Copyright holders shown on several lines. Fix #279Sebastian Meric de Bellefon2016-06-161-4/+14
| |
* | remove framed view of the HTML documentation (see #114 and #274)Sebastian Meric de Bellefon2016-05-241-39/+3
|/ | | | | Frames are a bit broken, ignored by Hackage, and considered obsolete in general. This patch disables frames generation. The mini_*.html files are still used in the synopsis.
* Make sure --mathjax affects all written HTML filesJoachim Breitner2016-01-191-15/+16
| | | | This fixes #475.
* Merge remote-tracking branch 'idontgetoutmuch/ghc-head' into ghc-headBen Gamari2015-12-251-10/+14
|\
| * Fix the documentation for haddock itself.Dominic Steinitz2015-12-211-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change notation and add support for inline math. Allow newlines in display math. Add a command line option for the mathjax url (you might want to use a locally installed version). Rebase tests because of extra url and version change. Respond to (some of the) comments. Fix warnings in InterfaceFile.hs
| * Handle inline math with mathjax.Dominic Steinitz2015-12-211-0/+1
| |
* | Merge remote-tracking branch 'phadej/orphans' into ghc-headBen Gamari2015-12-201-7/+16
|\ \ | |/ |/|
| * Add orphan instances link to contents boxOleg Grenrus2015-09-281-6/+12
| |
| * Print orphan instances header only if requiredOleg Grenrus2015-09-281-1/+1
| |
| * Generate docs for orphan instancesOleg Grenrus2015-09-271-1/+4
| |
* | More adaption to wildcard-refactorSimon Peyton Jones2015-12-141-1/+1
| |
* | s/PackageKey/UnitId/g and s/packageKey/unitId/gEdward Z. Yang2015-12-141-1/+1
|/ | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Fix typo in Haddock.Backends.Xhtml.Layout: divSynposis -> divSynopsisPhil Ruffwind2015-08-021-1/+1
| | | | Closes #408
* Change ModuleTree Node to carry PackageKey and SourcePackageId to resolve #385Murray Campbell2015-05-111-2/+2
| | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> (cherry picked from commit 2380f07c430c525b205ce2eae6dab23c8388d899)
* Remove now redundant importsMateusz Kowalczyk2015-03-261-1/+0
|
* Various fixups and bumps for next releaseMateusz Kowalczyk2014-12-121-3/+0
|
* Support for PartialTypeSignaturesThomas Winant2014-12-121-1/+1
| | | | | | | Conflicts: haddock-api/src/Haddock/Backends/Xhtml/Decl.hs haddock-api/src/Haddock/Convert.hs haddock-api/src/Haddock/Interface/Create.hs
* Remove overlapping pattern matchAustin Seipp2014-12-121-1/+0
| | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Properly render package ID (not package key) in index, fixes #329.Edward Z. Yang2014-12-121-6/+8
| | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Conflicts: haddock-api/src/Haddock/ModuleTree.hs
* Revert "Merge branch 'reverts'"Mateusz Kowalczyk2014-12-121-1/+1
| | | | | | | | This reverts commit 5c93cc347773c7634321edd5f808d5b55b46301f, reversing changes made to 5b81a9e53894d2ae591ca0c6c96199632d39eb06. Conflicts: haddock-api/src/Haddock/Convert.hs
* Allow the parser to spit out meta-infoMateusz Kowalczyk2014-12-101-6/+6
| | | | | | | | | | | | | | | Currently we only use it only for ‘since’ annotations but with these patches it should be fairly simple to add new attributes if we wish to. Closes #26. It seems to work fine but due to 7.10 rush I don't have the chance to do more exhaustive testing right now. The way the meta is output (emphasis at the end of the whole comment) is fairly arbitrary and subject to bikeshedding. Note that this makes test for Bug310 fail due to interface version bump: it can't find the docs for base with this interface version so it fails. There is not much we can do to help this because it tests for ’built-in’ identifier, not something we can provide ourselves.
* Experimental support for collapsable headersMateusz Kowalczyk2014-10-291-9/+8
| | | | Closes #335
* Move sources under haddock-api/srcMateusz Kowalczyk2014-08-231-0/+690