mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
docs: correct plugin example filename (#7026)
* Correect Wrong file name The file name inside the my-plugin folder is index.js . * Update plugins.md Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
parent
103ea04661
commit
49424f5057
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ module.exports = {
|
||||||
|
|
||||||
Then in the folder `my-plugin`, you can create an `index.js` such as this:
|
Then in the folder `my-plugin`, you can create an `index.js` such as this:
|
||||||
|
|
||||||
```js title="my-plugin.js"
|
```js title="my-plugin/index.js"
|
||||||
module.exports = async function myPlugin(context, options) {
|
module.exports = async function myPlugin(context, options) {
|
||||||
// ...
|
// ...
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue