Re: GHC API documentation

2023-03-14 Thread Harendra Kumar
Thanks Ben. The link is broken in GHC 9.4.4 as well. But works in 9.2.x . On Tue, 14 Mar 2023 at 23:19, Ben Gamari wrote: > Harendra Kumar writes: > > > Hi, > > > > > > There used to be a GHC API documentation along with other documentation > in > > th

Re: GHC API documentation

2023-03-14 Thread Ben Gamari
Harendra Kumar writes: > Hi, > > > There used to be a GHC API documentation along with other documentation in > the GHC release. But I cannot find it any more. For example, in GHC 9.6.1 > this link - > https://downloads.haskell.org/ghc/9.6.1/docs/libraries/ghc/index.html

GHC API documentation

2023-03-14 Thread Harendra Kumar
Hi, There used to be a GHC API documentation along with other documentation in the GHC release. But I cannot find it any more. For example, in GHC 9.6.1 this link - https://downloads.haskell.org/ghc/9.6.1/docs/libraries/ghc/index.html is broken. What happened to this? Is this now available at

Re: Building GHC API Documentation?

2014-07-15 Thread Andrew Gibiansky
I did try that. I've found that if I run `make` in the toplevel, I can just look at the last command it executes (which is generating all the documentation) and copy/paste all of the huge command to rerun it. It's a terrible solution but works well for me... If you run it from the `ghc` subdirecto

Re: Building GHC API Documentation?

2014-07-15 Thread Richard Eisenberg
I've discovered that passing options to `make` doesn't necessarily work all that well. Certain ones work great, but it's not as reliable as I might like. That said, have you tried running the command in the ./ghc subdirectory? (Not the top directory -- it's probably ./ghc/ghc on your machine

Re: Building GHC API Documentation?

2014-07-14 Thread Carter Schonwald
wooops, would need to be make maintainer-clean ; perl boot ; ./configure ; make On Mon, Jul 14, 2014 at 11:07 PM, Carter Schonwald < carter.schonw...@gmail.com> wrote: > if you wanna resuse the same source tree, the heavy hammer for doing a > rebuild is > > make maintainer-clean ; make > > maint

Re: Building GHC API Documentation?

2014-07-14 Thread Carter Schonwald
if you wanna resuse the same source tree, the heavy hammer for doing a rebuild is make maintainer-clean ; make maintainer-clean wipes alll build artifacts so its a clean tree, so everything will be built from scratch there might be a better way, but that sledgehammer should work On Mon, Jul 14

Re: Building GHC API Documentation?

2014-07-14 Thread Andrew Gibiansky
Any suggestions? I'm still stuck on this, and don't really know what to try next. Andrew On Thu, Jul 10, 2014 at 9:36 PM, Andrew Gibiansky < andrew.gibian...@gmail.com> wrote: > Hello, > > I am trying to create my first patch, for #9294, where I want to export > some extra things from Parser a

Building GHC API Documentation?

2014-07-10 Thread Andrew Gibiansky
Hello, I am trying to create my first patch, for #9294, where I want to export some extra things from Parser along with a bit of documentation. However, I cannot figure out how to regenerate the documentation for the GHC API (not for the libraries). I tried running `make html stage=0 FAST=YES` in