Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot click on functions or operators in code examples #107

Open
hsyl20 opened this issue Jan 11, 2017 · 5 comments
Open

Cannot click on functions or operators in code examples #107

hsyl20 opened this issue Jan 11, 2017 · 5 comments

Comments

@hsyl20
Copy link
Contributor

hsyl20 commented Jan 11, 2017

The user manual states:

You can also click on any function or operator name in code examples to take you to its documentation. Try it:

But it doesn't work.

@byorgey
Copy link
Member

byorgey commented Jan 11, 2017

Huh, you're right. I'll try to figure out what is causing this.

@byorgey
Copy link
Member

byorgey commented Jan 15, 2017

I've made a bit of progress tracking this down. It seems the problem is that we were depending on the fact that the PackageKeys internal to the GHC API just consisted of the name of the package followed by a version number. But now, I suppose to support nix-style builds where more than one compilation of the same version of a package can be installed at the same time, the package key string consists of the first five letters of the package name followed by a hash. Clearly we were doing things The Wrong Way (tm) before, we just have to figure out what the right way is to get the information we want.

See here: https://github.com/diagrams/docutils/blob/master/src/Text/Docutils/Transformers/Haskell.hs#L226

@byorgey
Copy link
Member

byorgey commented Jan 15, 2017

Fixed by diagrams/docutils@082857c . It turns out that at the moment I can only update the website from the computer in my office which I can't SSH into. So I will actually update the website in a few days.

@byorgey byorgey closed this as completed Jan 15, 2017
@typesanitizer
Copy link

I'm having the same issue ... Is this the right URL or is it for the old docs?

@byorgey
Copy link
Member

byorgey commented Nov 5, 2017

It's the right URL. I guess I never actually got around to uploading a newly generated website, sorry about that! I'll reopen this ticket until it's actually uploaded.

@byorgey byorgey reopened this Nov 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants