From 58bbbc2ad94f4b9d8a0321087a49ad1ce3023a83 Mon Sep 17 00:00:00 2001 From: Vitor de Miranda Henrique Date: Tue, 10 Apr 2018 16:19:55 -0500 Subject: [PATCH] Update hooks.rst Fix Software Update plugin link, it was pointing to an old github page --> https://github.com/OctoPrint/OctoPrint-SoftwareUpdate instead of the bundled plugin--> https://github.com/foosel/OctoPrint/tree/master/src/octoprint/plugins/softwareupdate --- docs/plugins/hooks.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plugins/hooks.rst b/docs/plugins/hooks.rst index 18d63f75f..f3a5607f5 100644 --- a/docs/plugins/hooks.rst +++ b/docs/plugins/hooks.rst @@ -66,7 +66,7 @@ the general type of script for which to look for additions ("gcode") and the scr return a 2-tuple of prefix and postfix if has something for either of those, otherwise ``None``. OctoPrint will then take care to add prefix and suffix as necessary after a small round of preprocessing. -Plugins can easily add their own hooks too. For example, the `Software Update Plugin `_ +Plugins can easily add their own hooks too. For example, the `Software Update Plugin `_ declares a custom hook "octoprint.plugin.softwareupdate.check_config" which other plugins can add handlers for in order to register themselves with the Software Update Plugin by returning their own update check configuration.