-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Conversation
Refactor project to allow further work
Fix a typo in compiler option name
Setup CI and publicaiton
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
…h appends embedded resources.
Add dotty-dokka resources appender and installer, append project-specific CSS
Package support and package documentation
… with extensions and givens.
Extend pages with inherited members
Extend symbols with members from implicit conversions/ extensions
Adjust companion link
Remove hack for checking if method is an extension
Add hierarchy diagram
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.
This brings code from https://github.com/lampepfl/scala3doc into the project
There was a problem hiding this 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:
- Separate subject from body with a blank line
- When fixing an issue, start your commit message with
Fix #<ISSUE-NBR>:
- Limit the subject line to 72 characters
- Capitalize the subject line
- Do not end the subject line with a period
- Use the imperative mood in the subject line ("Add" instead of "Added")
- Wrap the body at 80 characters
- Use the body to explain what and why vs. how
adapted from https://chris.beams.io/posts/git-commit
Have an awesome day! ☀️
Closing, since this was mostly about testing the CI. #10081 should become the actual PR. |
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.