docs: backport doc edits from future branch (#8114)

This commit is contained in:
Joshua Chen 2022-09-19 10:40:37 -04:00 committed by GitHub
parent 2e66e1cbba
commit 70b53c4ac7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 100 additions and 12 deletions

View file

@ -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 to 10 as content.
```js title="docusaurus-plugin/src/index.js"
module.exports = function (context, options) {