Explorar el Código

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

Tanguy Leroux hace 10 años
padre
commit
d819930261
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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]]