You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by db...@apache.org on 2015/10/06 23:51:53 UTC

docs commit: Removing in-progress deployment mechanism. Replacing link to old plugin registry.

Repository: cordova-docs
Updated Branches:
  refs/heads/cordova-website 772f3d90e -> 11518033c


Removing in-progress deployment mechanism. Replacing link to old plugin registry.


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/11518033
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/11518033
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/11518033

Branch: refs/heads/cordova-website
Commit: 11518033cd96d34d68c02f14a2621defab7d8a02
Parents: 772f3d9
Author: Dmitry Blotsky <dm...@gmail.com>
Authored: Tue Oct 6 14:51:50 2015 -0700
Committer: Dmitry Blotsky <dm...@gmail.com>
Committed: Tue Oct 6 14:51:50 2015 -0700

----------------------------------------------------------------------
 README.md          | 12 +++---------
 _prod.yml          |  2 +-
 gulpfile.js        |  2 +-
 www/plugins/faq.md |  4 +++-
 4 files changed, 8 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/11518033/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 5d0947d..241083d 100644
--- a/README.md
+++ b/README.md
@@ -101,7 +101,7 @@ Deploying
 
 This section requires basic knowledge of SVN. If you do not know how to use SVN, refer to [this tutorial][svn].
 
-First, inspect `_prod.yml` to check that the correct `baseurl` is used. For development deployment, it should be some non-empty folder (e.g. `"/use-the-force-luke"`), and for a production deployment it should be empty (i.e. `""`). To then build the full website, run:
+To build the full website, run:
 
     gulp build --prod
 
@@ -110,17 +110,11 @@ A folder called `build-prod` will be created, and will contain the whole website
     cd ..
     svn checkout https://svn.apache.org/repos/asf/cordova/site cordova-website
 
-Copy the `cordova-docs/build-prod/` directory to the `public` directory in SVN (or in the case of a development deployment, to `public/use-the-force-luke`).
-
-Therefore, for the __development__ deployment, run:
-
-    cp -R cordova-docs/build-prod/* cordova-website/public/use-the-force-luke/
-
-For the __production__ deployment, run:
+Copy the `cordova-docs/build-prod/` directory to the `public` directory in SVN like so:
 
     cp -R cordova-docs/build-prod/* cordova-website/public/
 
-Finally, go into the `cordova-website` directory and commit *all* the changes introduced the newly copied files. The commit might take a while (up to 1 hour), depending on the number of files copied.
+Finally, go into the `cordova-website` directory and commit *all* the changes introduced by the newly copied files. Some files will be new (`?` in SVN, and need to be `svn add`ed) and some files will be changed (`M` in SVN). The commit might take a while (up to 1 hour), depending on the number of files changed.
 
 Working on the Documentation
 ============================

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/11518033/_prod.yml
----------------------------------------------------------------------
diff --git a/_prod.yml b/_prod.yml
index c9999c1..7959354 100644
--- a/_prod.yml
+++ b/_prod.yml
@@ -1,4 +1,4 @@
-baseurl: "/use-the-force-luke"
+baseurl: ""
 destination: build-prod
 exclude:
     - static/css-src

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/11518033/gulpfile.js
----------------------------------------------------------------------
diff --git a/gulpfile.js b/gulpfile.js
index e08d65b..5b06c41 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -55,7 +55,7 @@ var CONFIG_FILES = [CONFIG_FILE, DEFAULTS_CONFIG_FILE, VERSION_CONFIG_FILE];
 var DEV_FLAGS    = ["--config", CONFIG_FILES.concat([DEV_CONFIG_FILE]).join(","), "--trace"];
 var PROD_FLAGS   = ["--config", CONFIG_FILES.concat([PROD_CONFIG_FILE]).join(",")];
 
-var BASE_URL          = "/use-the-force-luke";
+var BASE_URL          = "";
 var YAML_FRONT_MATTER = "---\n---\n";
 var WATCH_INTERVAL    = 1000; // in milliseconds
 var VERSION_VAR_NAME  = "latest_docs_version";

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/11518033/www/plugins/faq.md
----------------------------------------------------------------------
diff --git a/www/plugins/faq.md b/www/plugins/faq.md
index 41ea15a..6c63684 100644
--- a/www/plugins/faq.md
+++ b/www/plugins/faq.md
@@ -27,7 +27,7 @@ Core plugins have a blue strip on the left side of their card.
 
 ## Can I still download plugins if I'm using Cordova CLI 4.3.0 or lower?
 
-Yes! You can use Cordova Plugins from the [old plugin registry](http://plugins.cordova.io/).
+Yes! You can use Cordova Plugins from the [old plugin registry][old_reg].
 
 ## What’s happening to the old plugin registry?
 
@@ -43,3 +43,5 @@ Yes there are. Please take a look at [Add Plugin Features]({{ site.baseurl }}/do
 ## I don't like X. How can I help improve the website?
 
 You can help improve this site by opening bugs on [JIRA](https://issues.apache.org/jira/issues/?jql=project%20%3D%20CB%20AND%20status%20%3D%20Open%20AND%20component%20%3D%20%22Registry%20Web%22) or by sending PRs on [GitHub](https://github.com/apache/cordova-docs/tree/cordova-website).
+
+[old_reg]: http://50.17.177.14/


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org