Skip to content
Snippets Groups Projects
  1. Mar 11, 2014
  2. Mar 10, 2014
  3. Mar 09, 2014
    • Niklas Haas's avatar
      Group similar fixities together · 68a78932
      Niklas Haas authored
      Identical fixities declared for the same line should now render using
      syntax like: infix 4 <, >=, >, <=
      68a78932
    • Niklas Haas's avatar
      Differentiate between TH splices (line-links) and regular names · 003f1179
      Niklas Haas authored
      This adds a new type of source code link, to a specific line rather than
      a specific declaration/name - this is used to link to the location of a
      TH splice that defines a certain name.
      
      Rather hefty changes throughout and still one unresolved issue (the line
      URLs aren't parsed from the third form of --read-interface which means
      they're currently restricted to same-interface links). Not sure if
      this issue is really worth all the hassle, especially since we could
      just use line links in general.
      
      This commit also contains some cleanup/clarification of the types in
      Haddock.Backends.Xhtml.Decl and shortens some overlong lines in the
      process. Notably, the Bool parameter was replaced by a Unicode type
      synonym to help clarify its presence in type signatures.
      003f1179
    • Niklas Haas's avatar
      Use optLast instead of listToMaybe for sourceUrls/wikiUrls · 9aa5a2a4
      Niklas Haas authored
      This lets you override them using eg. cabal haddock --haddock-options,
      which can come in handy if you want to use a different layout or URL for
      your source code links than cabal-install generates.
      9aa5a2a4
    • Niklas Haas's avatar
      Reorder topDeclElem to move the source/wiki links to the top · 843c42c4
      Niklas Haas authored
      They appear in the same position due to the float: right attribute but
      now they're always at the top of the box instead of at the bottom.
  4. Mar 08, 2014
    • Niklas Haas's avatar
      Render fixity information · 17970e6b
      Niklas Haas authored
      Affects functions, type synonyms, type families, class names, data type
      names, constructors, data families, associated TFs/DFs, type synonyms,
      pattern synonyms and everything else I could think of.
  5. Feb 27, 2014
    • Mateusz Kowalczyk's avatar
      Change rendering of duplicate record field docs · e5bd27b5
      Mateusz Kowalczyk authored
      See Haddock Trac #195. We now change this behaviour to only rendering
      the documentation attached to the first instance of a duplicate field.
      
      Perhaps we could improve this by rendering the first instance that has
      documentation attached to it but for now, we'll stick with this.
      e5bd27b5
  6. Feb 24, 2014
  7. Feb 23, 2014
  8. Feb 22, 2014
  9. Feb 19, 2014
  10. Feb 15, 2014
  11. Feb 13, 2014
  12. Feb 11, 2014
  13. Feb 10, 2014
  14. Feb 09, 2014
  15. Jan 30, 2014
  16. Jan 29, 2014
  17. Jan 19, 2014
  18. Jan 13, 2014
  19. Jan 12, 2014
    • Mateusz Kowalczyk's avatar
      Update maintainer · 2e3f0b83
      Mateusz Kowalczyk authored
      2e3f0b83
    • Mateusz Kowalczyk's avatar
      Update documentation. · 15e1d576
      Mateusz Kowalczyk authored
      15e1d576
    • Mateusz Kowalczyk's avatar
      Allow escaping in URLs and pictures. · deb106d8
      Mateusz Kowalczyk authored
      Some tests were moved under parseString as they weren't about paragraph
      level markup.
      
      Conflicts:
      	src/Haddock/Parser.hs
      	test/Haddock/ParserSpec.hs
      deb106d8
    • Mateusz Kowalczyk's avatar
      Allow for nesting of paragraphs under lists. · a03c9352
      Mateusz Kowalczyk authored
      The nesting rules are similar to Markdown's with the exception that we
      can not simply indent the first line of a hard wrapped indented
      paragraph and have it treated as if it was fully indented. The reason is
      differences in markup as some of our constructs care about whitespace
      while others just swallow everything up so it's just a lot easier to not
      bother with it rather than making arbitrary rules.
      
      Note that we now drop trailing for string entities inside of lists. They
      weren't needed and it makes the output look uniform whether we use a
      single or double newline between list elements.
      
      Conflicts:
      	src/Haddock/Parser.hs
      	test/Haddock/ParserSpec.hs
      a03c9352
Loading