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

publish the Scaladoc somewhere #27

Closed
SethTisue opened this issue Apr 25, 2017 · 25 comments · Fixed by #75
Closed

publish the Scaladoc somewhere #27

SethTisue opened this issue Apr 25, 2017 · 25 comments · Fixed by #75

Comments

@SethTisue
Copy link
Member

No description provided.

@SethTisue
Copy link
Member Author

a possible model would be what @ashawley did over at scala/scala-xml#273 to publish the scala-xml Scaladoc to scala.github.io

@mslinn
Copy link

mslinn commented Jul 2, 2019

Sure would be nice to be able to point students to Scaladoc for this project. The ScalaCourses.com Parallel Collections lecture update for Scala 2.13 makes awkward noises regarding the apparent lack of published Scaladoc.

Is the Scaladoc for all the other portions of Scala that have been hived out also AWOL, I wonder? If not, why not publish the Scaladoc for parallel collections there? If so, we'll need to contemplate uttering further awkward noises.

@NthPortal
Copy link
Contributor

NthPortal commented Jul 2, 2019

once there's a 2.13 release for this project (which there isn't yet), you should also be able to find the docs on https://www.javadoc.io. while it would certainly be nice for them to be officially published as well, the site is a good alternative while waiting.

@mslinn
Copy link

mslinn commented Jul 2, 2019

The Scaladoc for this project on javadoc.io is stale.

@SethTisue
Copy link
Member Author

The Scaladoc for this project on javadoc.io is stale

I haven't previously dealt with javadoc.io, is there something we need to do to get them to refresh...?

@NthPortal
Copy link
Contributor

NthPortal commented Jul 3, 2019

again, this project isn't published for a 2.13 non-milestone, so there are no scaladocs published anywhere

@sjrd
Copy link
Member

sjrd commented Jul 3, 2019

Version 0.2.0 is published for 2.13 final:
https://search.maven.org/artifact/org.scala-lang.modules/scala-parallel-collections_2.13/0.2.0/jar

I use it in Scala.js too, btw.

@NthPortal
Copy link
Contributor

NthPortal commented Jul 4, 2019

my mistake.

you can trigger a download by javadoc.io by visiting the page where the docs ought to be

image

and it is in fact already live (after about 60 seconds or so): https://www.javadoc.io/doc/org.scala-lang.modules/scala-parallel-collections_2.13/0.2.0

@mslinn
Copy link

mslinn commented Jul 4, 2019

@NthPortal Awesome! The UI for that site is non-obvious. Thanks!

@NthPortal
Copy link
Contributor

I still think we should publish them officially

@julienrf
Copy link
Contributor

julienrf commented Jul 4, 2019

FWIW, there is a direct link to the API documentation on https://index.scala-lang.org/scala/scala-parallel-collections/scala-parallel-collections/0.2.0

@mslinn
Copy link

mslinn commented Jul 4, 2019

Got it, thanks!

@SethTisue
Copy link
Member Author

I still think we should publish them officially

what's the advantage over letting javadoc.io do it?

@mslinn
Copy link

mslinn commented Jul 4, 2019

javadoc.io does not provide a facility for searching. The Scaladoc for Scala features a search box when hosted on scala-lang.org. If the scala-parallel-collections API was also published on scala-lang.org might it be possible to provide a similar search capability?

@NthPortal
Copy link
Contributor

what's the advantage over letting javadoc.io do it?

it's... official, I guess? also, you have to know javadoc.io exists (or that Scaladex has links to it) to use it, whereas somewhere official is where you'd expect it. idk. it's not a super strong argument

@mslinn
Copy link

mslinn commented Jul 4, 2019

In addition to not supporting search, the version that would be deployed to javadoc.io does not have links back to the main scala scaladoc

@SethTisue
Copy link
Member Author

javadoc.io does not provide a facility for searching. The Scaladoc for Scala features a search box when hosted on scala-lang.org.

I visited https://www.javadoc.io/doc/org.scala-lang.modules/scala-parallel-collections_2.13/0.2.0 and did a search using the search field at the top and it seemed to work fine? I'm not following what you mean, here.

@mslinn
Copy link

mslinn commented Jul 4, 2019

I stand corrected.

@NthPortal
Copy link
Contributor

the version that would be deployed to javadoc.io does not have links back to the main scala scaladoc

it's a little awkward to get a link to the current page, but permalinks all work, as well as middle clicking on any link on the page (or clicking "copy link address")

@NthPortal
Copy link
Contributor

I actually think that that link not working is a scaladoc problem, not a problem with javadoc.io

@julienrf
Copy link
Contributor

julienrf commented Jul 5, 2019

Yeah, there is an option to set when we generate the scaladoc if we want to have links to the standard library docs.

@SethTisue
Copy link
Member Author

I actually think that that link not working is a scaladoc problem, not a problem with javadoc.io

agree. opened #73 on it

@SethTisue
Copy link
Member Author

I've opened #75, which just links to javadoc.io

@SethTisue
Copy link
Member Author

I still think we should publish them officially

(not opposed, but I don't intend to tackle it, either)

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

Successfully merging a pull request may close this issue.

5 participants