Render module tree per package in the content page (#1492)
* Render module tree per package in the content page When rendering content page for multiple packages it is useful to split the module tree per package. Package names in this patch are inferred from haddock's interface file names. * Write PackageInfo into interface file To keep interface file format backward compatible, instead of using `Binary` instance for `InterfaceFile` we introduce functions to serialise and deserialise, which depends on the interface file version.
parent
f53f2980
No related branches found
No related tags found
Showing
- haddock-api/src/Haddock.hs 53 additions, 17 deletionshaddock-api/src/Haddock.hs
- haddock-api/src/Haddock/Backends/Xhtml.hs 65 additions, 25 deletionshaddock-api/src/Haddock/Backends/Xhtml.hs
- haddock-api/src/Haddock/Backends/Xhtml/Layout.hs 3 additions, 2 deletionshaddock-api/src/Haddock/Backends/Xhtml/Layout.hs
- haddock-api/src/Haddock/InterfaceFile.hs 78 additions, 9 deletionshaddock-api/src/Haddock/InterfaceFile.hs
Loading
Please register or sign in to comment