Skip to content

Copy content from dotty.epfl.ch into docs.scala-lang.org #2112

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

Merged
merged 6 commits into from
Jul 14, 2021

Conversation

julienrf
Copy link
Contributor

@julienrf julienrf commented Jul 7, 2021

This PR is huge because a lot of content has been copied. To ease the review, I suggest looking at commits individually.

This is the first step towards moving the content of https://dotty.epfl.ch into https://docs.scala-lang.org. The next steps will be to move the remaining content to https://scala-lang.org, and to deprecate the website https://dotty.epfl.ch.

The website https://dotty.epfl.ch contains several pages. Each commit of this PR handles one page, or one section of the Dotty website.


Landing page

https://dotty.epfl.ch

The content is already covered by https://www.scala-lang.org/download/scala3.html

Blog

https://dotty.epfl.ch/blog/index.html

I didn’t move the blog content. I just suggest the next blog posts be published on https://scala-lang.org/blog.

Usage

Getting Started

https://dotty.epfl.ch/docs/usage/getting-started.html

Copied some of the content in our Scala 3 book. See 9ffe4b9.

Using Dotty wth sbt

https://dotty.epfl.ch/docs/usage/sbt-projects.html

Empty page, no need to merge

IDE support for Scala 3

https://dotty.epfl.ch/docs/usage/ide-support.html

Added a mention of BSP in our getting started instructions. See 9b8c42b.

Worksheet mode with Dotty IDE

https://dotty.epfl.ch/docs/usage/worksheet-mode.html

Introduce a page about worksheets in the Scala 3 book. See 4567802.

Language versions

https://dotty.epfl.ch/docs/usage/language-versions.html

Created a page in the Scala 3 reference. See 8c1ff35.

Using Dotty with cbt

https://dotty.epfl.ch/docs/usage/cbt-projects.html

Skipped.

Reference

https://dotty.epfl.ch/docs/reference/overview.html

Copied to https://docs.scala-lang/scala3/reference/overview.html. See d947163.

Contributing

Skipped. I think we should eventually move that content into the code repository itself.

Internals

Skipped. I think we should eventually move that content into the code repository itself.

Resources

https://dotty.epfl.ch/docs/resources/talks.html

Created a page https://docs.scala-lang.org/scala3/talks.html. See a600b4b.

API

https://dotty.epfl.ch/api/index.html

Skipped. Will be merged into https://scala-lang.org/api instead.


Some screenshots:

Screenshot 2021-07-07 at 17-07-01 Overview

Screenshot from 2021-07-07 17-06-39

julienrf added 6 commits June 30, 2021 11:18
…etting-started.md here

- The part about scastie was already mentioned in our scala3/getting-started.md page
- Copied the part about the giter8 templates into the Scala 3 book,
- IDE support was covered in our getting-started page
- Skipped “Standalone installation”, since the recommended way to install Scala 3 is to use `cs`
- “Scala 3 for scripting” was already covered by scala3/book/taste-hello-world.md
…de-support.md here

- Only added a mention of BSP
- Skipped instructions in “importing the project using BSP using IntelliJ” because they are not working
Previously, the page “Scala Tools” was mainly about sbt. We now have a chapter “Scala Tools”, which contains two sections: “Building and Testing Scala Projects with sbt”, and “Worksheets”.
…versions here

Content was taken from commit 270bd8b0f5af338be73790082d774516a83a73b5
…g.org/scala3/reference

Content was taken from commit 270bd8b0f5af338be73790082d774516a83a73b5
…s.scala-lang.org/scala3/talks.html

Content was taken from commit 270bd8b0f5af338be73790082d774516a83a73b5
Copy link
Contributor

@anatoliykmetyuk anatoliykmetyuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@julienrf julienrf merged commit 6a8f5d0 into scala:main Jul 14, 2021
@julienrf julienrf deleted the dotty-docs branch July 14, 2021 08:21
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 this pull request may close these issues.

2 participants