[docs] Add infrastructure to translate API pages#23726
[docs] Add infrastructure to translate API pages#23726oliviertassinari wants to merge 36 commits into
Conversation
4a1e58d to
b2dcc8c
Compare
0ecee03 to
5f02562
Compare
eps1lon
left a comment
There was a problem hiding this comment.
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.
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).