Spock icon indicating copy to clipboard operation
Spock copied to clipboard

Docs for Spock-api-ghcjs missing

Open Profpatsch opened this issue 9 years ago • 9 comments

(Original title: docs for Spock-server-api missing)

Hackage isn’t building and there are no docs on the AWS instance (like for Spock and Spock-api).

Profpatsch avatar Sep 19 '16 21:09 Profpatsch

It's all there?

https://spockdocs.s3.eu-central-1.amazonaws.com/Spock-0.11.0.0/Web-Spock.html

https://spockdocs.s3.eu-central-1.amazonaws.com/Spock-core-0.11.0.0/index.html

https://spockdocs.s3.eu-central-1.amazonaws.com/Spock-api-0.11.0.0/index.html

Am 19.09.2016 um 23:58 schrieb Profpatsch [email protected]:

Hackage isn’t building and there are no docs on the AWS instance (like for Spock and Spock-api).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

agrafix avatar Sep 20 '16 06:09 agrafix

Ah, I mean the docs for Spock-server-api. Wrong formulation.

Profpatsch avatar Sep 20 '16 11:09 Profpatsch

It's right there: https://spockdocs.s3.eu-central-1.amazonaws.com/Spock-api-server-0.11.0.0/index.html ;-)

agrafix avatar Sep 20 '16 11:09 agrafix

Here's the whole ecosystem: https://spockdocs.s3.eu-central-1.amazonaws.com/index.html

agrafix avatar Sep 20 '16 11:09 agrafix

Only the docs for Spock-api-ghcjs are missing, which is essentially:

https://github.com/agrafix/Spock/blob/0.11.0.0/Spock-api-ghcjs/src/Web/Spock/Api/Client.hs#L27-L40

agrafix avatar Sep 20 '16 11:09 agrafix

Oh, I see.

Profpatsch avatar Sep 20 '16 12:09 Profpatsch

Maybe you could give docs.spock.li a DNS entry to the AWS server.

Profpatsch avatar Sep 20 '16 12:09 Profpatsch

Yeah, the problem is that HTTPS won't work anymore with plain S3 if you use custom domains. The options are to configure CloudFront in top of S3 or just a plain simple redirection.

agrafix avatar Sep 20 '16 12:09 agrafix

Maybe another way to approach this would be to get the Hackage-Docs working again. This is probably currently timing out because the package constraints are not "good" enough...

agrafix avatar Sep 20 '16 12:09 agrafix