From 0c3bdfe43437ae03ae6db29aed6ecae36a823d83 Mon Sep 17 00:00:00 2001 From: zzz <zzz@i2pmail.org> Date: Wed, 5 Jan 2022 17:08:17 -0500 Subject: [PATCH] Plugin spec: Document fixes for 0.9.53 --- i2p2www/spec/plugin.rst | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/i2p2www/spec/plugin.rst b/i2p2www/spec/plugin.rst index 984f74d17..5c63641ab 100644 --- a/i2p2www/spec/plugin.rst +++ b/i2p2www/spec/plugin.rst @@ -2,8 +2,8 @@ Plugin Specification ==================== .. meta:: - :lastupdated: November 2019 - :accuratefor: 0.9.43 + :lastupdated: 2022-01 + :accuratefor: 0.9.53 .. contents:: @@ -171,7 +171,10 @@ console: Only for webapps. - A path within the webapp to a 32x32 image, e.g. /icon.png + A path to a 32x32 image, e.g. /icon.png + As of 1.7.0 (API 0.9.53), if consoleLinkURL is specified, + the path is relative to that URL. Otherwise it is relative + to the webapp name. Applies to all webapps in the plugin. icon-code @@ -283,8 +286,9 @@ console/ jars in $PLUGIN/lib/ or $I2P/lib for the webapp classpath, with ``webapps.warname.classpath=$PLUGIN/lib/foo.jar,$I2P/lib/bar.jar`` - NOTE: Currently, the classpath line is only loaded if the warname is the - same as the plugin name. + NOTE: Prior to release 1.7.0 (API 0.9.53), the classpath line was only + loaded if the warname was the same as the plugin name. + As of API 0.9.53, classpath setting will work for any warname. NOTE: Prior to router version 0.7.12-9, the router looked for ``plugin.warname.startOnLoad`` instead of -- GitLab