aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/resources/html
Commit message (Collapse)AuthorAgeFilesLines
* Fix the synopsis buttonAlec Theriault2018-10-241-5/+8
| | | | | | | | | | | | Here's these changes are supposed to do: * put the synopsis back on the right side * properly have it on the edge of the screen on wide screens * adjust the background of the synopsis to match the button (otherwise the grey blends in with what is underneath) * get rid of the dotted purple line * the synopsis contents are now scrollable even when in wide screens (this has been a long-standing bug)
* Fix copy-pasta error in data-filesAlec Theriault2018-10-241-0/+0
|
* Resurrect the style-switcherAlec Theriault2018-10-245-30/+42
| | | | | | | | | | 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"
* Update JS dependenciesAlec Theriault2018-10-244-1860/+3510
| | | | | This was done via `npm audit fix`. I think this fixes #903 along with some more serious vulnerabilities that nobody seems to have noticed.
* Improve code blocks stylingNuno Alexandre2018-10-181-7/+25
| | | | | - Fix and improve spacing - Improve colors and borders
* Misc of tweaksNuno Alexandre2018-10-181-10/+32
| | | | | | | - Update link colors to hackage scheme - Tune spacing between content elements - Update footer style - Fix and improve code blocks identation
* Use 'flex' to fix header alignmentNuno Alexandre2018-10-181-11/+55
|
* Update font to PT SansNuno Alexandre2018-10-181-13/+21
| | | | Also migrate some general text related changes from hackage.
* Fix issue with menu alignment on firefoxNunoAlexandre2018-10-181-0/+1
| | | | | Reported and described here: https://github.com/haskell/haddock/pull/721#issuecomment-374668869
* Fix responsive triggers overlap issueNunoAlexandre2018-10-181-4/+4
| | | | | | | The min and max width triggers have the same values, which caused the style resolution to take an intersection of both style declarations when the screen resolution had the size of the limts (say 1280px), causing an odd behaviour and look.
* Minor adjustmentsNunoAlexandre2018-10-181-3/+11
| | | | | | Bring in some adjustments made to hackage: - link colors - page header show everything when package title is too long
* Improve information densityNuno Alexandre2018-10-181-48/+74
| | | | | | | - Reduce font size - Improve space between and within code blocks - Improve alignments - Improve spacing within sub-blocks
* Make synopsis scrollable on wide screensNuno Alexandre2018-10-181-0/+1
| | | | | When the synopsis is longer than the screen, you can’t see its end and you can't scroll down either, making the content unreachable.
* Address several PR commentsNuno Alexandre2018-10-181-43/+78
| | | | | | | | | | | | | - Darken text color like done for hackage - Move synopsis to left side - Make table of contents stick to the left on wide screens - Wrap links to avoid page overflow - Improve expand/collapse buttons - Fix issue with content size on mobile devices - Fix issue with font-size on landscape mode - Increase width of the content - Change colors of table of contents and synopsis - Etc
* Decrease space between code blocksNuno Alexandre2018-10-181-7/+7
| | | | | There was too much space between code blocks as pointed out by reviewers.
* Improve synopsis style and codeNuno Alexandre2018-10-181-13/+13
| | | | | - Use CSS3 instead of loading pictures to show "+" and "-" symbols - Drop redundant code
* Make the style consistent with hackageNuno Alexandre2018-10-181-44/+62
| | | | | | | | | Several things are addressed here: - better responsive behaviour on the header - better space usage - consistent colors overall - other nit PR comments
* Make it responsiveNunoAlexandre2018-10-181-10/+61
| | | | | | - It makes small screens taking more space than larger ones - fixes a few issues present in small screens currently - make it look good across different screen sizes.
* Update html test reference filesNunoAlexandre2018-10-181-2/+1
|
* Improve appearance and readabilityNunoAlexandre2018-10-181-22/+39
| | | | | | | | | These changes include: - use latest Haskell's logo colors - decrease #content width to improve readability - use nicer font - improve sizes and distances
* Add NewOcean themealexbiehl2018-10-1810-1/+648
| | | | And make it the default theme.
* Clear search string on hide for #781 (#789)Jack Henahan2018-04-033-4/+4
|
* Quickjump Scrollable overlayAlexander Biehl2018-02-011-2/+2
|
* Grid Tables (#718)Oleg Grenrus2018-02-012-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add table examples * Add table types and adopt simple parser Simple parser is done by Giovanni Cappellotto (@potomak) in https://github.com/haskell/haddock/pull/577 It seems to support single fine full tables, so far from full RST-grid tables, but it's good start. Table type support row- and colspans, but obviously parser is lacking. Still TODO: - Latex backend. Should we use multirow package https://ctan.org/pkg/multirow?lang=en? - Hoogle backend: ? * Implement grid-tables * Refactor table parser * Add two ill-examples * Update CHANGES.md * Basic documentation for tables * Fix documentation example
* Quickjump: Matches on function names weight more than matches in ...alexbiehl2018-02-013-3/+11
| | | | module names.
* Decrease threshold for fuzzy matchingalexbiehl2017-10-303-3/+3
|
* Add build command to package.jsonalexbiehl2017-10-301-1/+2
|
* Quick Jump: Show error when loading 'doc-index.json' failed (#691)Tim Baumann2017-10-104-14/+34
|
* Use <details> element for collapsibles (#690)Tim Baumann2017-10-096-78/+164
| | | | | | | | | | | * 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-2316-1146/+4256
| | | | | | | | | | | | | | | | | | * 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
* Make trigger link configurable (#678)Alexander Biehl2017-09-011-2/+4
| | | QuickNav: Configurable show/hide trigger
* Rename "Search" tab to "Quick Jump"Alexander Biehl2017-09-011-1/+1
|
* Use relative URL when no docBaseUrl givenAlexander Biehl2017-09-011-1/+1
|
* QuickNav: Also use baseUrl for doc-index.json requestAlexander Biehl2017-08-291-1/+1
|
* QuickNav: Make docbase configurableAlexander Biehl2017-08-291-2/+12
|
* Include subordinates in content indexalexbiehl2017-08-291-1/+2
|
* Removed `nowrap` for interface method sigs (#674)Paolo Veronelli2017-08-291-3/+1
| | | with nowrap the interfaces method sigs would expand at libitum
* Content search cssalexbiehl2017-08-281-0/+149
|
* Add search button to #page-menualexbiehl2017-08-281-2/+2
|
* Content search for haddock html docalexbiehl2017-08-273-0/+798
|
* Fix #249 (#655)Bryn Edwards2017-07-172-0/+2
|
* Correctly remember collapsed sections (#608)Alex Biehl2017-04-301-4/+4
| | | Now the "collapsed" cookie stores which sections have changed state instead of which are collapsed.
* Remove anything related to obsolete frames modealexbiehl2017-04-262-135/+1
|
* Add highlight for :target to ocean.cssDavid Turner2017-04-031-0/+4
|
* Render help documentation link next to (signature) in title.Edward Z. Yang2017-03-231-0/+5
| | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> (cherry picked from commit 4eb765ca4205c79539d60b7afa9b7e261a4a49fe)
* ocean: Ensure that synopsis fully covers other contentBen Gamari2016-06-161-0/+2
| | | | | | Previously MathJax content was being rendered on top of the synopsis due to ambiguous z-ordering. Here we explicitly give the synopsis block a higher z-index to ensure it is rendered on top. Fixes #531.
* remove framed view of the HTML documentation (see #114 and #274)Sebastian Meric de Bellefon2016-05-242-58/+0
| | | | | 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.
* Fix #303. Hide footer when printingSebastian Meric de Bellefon2016-05-142-0/+7
| | | | | The "Produced by Haddock" footer was overlapping the page's body when printing. This patch hides the footer with a css media rule.
* Move the permalinks to "#" on the right sidePhil Ruffwind2016-02-081-9/+4
| | | | | | | | | Since pull request #407, the identifiers have been permalinked to themselves, but this makes it difficult to copy the identifier by double-clicking. To work around this usability problem, the permalinks are now placed on the far right adjacent to "Source", indicated by "#". Also, 'namedAnchor' now uses 'id' instead of 'name' (which is obsolete).
* Fix issue with instance expander hijacking type hyperlink click.Łukasz Hanuszczak2015-08-211-0/+2
|