From ccffe2aeb2c1c094e16313c46ef5544069f2c3a1 Mon Sep 17 00:00:00 2001 From: Hexagon Date: Fri, 26 Apr 2024 01:10:46 +0200 Subject: [PATCH] Update docs --- docs/src/examples/plugins/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/src/examples/plugins/README.md b/docs/src/examples/plugins/README.md index 18394f7..58ef73d 100644 --- a/docs/src/examples/plugins/README.md +++ b/docs/src/examples/plugins/README.md @@ -14,6 +14,8 @@ To create a custom plugin, developers should extend the `PluginImplementation` c The plugin then communicates with Pup using `PupRestClient` from `@pup/api-client`. The url and credentials are passed to the plugin constructor. +Example (full example available at ): + ```typescript import { PupRestClient } from "jsr:@pup/api-client" import { type PluginConfiguration, PluginImplementation } from "jsr:@pup/plugin" @@ -157,3 +159,5 @@ The end user configuration for activating a plugin by `pup.json` is ] } ``` + +Full example available at .