aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/plugins/guide.md
diff options
context:
space:
mode:
Diffstat (limited to 'support/doc/plugins/guide.md')
-rw-r--r--support/doc/plugins/guide.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md
index 5b7d1cb31..d3b9db0ed 100644
--- a/support/doc/plugins/guide.md
+++ b/support/doc/plugins/guide.md
@@ -39,6 +39,7 @@
39 - [Build your plugin](#build-your-plugin) 39 - [Build your plugin](#build-your-plugin)
40 - [Test your plugin/theme](#test-your-plugintheme) 40 - [Test your plugin/theme](#test-your-plugintheme)
41 - [Publish](#publish) 41 - [Publish](#publish)
42 - [Unpublish](#unpublish)
42- [Plugin & Theme hooks/helpers API](#plugin--theme-hookshelpers-api) 43- [Plugin & Theme hooks/helpers API](#plugin--theme-hookshelpers-api)
43- [Tips](#tips) 44- [Tips](#tips)
44 - [Compatibility with PeerTube](#compatibility-with-peertube) 45 - [Compatibility with PeerTube](#compatibility-with-peertube)
@@ -909,6 +910,14 @@ $ npm publish
909Every time you want to publish another version of your plugin/theme, just update the `version` key from the `package.json` 910Every time you want to publish another version of your plugin/theme, just update the `version` key from the `package.json`
910and republish it on NPM. Remember that the PeerTube index will take into account your new plugin/theme version after ~24 hours. 911and republish it on NPM. Remember that the PeerTube index will take into account your new plugin/theme version after ~24 hours.
911 912
913### Unpublish
914
915If for a particular reason you don't want to maintain your plugin/theme anymore
916you can deprecate it. The plugin index will automatically remove it preventing users to find/install it from the PeerTube admin interface:
917
918```bash
919$ npm deprecate peertube-plugin-xxx@"> 0.0.0" "explain here why you deprecate your plugin/theme"
920```
912 921
913## Plugin & Theme hooks/helpers API 922## Plugin & Theme hooks/helpers API
914 923