Skip to content

Sync with the stable documentation branch #16483

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 174 commits into from
Dec 12, 2022
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Dec 9, 2022

This pull request is syncing the main with changes from language-reference-stable.

It was created automatically after 29639f9 by @WojciechMazur

szymon-rd and others added 30 commits September 2, 2022 13:03
Add second line with description to search result
@bishabosha bishabosha enabled auto-merge December 9, 2022 14:23
PR with new scaladoc version. We want to merge it to language-ref,
because there is already a reference version generated with older
scaladoc that is bugged in some places. It would be best to replace it
fairly quickly.
This version deployed:
https://szymon-rd.github.io/dotty/scala3/index.html

## Major changes (broadly described):
- New search engine and algorithm. It is faster and gives better
results. We also fixed its UI and introduced no results page.
 - Adjustments in articles layout.
- Packages now form a tree instead of a linear structure. The `scala`
package is first and expanded by default. It also behaves differently
now (it doesn't jump in a way that was confusing to the user anymore)
- Removed flickering of the page. It now behaves as it was written with
some framework with virtual DOMs. We made it by intercepting the event
that would make the browser reload the page, and prerendering the page
before replacing it. The navigation is also faster because of it. It
required us to rework some parts of the website.
- New layout of members section and their contents (more concise and
with improved readability).
 - Quick Navigation in API members. ToC are sticky now. 
- Member section filters are now faster and sticky. Added no results
page.
 - Reworked code snippets style and fonts.
 - Removed contributors (see comments)
 - Styled tables in the Docs.
- Fixed flow of releasing ScalaDoc by modyfing the tasks. It should be
now easier to generate the stable docs, and the versions are fixed in
the testcases config.
- A lot of minor changes in styling and structure of both docs and API
sections. We've redesigned the majority of the page and analyzed the
implementation side to side to make it strictly match the designs.
 - Introduced new icons.
- More details pages are now visible (going to change that and make them
not appear under `Next` instead)
## Fixed bugs with:
 - Search overlay not always disappearing when clicked outside.
 - Bad paths in search results.
- Rendering of members filters. The `clear` icon now appears where it
should and with fixed styling. Dropdown fixed as well.
 - Empty pages in docs
 - Rendering, updating and structure of ToC (`In this article`)
 - Missing pointer cursor
 - Article content shifting when no ToC.
 - Collapsing side nav items.
 - Page jumping when going directly to members.
 - Mobile menu not appearing on some resolutions.
 - Member details hiding on interaction with inheritance graph.
 - Missing spaces in search results.
 - Recent searches not working as intended.
- Linking to a section that has its name duplicated in one doc. Now they
get unique id on duplicates.
 - More minor ones.
## Additional fixes TODO (from @julienrf )
- [x] Instead of showing in the sidebar the previously hidden pages,
hide them also from the “Next” buttons
 - [x] Don’t show all the super types of classes in the list view
- [x] In the detailed view, show the super types of classes, but use a
comma instead of with
- [x] Bring back the “This is a nightly documentation. …” banner (with
proper styling)
 - [x] Fix the “Uncaught TypeError”s
 - [x] Make the table of contents (“In this article” box) scrollable
 - [x] Make header names (long package names) scrollable
 - [ ] Bring back the list of contributors (use --ignore-revs-file)
@bishabosha bishabosha merged commit 977a62e into main Dec 12, 2022
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