diff --git a/website/docs/api/plugin-methods/lifecycle-apis.md b/website/docs/api/plugin-methods/lifecycle-apis.md index 1b3afebe59..ea06de717d 100644 --- a/website/docs/api/plugin-methods/lifecycle-apis.md +++ b/website/docs/api/plugin-methods/lifecycle-apis.md @@ -107,7 +107,7 @@ export default function friendsPlugin(context, options) { } ``` -#### `setGlobalData(data: any): void` +#### `setGlobalData(data: any): void` {#setGlobalData} This function permits one to create some global plugin data that can be read from any page, including the pages created by other plugins, and your theme layout. @@ -205,7 +205,7 @@ module.exports = function (context, options) { }; ``` -### `content` {#content} +### `content` {#content-1} `configureWebpack` will be called both with the content loaded by the plugin. diff --git a/website/docs/api/themes/theme-configuration.md b/website/docs/api/themes/theme-configuration.md index 16da0cf361..93cf157c54 100644 --- a/website/docs/api/themes/theme-configuration.md +++ b/website/docs/api/themes/theme-configuration.md @@ -163,7 +163,7 @@ module.exports = { Accepted fields: - + | Name | Type | Default | Description | | --- | --- | --- | --- |