aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Interface/Json.hs
Commit message (Collapse)AuthorAgeFilesLines
* Keep track of ordered list indexes and render them (#1407)Ben Simms2022-05-031-1/+3
| | | | | * Keep track of ordered list indexes and render them * Rename some identifiers to clarify
* Merge branch 'ghc-head' into ghc-9.0alexbiehl-gc2021-02-071-1/+1
|\
| * Merge remote-tracking branch 'origin/ghc-9.0' into ghc-headBen Gamari2021-01-131-3/+163
| |\
| * | GHC.Driver.Types refactoring (#1242)Sylvain Henry2020-10-261-1/+1
| | |
* | | Add support for labeled module referencesIñaki García Etxebarria2021-02-071-2/+2
| |/ |/| | | | | | | | | | | | | | | | | Support a markdown-style way of annotating module references. For instance -- | [label]("Module.Name#anchor") will create a link that points to the same place as the module reference "Module.Name#anchor" but the text displayed on the link will be "label".
* | Merge remote-tracking branch 'origin/ghc-8.10' into ghc-9.0Ben Gamari2021-01-051-3/+163
|\ \ | |/ |/|
| * Recode Doc to Json. (#1159)Ignat Insarov2020-04-091-5/+162
| | | | | | | | | | * Recode Doc to Json. * More descriptive field labels.
| * Better identifier parsingAlec Theriault2019-02-251-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '(<|>)' and '`elem`' now get parsed and rendered properly as links * 'DbModule'/'DbUnitId' now properly get split apart into two links * tuple names now get parsed properly * some more small niceties... The identifier parsing code is more precise and more efficient (although to be fair: it is also longer and in its own module). On the rendering side, we need to pipe through information about backticks/parens/neither all the way through from renaming to the backends. In terms of impact: a total of 35 modules in the entirety of the bootlib + ghc lib docs change. The only "regression" is things like '\0'. These should be changed to @\\0@ (the path by which this previously worked seems accidental).
* | Fix for GHC.Unit.* modulesSylvain Henry2020-04-271-1/+1
| |
* | Module structureSylvain Henry2020-04-241-2/+2
| |
* | Modules: TypesSylvain Henry2020-03-181-3/+3
|/
* Precise Haddock: Use Avails for export resolution (#688)Alexander Biehl2017-10-081-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use Avails for export resolution * Support reexported modules * Factor out availExportItem * Use avails for fullModuleExports * Don't use subMap in attachInstances * lookupDocs without subMap * Completely remove subMap * Only calculate unqualified modules when explicit export list is given * Refactor * Refine comment * return * Fix * Refactoring * Split avail if declaration is not exported itself * Move avail splitting
* Provide --show-interface option to dump interfaces (#645)Alexander Biehl2017-08-061-0/+109
* WIP: Provide --show-interface option to dump interfaces Like ghcs own --show-iface this flag dumps a binary interface file to stdout in a human (and machine) readable fashion. Currently it uses json as output format. * Fill all the jsonNull stubs * Rework Bifunctor instance of DocH, update changelog and documentation * replace changelog, bring DocMarkupH doc back * Update CHANGES.md * Update CHANGES.md * Move Control.Arrow up It would result in unused import if the Bifunctor instance is not generated.