From lemming at henning-thielemann.de Mon Jun 27 07:01:00 2016 From: lemming at henning-thielemann.de (Henning Thielemann) Date: Mon, 27 Jun 2016 09:01:00 +0200 (CEST) Subject: [Haskell] The Haddock documentation is not showing up on the Hackage In-Reply-To: References: Message-ID: On Mon, 27 Jun 2016, KwangYul Seo wrote: > I uploaded a package named enchant on the Hackage last week, but the > Haddock documentation is not showing up yet. The Status field says "Docs > pending" and "Build status unknown". This is certainly not for haskell at haskell.org. I am answering to haskell-cafe and cabal-devel. > https://hackage.haskell.org/package/enchant-0.1.0.0 > > enchant uses c2hs as a build tool to generate the FFI binding and > requires libenchant-dev to be installed on the machine. I wonder how I > can tell these build requirements to the Hackage server. I assume that it is not a good idea to install many additional packages on the Haskell server. Thus I think the best you can do is to upload the documentation yourself via the package maintenance site. Here is a script that should help creating the docs locally and upload them to Hackage: https://raw.githubusercontent.com/ekmett/lens/master/scripts/hackage-docs.sh From kwangyul.seo at gmail.com Mon Jun 27 08:46:11 2016 From: kwangyul.seo at gmail.com (KwangYul Seo) Date: Mon, 27 Jun 2016 17:46:11 +0900 Subject: [Haskell] The Haddock documentation is not showing up on the Hackage In-Reply-To: References: Message-ID: On Mon, Jun 27, 2016 at 4:01 PM, Henning Thielemann < lemming at henning-thielemann.de> wrote: > > On Mon, 27 Jun 2016, KwangYul Seo wrote: > > I uploaded a package named enchant on the Hackage last week, but the >> Haddock documentation is not showing up yet. The Status field says "Docs >> pending" and "Build status unknown". >> > > This is certainly not for haskell at haskell.org. I am answering to > haskell-cafe and cabal-devel. > > https://hackage.haskell.org/package/enchant-0.1.0.0 >> >> enchant uses c2hs as a build tool to generate the FFI binding and >> requires libenchant-dev to be installed on the machine. I wonder how I can >> tell these build requirements to the Hackage server. >> > > I assume that it is not a good idea to install many additional packages on > the Haskell server. Thus I think the best you can do is to upload the > documentation yourself via the package maintenance site. > > Here is a script that should help creating the docs locally and upload > them to Hackage: > > https://raw.githubusercontent.com/ekmett/lens/master/scripts/hackage-docs.sh > Thanks for the tip! I didn't know that I can upload the documentation separately from the source. Regards, Kwang Yul Seo -------------- next part -------------- An HTML attachment was scrubbed... URL: From kwangyul.seo at gmail.com Mon Jun 27 08:48:56 2016 From: kwangyul.seo at gmail.com (KwangYul Seo) Date: Mon, 27 Jun 2016 17:48:56 +0900 Subject: [Haskell] The Haddock documentation is not showing up on the Hackage In-Reply-To: References: Message-ID: Thanks! But the build log still says that c2hs could not be found: https://hackage.haskell.org/package/enchant-0.1.0.0/reports/1 It would be nice if c2hs is available on the Hackage server because it is used by many Haskell packages to create FFI bindings. Thanks, Kwang Yul Seo On Mon, Jun 27, 2016 at 5:46 PM, KwangYul Seo wrote: > > > On Mon, Jun 27, 2016 at 4:01 PM, Henning Thielemann < > lemming at henning-thielemann.de> wrote: > >> >> On Mon, 27 Jun 2016, KwangYul Seo wrote: >> >> I uploaded a package named enchant on the Hackage last week, but the >>> Haddock documentation is not showing up yet. The Status field says "Docs >>> pending" and "Build status unknown". >>> >> >> This is certainly not for haskell at haskell.org. I am answering to >> haskell-cafe and cabal-devel. >> >> https://hackage.haskell.org/package/enchant-0.1.0.0 >>> >>> enchant uses c2hs as a build tool to generate the FFI binding and >>> requires libenchant-dev to be installed on the machine. I wonder how I can >>> tell these build requirements to the Hackage server. >>> >> >> I assume that it is not a good idea to install many additional packages >> on the Haskell server. Thus I think the best you can do is to upload the >> documentation yourself via the package maintenance site. >> >> Here is a script that should help creating the docs locally and upload >> them to Hackage: >> >> https://raw.githubusercontent.com/ekmett/lens/master/scripts/hackage-docs.sh >> > > Thanks for the tip! I didn't know that I can upload the documentation > separately from the source. > > Regards, > Kwang Yul Seo > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikhail.glushenkov at gmail.com Mon Jun 27 09:09:19 2016 From: mikhail.glushenkov at gmail.com (Mikhail Glushenkov) Date: Mon, 27 Jun 2016 11:09:19 +0200 Subject: [Haskell-cafe] [Haskell] The Haddock documentation is not showing up on the Hackage In-Reply-To: References: Message-ID: Hi, > On Mon, Jun 27, 2016 at 4:01 PM, Henning Thielemann > wrote: >> Here is a script that should help creating the docs locally and upload >> them to Hackage: >> >> https://raw.githubusercontent.com/ekmett/lens/master/scripts/hackage-docs.sh Note that starting with cabal-install 1.24 you can use 'cabal upload --doc' to build and upload documentation.