Skip to content

Commit

Permalink
docs(add-plugin): update file paths (#9910)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBrother committed May 6, 2024
1 parent fc7410b commit 9d4f8b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/customization/add-plugin.md
Expand Up @@ -20,7 +20,7 @@ SwaggerUI({
})
```

Or if you're updating the core plugins.. you'll add it to the base preset: [src/core/presets/base.js](https://github.com/swagger-api/swagger-ui/blob/master/src/core/presets/base.js)
Or if you're updating the core plugins.. you'll add it to the base preset: [src/core/presets/base/index.js](https://github.com/swagger-api/swagger-ui/blob/master/src/core/presets/base/index.js)

Each Plugin is a function that returns an object. That object will get merged with the `system` and later bound to the state.
Here is an example of each `type`
Expand Down

0 comments on commit 9d4f8b9

Please sign in to comment.