-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Scala3doc UI and UX improvements #11136
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
Comments
Replying to some points of your feedback:
|
Thanks for the links to updated instances. I've noticed that packages can't be expanded anymore. Is that a deliberate design decision? Also some more notes on the sidebar that I just found. First off, you can scroll it horizontally. Also, if you expand something so that the sidebar goes from not being scrollable, to being scrollable, then the arrows move. Would be best if they didn't. If it's hard to make them not move, then maybe just show the scroll bar at all times? |
Type members:
Value members:
Misc:
|
@Katrix I tried to address all of your requests, some I checked as resolved, some are just explained why I could not provide solution for now. Please assess which one would you like to implement and provide more information, and for those that are not valid for now please checkbox them as resolved. |
When the documentation is published via CI, the snapshot example should be available here https://scala3doc.virtuslab.com/pr-ux-fixes/index.html as a quick reference to above issues. |
Can't check the checkboxes, but I can go over what you've written at least 😄 The first paragraph of the scaladoc of a class is smaller than the rest: Seems to have been fixed. Ill formatted Option: Tested the given source on a completely different thing of mine which uses Flexmark, and it rendered fine. It's probably either a bug, or a configuration option. I can see if I have time to look into that. Showing class Annotations: That sounds like a wonderful solution honestly Scaladoc member grouping: The groups the old Scaladoc does, which is not done currently here are: constructors, concrete and abstract value members Should I open seperate issues for the remaining bigger items? |
I'm working on part 2 of that issue.
|
Current progress of issues
|
fyi, I opened an issue about this with some suggestions a while ago: #10893 |
I think all issues listed in this task are already adressed so I close it. |
Seeing as most of the things in the old issue were dealt with and the issue closed, I thought I'd go check out the state scala3doc and see what lesser things that could probably be fixed next. Hope you don't mind.
Type members:
Value members:
def map
for examplke, it would only show methods named map.Misc:
SerialVersionUID
Also, is there a live link to an instance of the scala3doc that shows off some stuff? The main one for Dotty doesn't expand packages, and the old ones from before this got merged in here are dead.
The text was updated successfully, but these errors were encountered: