You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ak...@apache.org on 2015/08/03 05:28:42 UTC
docs commit: Format files to fix Markdown errors and simplify
translation effort
Repository: cordova-docs
Updated Branches:
refs/heads/master 0c1b081d2 -> 8bc30bd21
Format files to fix Markdown errors and simplify translation effort
Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/8bc30bd2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/8bc30bd2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/8bc30bd2
Branch: refs/heads/master
Commit: 8bc30bd21091753ccfddf2eefcfc77d04a82e675
Parents: 0c1b081
Author: Andrey Kurdyumov <ka...@gmail.com>
Authored: Mon Aug 3 01:53:39 2015 +0600
Committer: Andrey Kurdyumov <ka...@gmail.com>
Committed: Mon Aug 3 01:53:39 2015 +0600
----------------------------------------------------------------------
docs/en/edge/guide/hybrid/plugins/index.md | 7 +--
.../platform_plugin_versioning_ref/index.md | 52 ++++++++++++--------
2 files changed, 36 insertions(+), 23 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/8bc30bd2/docs/en/edge/guide/hybrid/plugins/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/hybrid/plugins/index.md b/docs/en/edge/guide/hybrid/plugins/index.md
index f98e7ef..edbac92 100644
--- a/docs/en/edge/guide/hybrid/plugins/index.md
+++ b/docs/en/edge/guide/hybrid/plugins/index.md
@@ -215,11 +215,12 @@ To publish a plugin to NPM registry you need to follow steps below:
* create `package.json` file for your plugin:
- $ plugman createpackagejson /path/to/your/plugin
+ $ plugman createpackagejson /path/to/your/plugin
* publish it:
- $ npm adduser # that is if you don't have an account yet
- $ npm publish /path/to/your/plugin
+
+ $ npm adduser # that is if you don't have an account yet
+ $ npm publish /path/to/your/plugin
That is it!
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/8bc30bd2/docs/en/edge/platform_plugin_versioning_ref/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/platform_plugin_versioning_ref/index.md b/docs/en/edge/platform_plugin_versioning_ref/index.md
index a3608f7..fe98a25 100644
--- a/docs/en/edge/platform_plugin_versioning_ref/index.md
+++ b/docs/en/edge/platform_plugin_versioning_ref/index.md
@@ -72,17 +72,22 @@ Some examples :
### Restoring platforms
- * Platforms are automatically restored from config.xml when the **'cordova prepare'** command is run.
- * If you add a platform without specifying a version/folder/git_url, the version to install is taken from config.xml, **if found**.
- * Example:
- Suppose your config.xml file contains the following entry:
- <?xml version='1.0' encoding='utf-8'?>
- ...
- <engine name="android" spec="3.7.0" />
- ...
- </xml>
- If you run the command **'cordova platform add android'** (no version/folder/git_url specified), the platform 'android@3.7.0' (as retrieved from config.xml) will be installed.
+Platforms are automatically restored from config.xml when the **'cordova prepare'** command is run.
+
+If you add a platform without specifying a version/folder/git_url, the version to install is taken from config.xml, **if found**.
+
+Example:
+
+Suppose your config.xml file contains the following entry:
+
+ <?xml version='1.0' encoding='utf-8'?>
+ ...
+ <engine name="android" spec="3.7.0" />
+ ...
+ </xml>
+
+If you run the command **'cordova platform add android'** (no version/folder/git_url specified), the platform 'android@3.7.0' (as retrieved from config.xml) will be installed.
@@ -133,13 +138,20 @@ Some examples :
### Restoring plugins
- * Plugins are automatically restored from config.xml when the **'cordova prepare'** command is run.
- * If you add a plugin without specifying a version/folder/git_url, the version to be installed is taken from config.xml, **if found**.
- * Example:
- Suppose your config.xml file contains the following entry:
- <?xml version='1.0' encoding='utf-8'?>
- ...
- <plugin name="cordova-plugin-console" spec="0.2.11" />
- ...
- </ xml>
- If you run the command **'cordova plugin add cordova-plugin-console'** (no version/folder/git_url specified), the plugin 'cordova-plugin-console@0.2.11' (as retrieved from config.xml) will be installed.
+
+Plugins are automatically restored from config.xml when the **'cordova prepare'** command is run.
+
+If you add a plugin without specifying a version/folder/git_url, the version to be installed is taken from config.xml, **if found**.
+
+Example:
+
+Suppose your config.xml file contains the following entry:
+
+ <?xml version='1.0' encoding='utf-8'?>
+ ...
+ <plugin name="cordova-plugin-console" spec="0.2.11" />
+ ...
+ </ xml>
+
+If you run the command **'cordova plugin add cordova-plugin-console'** (no version/folder/git_url specified), the plugin 'cordova-plugin-console@0.2.11' (as retrieved from config.xml) will be installed.
+
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org