Skip to content
Snippets Groups Projects
  1. Oct 25, 2018
    • Alec Theriault's avatar
      Resurrect the style-switcher · a6931170
      Alec Theriault authored
      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"
      a6931170
  2. Oct 18, 2018
  3. Feb 01, 2018
    • Oleg Grenrus's avatar
      Grid Tables (#718) · 088b1993
      Oleg Grenrus authored and Alex Biehl's avatar Alex Biehl committed
      * 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
      088b1993
  4. Oct 09, 2017
    • TimBaumann's avatar
      Use <details> element for collapsibles (#690) · e41c1cbe
      TimBaumann authored and Alex Biehl's avatar Alex Biehl committed
      * 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.
      e41c1cbe
  5. Sep 23, 2017
    • TimBaumann's avatar
      Add compile step that bundles and compresses JS files (#684) · e99aefb5
      TimBaumann authored and Alex Biehl's avatar Alex Biehl committed
      * 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
      e99aefb5
  6. Aug 29, 2017
  7. Aug 28, 2017
  8. Jul 17, 2017
  9. Apr 26, 2017
  10. Apr 03, 2017
  11. Mar 23, 2017
  12. Mar 22, 2017
  13. Jun 16, 2016
  14. May 14, 2016
  15. Feb 08, 2016
    • Rufflewind's avatar
      Move the permalinks to "#" on the right side · 1b6bcd62
      Rufflewind authored and Ben Gamari's avatar Ben Gamari committed
      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).
      1b6bcd62
  16. Aug 21, 2015
  17. Aug 02, 2015
    • Rufflewind's avatar
      Fix record field alignment when name is too long · c274363d
      Rufflewind authored and Mateusz Kowalczyk's avatar Mateusz Kowalczyk committed
      Change <dl> to <ul> and use display:table rather than floats to layout
      the record fields.  This avoids bug #301 that occurs whenever the field
      name gets too long.
      
      Slight aesthetic change: the entire cell of the field's source code is
      now shaded gray rather than just the area where text exists.
      
      Fixes #301. Closes #421
      c274363d
    • Rufflewind's avatar
      Link to the definitions to themselves · ecabf4e1
      Rufflewind authored and Mateusz Kowalczyk's avatar Mateusz Kowalczyk committed
      Currently, the definitions already have an anchor tag that allows URLs
      with fragment identifiers to locate them, but it is rather inconvenient
      to obtain such a URL (so-called "permalink") as it would require finding
      the a link to the corresponding item in the Synopsis or elsewhere.  This
      commit adds hyperlinks to the definitions themselves, allowing users to
      obtain links to them easily.
      
      To preserve the original aesthetics of the definitions, we alter the
      color of the link so as to be identical to what it was, except it now
      has a hover effect indicating that it is clickable.
      
      Additionally, the anchor now uses the 'id' attribute instead of the
      (obsolete) 'name' attribute.
      
      Closes #407
      ecabf4e1
  18. Jun 12, 2015
    • Rufflewind's avatar
      Fix alignment of Source links in instance table in Firefox · a476b251
      Rufflewind authored
      Due to a Firefox bug [1], a combination of 'whitespace: nowrap' on the
      parent element with 'float: right' on the inner element can cause the
      floated element to be displaced downwards for no apparent reason.
      
      To work around this, the left side is wrapped in its own <span> and set
      to 'float: left'.  As a precautionary measure to prevent the parent
      element from collapsing entirely, we also add the classic "clearfix"
      hack.  The latter is not strictly needed but it helps prevent bugs if
      the layout is altered again in the future.
      
      Fixes #384.
      
      Remark: line 159 of src/Haddock/Backends/Xhtml/Layout.hs was indented to
              prevent confusion over the operator precedence of (<+>) vs (<<).
      
      [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=488725
      a476b251
  19. Mar 16, 2015
  20. Jan 22, 2015
  21. Aug 22, 2014
  22. Mar 15, 2014
    • Niklas Haas's avatar
      Fix issue #281 · 82ab2c09
      Niklas Haas authored and Mateusz Kowalczyk's avatar Mateusz Kowalczyk committed
      This is a regression from the data family instances change. Data
      instances are now distinguished from regular lists by usage of the new
      class "inst", and the style has been updated to only apply to those.
      
      I've also updated the appropriate test case to test this a bit better,
      including GADT instances with GADT-style records.
      82ab2c09
Loading