Skip to content

Migrate scala3doc codebase into dotty #10073

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

Closed
wants to merge 237 commits into from

Conversation

romanowski
Copy link
Contributor

This pull request brings scala3doc from its repositroy into dotty.

This PR is just a mechanical move of commit history plus changes in github actions. I suggest to review only last commit.

This PR does not integrate scala3doc into dotty itself (it still uses disted version).

Github actions are configured to run only scala3docs changes on PR that targets only scala3doc.

romanowski and others added 30 commits July 15, 2020 23:06
Refactor project to allow further work
Fix a typo in compiler option name
Basic support for methods, generics does not work.
This includes support for printing basic types
Create Scala signature provider that renders methods and classes
Added preprocessor which replaces logo in docs. Provide basic Scala logo
Add dotty-dokka resources appender and installer, append project-specific CSS
Package support and package documentation
pikinier20 and others added 24 commits October 9, 2020 14:13
Extend pages with inherited members
Extend symbols with members from implicit conversions/ extensions
Remove hack for checking if method is an extension
In this PR I've refactor the documentable model. We've used a ton a extensions and reasoning about members was super hard.

In this PR all members shares common api (with, Kind, Modifiers, Signature etc.) as well as shares common way to store nested members. This commit also moves us away from dokka core model so if needed we can migrate away from dokka and keep most logic intact.

Add option to fiter members that is quite generic.
Refactor of Documentable model and add Filter view
Hide redundant type hierarchy diagram when there are no super and sub…
Permutate definitions to make Tasty happy
This PR removes Kotlin project since we are able to define plugins using plain Java.
Copy link
Member

@dottybot dottybot left a comment

Choose a reason for hiding this comment

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

Hello, and thank you for opening this PR! 🎉

All contributors have signed the CLA, thank you! ❤️

Commit Messages

We want to keep history, but for that to actually be useful we have
some rules on how to format our commit messages (relevant xkcd).

Please stick to these guidelines for commit messages:

  1. Separate subject from body with a blank line
  2. When fixing an issue, start your commit message with Fix #<ISSUE-NBR>:
  3. Limit the subject line to 72 characters
  4. Capitalize the subject line
  5. Do not end the subject line with a period
  6. Use the imperative mood in the subject line ("Add" instead of "Added")
  7. Wrap the body at 80 characters
  8. Use the body to explain what and why vs. how

adapted from https://chris.beams.io/posts/git-commit

Have an awesome day! ☀️

@abgruszecki abgruszecki self-assigned this Oct 23, 2020
@abgruszecki
Copy link
Contributor

Closing, since this was mostly about testing the CI. #10081 should become the actual PR.

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.

8 participants