Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2808
Enabling Vitest 5 also enables Vitest 4, and opening Vitest 4 shows the pages of Vitest 5. Both entries in
docs.jsonhave the slugvitest.The files of Vitest 4 are in the right place, but the
meta.jsonstored there says"slug":"vitest":The manifest copied that slug. It now takes the slug from the doc, which is also what decides where the meta file is read from. Bun 1.3 has the same problem (slug
bun) and is fixed too.I checked it like this:
meta.jsonandindex.jsonfiles of Vitest and Vitest 4, before and after. That is the screenshot.docs.json. Two slugs change,vitesttovitest~4andbuntobun~1.3, and no duplicates are left.main. All 835 Ruby tests pass here, run on Ruby 3.4.5.The stored
meta.jsonfiles stay as they are, so you may still want to regenerate them. The one of Bun 1.3 also hashttps://leafletjs.com/as its home link.I left one thing alone. When the latest version is enabled, opening the group of the older ones under Disabled shows the pages of the latest one. Vite does this on
maintoo. It is inDocList.onOpen, so I can send it as another PR.