diff --git a/docs/development/plugins/plugin.md b/docs/development/plugins/plugin.md index b31eff1ef0..fb6ee8e70a 100644 --- a/docs/development/plugins/plugin.md +++ b/docs/development/plugins/plugin.md @@ -76,13 +76,13 @@ npx create-answer-plugin answercmd "github.com/apache/incubator-answer/cmd" // Import the plugins - _ "github.com/apache/incubator-answer/ui/src/plugins/my-plugin" + _ "github.com/apache/incubator-answer-plugins/my-plugin" ) ``` 3. Use `go mod edit` to add the plugin to the `go.mod` file. ```shell - go mod edit -replace=github.com/apache/incubator-answer/ui/src/plugins/my-plugin=../ui/src/plugins/my-plugin + go mod edit -replace=github.com/apache/incubator-answer-plugins/my-plugin=./ui/src/plugins/my-plugin ``` 4. Update the dependencies.