devdocs icon indicating copy to clipboard operation
devdocs copied to clipboard

Update Scala documentation for Scala 3

Open Nicolapps opened this issue 4 years ago • 3 comments

The API documentation for Scala 3 is missing from DevDocs.

The documentation versions report indicates that the Scala documentation is up to date, while it isn’t: the latest scraper version is 2.13.0, while the latest Scala version is 3.1.0.

Nicolapps avatar Dec 07 '21 10:12 Nicolapps

The latest version is taken from the navbar of https://www.scala-lang.org/api/current/. Scala 3 API docs is hosted at https://scala-lang.org/api/3.x/

@Nicolapps, are you interested in updating (or helping to update) the scraper for Scala 3?

simon04 avatar Dec 07 '21 17:12 simon04

That behavior looks strange to me, I opened an issue (https://github.com/scala/docs.scala-lang/issues/2270) to ask if it is intentional.

I can’t work on this right now, but I could help to update the scraper in the next few months if help is still needed.

Nicolapps avatar Dec 08 '21 20:12 Nicolapps

I’m currently working on a scraper, I’ll keep you updated!

Nicolapps avatar Feb 11 '22 20:02 Nicolapps

I believe this issue can be closed as

  • linked PR is merged https://github.com/freeCodeCamp/devdocs/pull/1708
  • and there is support for 3.2 and 3.1 (see linked code and screenshot below) https://github.com/freeCodeCamp/devdocs/blob/77d7e2ea770b4e79146fc5322ceacedc91bf5e1c/lib/docs/scrapers/scala.rb#L10-L60
image

thewheat avatar Oct 06 '22 12:10 thewheat

That’s correct, #1708 resolved this issue.

Nicolapps avatar Oct 06 '22 14:10 Nicolapps