ndmitchell / hoogle

Haskell API search engine
http://hoogle.haskell.org/
Other
738 stars 134 forks source link

Support for a portable haddocks directory when indexing local projects #202

Closed bmjames closed 7 years ago

bmjames commented 7 years ago

These features are intended to be used together, when you want to create a Hoogle index for your project in one place, then serve it somewhere else. This enables a workflow such as the following:

  1. Run cabal haddock or stack haddock on your build server
  2. Run hoogle generate --haddock=path/to/doc on your build server (this assumes you know where the docs were written)
  3. Deploy the Hoogle database and Haddock files to your documentation server & run hoogle server --haddock=new/path/to/doc
  4. ???
  5. Profit
ndmitchell commented 7 years ago

Thanks for the patch. Hopefully step 4 is release Hoogle 5.0.9, which I've just done, and tomorrow you can proceed on to step 5.