[pull] main from facebook:main#91
Merged
Merged
Conversation
* Add basic AGENTS.md * Add basic AGENTS.md * refactor: apply lint autofix --------- Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
…ookup (#11743) * fix(content-docs): use category key for generated-index translation lookup When a sidebar category has a custom `key` attribute, the translation system generates keys using `category.key ?? category.label`. However, the read phase (`transformSidebarCategoryLink`) was using `category.label` directly for generated-index title and description lookups, causing a key mismatch and silent translation failure. This aligns the generated-index lookup with the existing pattern already used for category labels, link labels, and doc labels. Fixes #11738 * chore: trigger CLA bot * simplify test * simplify test * increase test timeout on windows --------- Co-authored-by: sebastien <lorber.sebastien@gmail.com>
* feat(theme-live-codeblock): add reset button to live code playground Adds a reset button to live code playgrounds that restores edited code to its original state. The button appears in the playground header alongside the Live Editor label. Closes #10711 * chore: update theme translations for reset button * add mising LiveCodeBlockThemeConfig type import to website * some fixes * change type order * remove useless dogfood page * rename i18n key * extract context to a client api export * fix prop types import * restore former comment * refactor a bit, extract playground position prop * expose position prop + dogfood * wire position prop * fix type issues * subcomponents * restore some former CSS * fix React playground examples * restore comment --------- Co-authored-by: sebastien <lorber.sebastien@gmail.com> Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )