mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 08:19:07 +02:00
docs: backport doc edits from future branch (#8114)
This commit is contained in:
parent
2e66e1cbba
commit
70b53c4ac7
12 changed files with 100 additions and 12 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 to 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