From db471d97abd4acb107360614de8263711d79500f Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Wed, 12 Jan 2022 08:35:47 +0800 Subject: [PATCH] fix(website): various anchor link fixes (#6318) --- website/docs/api/plugin-methods/lifecycle-apis.md | 4 ++-- website/docs/api/themes/theme-configuration.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 | | --- | --- | --- | --- |