mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 08:19:07 +02:00
docs: refactor & refine lifecycle API docs (#5918)
* docs: refactor & refine lifecycle API docs * Fix links * More writeup * Rewording * Rename path * Use README * Fix links * Add redirects * Do the same for latest version as well * Move folder * Fix broken link
This commit is contained in:
parent
dc1ccd2fbb
commit
9078fd9fb2
24 changed files with 1822 additions and 1716 deletions
|
@ -121,7 +121,7 @@ Docusaurus' implementation of the plugins system provides us with a convenient w
|
|||
|
||||
A plugin is a function that takes two parameters: `context` and `options`.
|
||||
|
||||
It returns a plugin instance object, containing plugin [lifecycle APIs](./api/lifecycle-apis.md).
|
||||
It returns a plugin instance object, containing plugin [lifecycle APIs](./api/plugin-methods/README.md).
|
||||
|
||||
It can be defined as a function or a module.
|
||||
|
||||
|
@ -206,4 +206,4 @@ interface LoadContext {
|
|||
|
||||
#### Return value {#return-value}
|
||||
|
||||
The returned object value should implement the [lifecycle APIs](./api/lifecycle-apis.md).
|
||||
The returned object value should implement the [lifecycle APIs](./api/plugin-methods/README.md).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue