mirror of
https://github.com/facebook/docusaurus.git
synced 2026-06-28 19:49:24 -04:00
49619fdee1
* 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>
15 lines
272 B
JSON
15 lines
272 B
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"references": [{"path": "./tsconfig.client.json"}],
|
|
"compilerOptions": {
|
|
"noEmit": false
|
|
},
|
|
"include": ["src"],
|
|
"exclude": [
|
|
"src/custom-buble.ts",
|
|
"src/theme",
|
|
"src/client",
|
|
"**/__tests__/**"
|
|
]
|
|
}
|