Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Per-module extension flags and language listing. | Mateusz Kowalczyk | 2014-01-12 | 1 | -3/+12 |
| | | | | | | | | | | | | | 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 | ||||
* | Allow for headings inside function documentation. | Mateusz Kowalczyk | 2014-01-12 | 1 | -2/+16 |
| | | | | | | | | | | | | | LaTeX will treat the h3-h6 headings the same as we'd have to hack the style file heavily otherwise and it would make the headings tiny anyway. Hoogle upstream said they will put in the functionality on their end. Conflicts: src/Haddock/Interface/Rename.hs src/Haddock/Types.hs test/Haddock/ParserSpec.hs | ||||
* | Support for bold. | Mateusz Kowalczyk | 2014-01-12 | 1 | -0/+6 |
| | | | | | | | Conflicts: src/Haddock/Backends/Hoogle.hs src/Haddock/Interface/Rename.hs src/Haddock/Parser.hs | ||||
* | One pass parser and tests. | Mateusz Kowalczyk | 2014-01-12 | 1 | -0/+10 |
| | | | | | | | | We remove the HTML test as it is no longer necessary. We cover the test case in spec tests and other HTML tests but keeping this around fails: this is because the new parser has different semantics there. In fact, I suspect the original behaviour was a bug that wasn't caught/fixed but simply included as-is during the testing. | ||||
* | Bump version | Simon Hengel | 2013-11-10 | 1 | -12/+2 |
| | |||||
* | Fixes #231 | Mateusz Kowalczyk | 2013-09-18 | 1 | -1/+1 |
| | |||||
* | Bump interface file version. | David Waern | 2013-08-04 | 1 | -2/+2 |
| | |||||
* | Output Copright and License keys in Xhtml backend. | Mathieu Boespflug | 2013-08-04 | 1 | -9/+12 |
| | | | | | | | This information is as relevant in the documentation as it is in the source files themselves. Signed-off-by: David Waern <david.waern@gmail.com> | ||||
* | Merge branch 'ghc-7.6' into ghc-7.6-merge-2 | Kazu Yamamoto | 2013-02-01 | 1 | -9/+36 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: haddock.cabal src/Haddock/Interface/AttachInstances.hs src/Haddock/Interface/Create.hs src/Haddock/Interface/LexParseRn.hs src/Haddock/InterfaceFile.hs src/Haddock/Types.hs Only GHC HEAD can compile this. GHC 7.6.x cannot compile this. Some test fail. | ||||
| * | Improve note about `binaryInterfaceVersion` (thanks David) | Simon Hengel | 2012-10-12 | 1 | -2/+3 |
| | | |||||
| * | Remove redundant if-defs, more source documentation | Simon Hengel | 2012-10-11 | 1 | -15/+16 |
| | | |||||
| * | Allow to load interface files with compatible versions | Simon Hengel | 2012-10-09 | 1 | -1/+4 |
| | | |||||
| * | Bump interface version | Simon Hengel | 2012-10-09 | 1 | -5/+5 |
| | | |||||
| * | Add markup support for properties | Kazu Yamamoto | 2012-10-09 | 1 | -0/+6 |
| | | |||||
| * | Merge branch 'dev' of https://github.com/sol/haddock into ghc-7.6 | David Waern | 2012-07-23 | 1 | -8/+17 |
| |\ | | | | | | | | | | | | | Conflicts: src/Haddock/InterfaceFile.hs | ||||
| | * | Use LANGUAGE pragmas instead of default-extensions in cabal file | Simon Hengel | 2012-05-27 | 1 | -1/+1 |
| | | | |||||
| | * | Add an optional label to URLs | Simon Hengel | 2012-05-27 | 1 | -6/+15 |
| | | | |||||
| * | | Update dependencies. | Paolo Capriotti | 2012-07-20 | 1 | -0/+2 |
| |/ | |||||
* / | Build with GHC 7.7 | Ian Lynagh | 2012-07-20 | 1 | -0/+4 |
|/ | |||||
* | Mostly hlint-inspired cleanup. | David Waern | 2012-02-04 | 1 | -18/+16 |
| | |||||
* | Add DocWarning to Doc | Simon Hengel | 2012-02-04 | 1 | -4/+10 |
| | | | | | The Xhtml backend has special markup for that, Hoogle and LaTeX reuse what we have for DocEmphasis. | ||||
* | Merge ../../../haddock | David Waern | 2011-12-27 | 1 | -6/+8 |
|\ | | | | | | | | | Conflicts: src/Haddock/InterfaceFile.hs | ||||
| * | Go back to having a doc, sub and decl map instead of one big decl map. | David Waern | 2011-12-27 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | | | | This setup makes more sense since when we add value bindings to the processed declarations (for type inference), we will have multiple declarations which should share documentation. Also, we already have a separate doc map for instances which we can now merge into the main doc map. Another benefit is that we don't need the DeclInfo type any longer. | ||||
* | | Update dependencies and binaryInterfaceVersion | Ian Lynagh | 2011-12-12 | 1 | -0/+4 |
|/ | |||||
* | Allow doc comments to link to out-of-scope things (#78). | David Waern | 2011-11-26 | 1 | -0/+6 |
| | | | | (A bug that should have been fixed long ago.) | ||||
* | Give preference to type over data constructors for doc comment links at ↵ | David Waern | 2011-11-26 | 1 | -2/+2 |
| | | | | | | | | | | | renaming time. Previously this was done in the backends. Also, warn when a doc comment refers to something that is in scope but which we don't have the .haddock file for. These changes mean we can make DocIdentifier [a] into DocIdentifier a. | ||||
* | Remove #ifs for older compiler versions. | David Waern | 2011-11-25 | 1 | -2/+0 |
| | |||||
* | Add flag --interface-version. | David Waern | 2011-11-25 | 1 | -1/+1 |
| | |||||
* | Merge branch 'development' | David Waern | 2011-10-22 | 1 | -7/+3 |
|\ | |||||
| * | Bump .haddock file version since the format has changed recently | David Waern | 2011-10-22 | 1 | -7/+3 |
| | | |||||
| * | Add safe haskell indication to haddock output | David Terei | 2011-10-12 | 1 | -1/+3 |
| | | |||||
* | | Add safe haskell indication to haddock output | David Terei | 2011-10-12 | 1 | -1/+3 |
| | | |||||
* | | Follow changes to BinIface Name serialization | Max Bolingbroke | 2011-09-27 | 1 | -20/+35 |
|/ | |||||
* | Bump GHC dep to allow 7.2 | Ian Lynagh | 2011-06-26 | 1 | -0/+4 |
| | |||||
* | Remove code for ghc < 7 | David Waern | 2010-11-15 | 1 | -5/+1 |
| | |||||
* | follow changes in the GHC API | Simon Marlow | 2010-10-27 | 1 | -0/+3 |
| | |||||
* | Fix up __GLASGOW_HASKELL__ tests | Ian Lynagh | 2010-09-21 | 1 | -2/+2 |
| | |||||
* | Update interface file versioning to work with ghc 6.14/15 | David Waern | 2010-08-31 | 1 | -0/+4 |
| | |||||
* | Add source entity path to --read-interface | David Waern | 2010-08-29 | 1 | -1/+8 |
| | | | | | | | | | | | | | You can now use this flag like this: --read-interface=<html path>,<source entity path>,<.haddock file> By "source entity path" I mean the same thing that is specified with the --source-entity flag. The purpose of this is to be able to specify the source entity path per package, to allow source links to work in the presence of cross-package documentation. When given two arguments or less the --read-interface flag behaves as before. | ||||
* | Fix build in GHC tree | Ian Lynagh | 2010-07-30 | 1 | -1/+1 |
| | |||||
* | Style police in Haddock.InterfaceFile | David Waern | 2010-07-21 | 1 | -12/+12 |
| | |||||
* | Fix a few stylistic issues in H.InterfaceFile | David Waern | 2010-05-13 | 1 | -2/+9 |
| | |||||
* | Position the module header the same way everywhere | David Waern | 2010-05-13 | 1 | -1/+0 |
| | | | | Silly, but nice with some consistency :-) | ||||
* | Add markup support for interactive examples | simon.hengel | 2010-04-02 | 1 | -0/+16 |
| | |||||
* | Rename HsDoc back into Doc | David Waern | 2009-11-28 | 1 | -1/+1 |
| | |||||
* | Remove cruft due to compatibility with older GHCs | David Waern | 2009-11-28 | 1 | -5/+1 |
| | |||||
* | Fix building with GHC >= 6.12 | Ian Lynagh | 2009-09-22 | 1 | -0/+6 |
| | |||||
* | Use Map.fromList/toList intead of fromAscList/toAscList when serializing Maps | David Waern | 2009-09-11 | 1 | -2/+2 |
| | | | | | | | This fixes the missing docs problem. The Eq and Ord instances for Name uses the unique number in Name. This number is created at deserialization time by GHC's magic Binary instance for Name, and it is random. Thus, fromAscList can't be used at deserialization time, even though toAscList was used at serialization time. | ||||
* | Follow changes in GHC's interface file format | Simon Marlow | 2009-08-24 | 1 | -4/+4 |
| | | | | Word32 instead of Int for FastString and Name offsets | ||||
* | InterfaceFile: ghc >= 6.10 | Isaac Dupree | 2009-08-23 | 1 | -28/+0 |
| |