How to build Haddock documentation quickly?

Hécate hecate at glitchbra.in
Thu Nov 18 20:11:20 UTC 2021


Hi Norman,

Could you see if the command-line described here is of any help?
https://gitlab.haskell.org/ghc/ghc/-/issues/17929#building-the-docs

Particularly the "--freeze1 --flavour=Quick" bit.

Cheers!

Le 18/11/2021 à 21:06, Norman Ramsey a écrit :
> In service of #20528, I'm trying to clean up some Haddock
> documentation in the GHC sources.  The only command I know is
>
>    ./hadrian/build -j _build/docs/html/index.html
>
> It turns out that if I change Haddock comments in one file
> (GHC/Tc/Gen/Foreign.hs), rebuilding the HTML takes a minute
> and a quarter.  That's a little long.  (And I had one build
> take over four minutes, which is even longer.)
>
> What tricks can I use to speed up this process?  Might there be a way
> to run Haddock directly until things are to my liking?
>
>
> Norman
>
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

-- 
Hécate ✨
🐦: @TechnoEmpress
IRC: Hecate
WWW: https://glitchbra.in
RUN: BSD



More information about the ghc-devs mailing list