Browse Source

[Doc] Fix correct number of slashes when installing a plugin with zip file

Tanguy Leroux 10 years ago
parent
commit
d819930261
2 changed files with 2 additions and 2 deletions
  1. 1 1
      docs/plugins/authors.asciidoc
  2. 1 1
      docs/plugins/plugin-script.asciidoc

+ 1 - 1
docs/plugins/authors.asciidoc

@@ -112,7 +112,7 @@ directory in the root of the plugin should be served.
 === Testing your plugin
 
 When testing a Java plugin, it will only be auto-loaded if it is in the
-`plugins/` directory.  Use `bin/plugin install file://path/to/your/plugin`
+`plugins/` directory.  Use `bin/plugin install file:///path/to/your/plugin`
 to install your plugin for testing.
 
 You may also load your plugin within the test framework for integration tests.

+ 1 - 1
docs/plugins/plugin-script.asciidoc

@@ -101,7 +101,7 @@ For instance, to install a plugin from your local file system, you could run:
 
 [source,shell]
 -----------------------------------
-sudo bin/plugin install file:/path/to/plugin.zip
+sudo bin/plugin install file:///path/to/plugin.zip
 -----------------------------------
 
 [[listing-removing]]