Skip to content
Snippets Groups Projects
  1. Oct 18, 2018
  2. 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
  3. 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
  4. 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
  5. Aug 29, 2017
  6. Aug 28, 2017
  7. Jul 17, 2017
  8. Apr 26, 2017
  9. Apr 03, 2017
  10. Mar 23, 2017
  11. Mar 22, 2017
  12. Jun 16, 2016
  13. May 14, 2016
  14. 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
  15. Aug 21, 2015
  16. 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
  17. 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
  18. Mar 16, 2015
  19. Jan 22, 2015
  20. Aug 22, 2014
  21. 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
  22. Mar 11, 2014
    • Niklas Haas's avatar
      Update appearance of fixity annotations · 72f655f5
      Niklas Haas authored
      This moves them in-line with their corresponding lines, similar to a
      presentation envision by @hvr and described in #ghc.
      
      Redundant operator names are also omitted when no ambiguity is present.
      72f655f5
  23. Feb 11, 2014
  24. Jan 12, 2014
    • Mateusz Kowalczyk's avatar
      Per-module extension flags and language listing. · f1f94f2f
      Mateusz Kowalczyk authored
      Any extensions that are not enabled by a used language (Haskell2010
      &c) will be shown. Furthermore, any implicitly enabled are also going
      to be shown. While we could eliminate this either by using the GHC API
      or a dirty hack, I opted not to: if a user doesn't want the implied
      flags to show, they are recommended to use enable extensions more
      carefully or individually. Perhaps this will encourage users to not
      enable the most powerful flags needlessly. Enabled with show-extensions.
      
      Conflicts:
      	src/Haddock/InterfaceFile.hs
      f1f94f2f
  25. Oct 15, 2012
  26. Feb 03, 2012
    • Simon Hengel's avatar
      Add DocWarning to Doc · d327e3df
      Simon Hengel authored and waern's avatar waern committed
      The Xhtml backend has special markup for that, Hoogle and LaTeX reuse
      what we have for DocEmphasis.
      d327e3df
  27. Aug 29, 2010
  28. Aug 28, 2010
  29. Aug 27, 2010
  30. Aug 26, 2010
  31. Aug 25, 2010
Loading