Skip to content
Snippets Groups Projects
  1. Jul 17, 2017
  2. Apr 26, 2017
  3. Apr 03, 2017
  4. Mar 23, 2017
  5. Jun 16, 2016
  6. May 14, 2016
  7. Feb 08, 2016
    • Rufflewind's avatar
      Move the permalinks to "#" on the right side · 8dd5e133
      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).
      8dd5e133
  8. Aug 21, 2015
  9. Aug 02, 2015
    • Rufflewind's avatar
      Fix record field alignment when name is too long · b25bb950
      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
      b25bb950
    • Rufflewind's avatar
      Link to the definitions to themselves · 06ab2dda
      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
      06ab2dda
  10. Jun 12, 2015
    • Rufflewind's avatar
      Fix alignment of Source links in instance table in Firefox · 43b28cea
      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
      43b28cea
  11. Mar 16, 2015
  12. Jan 22, 2015
  13. Aug 22, 2014
  14. Mar 15, 2014
    • Niklas Haas's avatar
      Fix issue #281 · 1948aa19
      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.
      1948aa19
  15. Mar 11, 2014
    • Niklas Haas's avatar
      Update appearance of fixity annotations · 8eaa4a9a
      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.
      8eaa4a9a
  16. Feb 11, 2014
  17. Jan 12, 2014
    • Mateusz Kowalczyk's avatar
      Per-module extension flags and language listing. · 8d3bdff4
      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
      8d3bdff4
  18. Oct 15, 2012
  19. Feb 03, 2012
    • Simon Hengel's avatar
      Add DocWarning to Doc · e9eed94f
      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.
      e9eed94f
  20. Aug 29, 2010
  21. Aug 28, 2010
  22. Aug 27, 2010
  23. Aug 26, 2010
  24. Aug 25, 2010
  25. Aug 20, 2010
  26. Aug 18, 2010
  27. Aug 17, 2010
  28. Aug 16, 2010
  29. Aug 13, 2010
Loading