aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/resources
Commit message (Collapse)AuthorAgeFilesLines
* Rename 'NewOcean' theme to 'Linuwial'Alec Theriault2018-11-112-0/+0
|
* Replace oplus/ominus expander/collapser icons with trianglesAlec Theriault2018-11-101-3/+3
|
* Space out functions moreAlec Theriault2018-11-081-6/+2
| | | | | Also, functions and data decls now have the same space before and after them.
* overflow-y 'scroll' -> 'auto'Alec Theriault2018-11-071-2/+2
|
* Allow "Contents" summary to scroll in a fixed divAlec Theriault2018-11-071-10/+8
| | | | | In the unfortunate event that the "Contents" summary doesn't fit vertically (like in the "Prelude"), it will be scrollable.
* Fix issues around plus/minusAlec Theriault2018-11-073-8/+6
| | | | | | * swap the minimize unicode to something more intuitive * use new unicode expander/collapser for instance lists * address some alignment issues in the "index" page
* Revert "Make 'Contents' in NewOcean scrollable"Alec Theriault2018-10-261-2/+0
| | | | | | | This reverts commit f909ffd8353d6463fd5dd184998a32aa98d5c922. I missed the fact this also forces the 'Contents' to always go down to the bottom of the page.
* Make 'Contents' in NewOcean scrollableAlec Theriault2018-10-261-0/+2
| | | | | | This only happens if the contents block on the left is so big that it doesn't fit (vertically) on the page. If that happens, we want it to be scrollable.
* Indent more things + slightly smaller fontAlec Theriault2018-10-251-2/+2
|
* Don't hide bullets in method docsAlec Theriault2018-10-252-4/+4
| | | | | | | I think thst CSS was meant only to deal with fields and the effect on bullets was accidental. Fixes #926.
* 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
|