Skip to content

docs: improve scaladocs for TastyFormat #14192

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 1 commit into from
Jan 1, 2022
Merged

Conversation

ckipp01
Copy link
Member

@ckipp01 ckipp01 commented Dec 30, 2021

The main motivation behind this is to improve the reader experience when
looking at the TastyFormat docs on
https://scala-lang.org/api/3.x/dotty/tools/tasty/TastyFormat$.html since
in its current format all spacing is lost. This instead utilizes code
blocks in a valid scaladoc to ensure the spacing is kept. You can see
what this should look like by looking at
https://scala-lang.org/api/3.x/scala/quoted/Quotes$reflectModule.html
which uses the same approach.

Addresses lampepfl/dotty-feature-requests#273

The main motivation behind this is to improve the reader experience when
looking at the TastyFormat docs on
https://scala-lang.org/api/3.x/dotty/tools/tasty/TastyFormat$.html since
in its current format all spacing is lost. This instead utilizes code
blocks in a valid scaladoc to ensure the spacing is kept. You can see
what this should look like by looking at
https://scala-lang.org/api/3.x/scala/quoted/Quotes$reflectModule.html
which uses the same approach.

Addresses lampepfl/dotty-feature-requests#273
@smarter smarter enabled auto-merge December 31, 2021 10:59
@smarter smarter merged commit eb75a1a into scala:master Jan 1, 2022
@ckipp01 ckipp01 deleted the TastyFormatDoc branch January 1, 2022 13:16
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.

3 participants