diff --git a/docs/content/api/create-plugin.md b/docs/content/api/create-addon.md similarity index 64% rename from docs/content/api/create-plugin.md rename to docs/content/api/create-addon.md index 34bda21..0f7f8aa 100644 --- a/docs/content/api/create-plugin.md +++ b/docs/content/api/create-addon.md @@ -1,16 +1,16 @@ --- -title: Mollitia - API - Create a plugin +title: Mollitia - API - Create an addon --- -# Create a plugin +# Create an addon -Creating a plugin is similar as [creating a module](/api/create-module), you should implement the **Plugin** interface: +Creating an addon is similar as [creating a module](/api/create-module), you should implement the **Addon** interface: ``` javascript // Imports the library const Mollitia = require('mollitia'); // Creates a class -class UselessPlugin implements Mollitia.Plugin { +class UselessAddon implements Mollitia.Addon { // Called when a circuit is created onCircuitCreate (circuit, options) { // Feel free to modify the circuit behavior, and add properties to it diff --git a/docs/content/overview/introduction.md b/docs/content/overview/introduction.md index 4e235c1..bf66cd1 100644 --- a/docs/content/overview/introduction.md +++ b/docs/content/overview/introduction.md @@ -34,7 +34,6 @@ You can then execute a asynchronous operation on the circuit, and the attached m `Mollitia` has been designed to be customized. [Modules can be created](/api/create-module), and [addons can be added](/api/create-addon). - - - - +### Core Addons + +* **[Prometheus](http://135.39.45.156:8081)**: Adds multiple metrics to your modules and circuits.