docs: make config tabs translatable, fix APITable crowdin issue (#7572)

* docs: make config tabs translatable, fix APITable crowdin issue

* fix
This commit is contained in:
Joshua Chen 2022-06-06 10:52:19 +08:00 committed by GitHub
parent f8163ff2ee
commit bf9b69cfbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 263 additions and 156 deletions

View file

@ -68,8 +68,8 @@ Most Docusaurus users configure this plugin through the preset options.
:::
```mdx-code-block
<Tabs>
<TabItem value="Preset Options">
<Tabs groupId="api-config-ex">
<TabItem value="preset" label="Preset options">
```
If you use a preset, configure this plugin through the [preset options](../../using-plugins.md#docusauruspreset-classic):
@ -90,7 +90,7 @@ module.exports = {
```mdx-code-block
</TabItem>
<TabItem value="Plugin Options">
<TabItem value="plugin" label="Plugin Options">
```
If you are using a standalone plugin, provide options directly to the plugin: