mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-18 03:26:57 +02:00
docs(content-docs): updates typo in lifecycle-apis.md (#8055)
This commit is contained in:
parent
e507628f4a
commit
bf080d172a
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ During the build, plugins are loaded in parallel to fetch their own contents and
|
|||
|
||||
Plugins should use this lifecycle to fetch from data sources (filesystem, remote API, headless CMS, etc.) or do some server processing. The return value is the content it needs.
|
||||
|
||||
For example, this plugin below return a random integer between 1 to 10 as content.
|
||||
For example, this plugin below returns a random integer between 1 and 10 as content.
|
||||
|
||||
```js title="docusaurus-plugin/src/index.js"
|
||||
module.exports = function (context, options) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue