-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[docs] Add infrastructure to translate API pages #23726
Conversation
4a1e58d
to
b2dcc8c
Compare
0ecee03
to
5f02562
Compare
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.
I'm a bit confused about the terminology used for the new components. This looks like it's trying too hard to DRY it out:
- TopLayoutApi
- TopLayoutDocs
- AppLayoutDocs
The linked preview no longer has the feedback UI.
I don't really understand this PR. If it isn't useful on its own then we should extract it. Otherwise we have this piece of code checked-in without purpose.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
5f02562
to
e89e181
Compare
11aac59
to
cf0ea42
Compare
cf0ea42
to
44a90c8
Compare
@mbrookes I believe it's good to merge now. I would recommend you re-open this pull request with your name, otherwise, the squashed commit might give me the credits. |
d9de9ec
to
1d44586
Compare
// traverse(pages, 'en'); | ||
LANGUAGES_SSR.forEach((userLanguage) => { | ||
traverse(pages, userLanguage); | ||
}); |
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.
To revert before we merge:
// traverse(pages, 'en'); | |
LANGUAGES_SSR.forEach((userLanguage) => { | |
traverse(pages, userLanguage); | |
}); | |
traverse(pages, 'en'); |
Performance seems equivalent between next and this PR: https://www.webpagetest.org/video/compare.php?tests=201205_DiXM_60dc3e9800a353c5cca37c9fddd0e06b,201205_DiTF_12f76403859985b5141587d48a392ef6. |
1d44586
to
51816d2
Compare
A continuation of #23214 (comment).