You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2017/09/14 00:32:30 UTC

[1/2] docs commit: Fixed up 'deployment' docs in README.md. Restored 'gulp build' command in lieu of 'npm run serve' command. Tested and fixed suggested deployment commands. Removed redundant text.

Repository: cordova-docs
Updated Branches:
  refs/heads/master d61f3ddc8 -> 066b15f3b


Fixed up 'deployment' docs in README.md. Restored 'gulp build' command in lieu of 'npm run serve' command. Tested and fixed suggested deployment commands. Removed redundant text.


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

Branch: refs/heads/master
Commit: a08fe2eb086c5f1d7f224659b92975381a7159dd
Parents: d61f3dd
Author: Dmitry Blotsky <dm...@gmail.com>
Authored: Tue Sep 12 20:21:44 2017 -0400
Committer: Dmitry Blotsky <dm...@gmail.com>
Committed: Tue Sep 12 20:21:44 2017 -0400

----------------------------------------------------------------------
 README.md | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a08fe2eb/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 031e69f..ef0aaca 100644
--- a/README.md
+++ b/README.md
@@ -216,32 +216,33 @@ This section requires basic knowledge of SVN. If you do not know how to use SVN,
 
 To build the full website and preview it in your browser, run:
 
-    npm run serve
+    node_modules/.bin/gulp build --prod
 
-A folder called `build-prod` will be created, and will contain the built website. Then, in a directory *outside* of the `cordova-docs` repository, check out the SVN repository that contains the currently deployed website by running the following command (committer access required):
+A folder called `build-prod` will be created, and will contain the built website. Then, in a directory *one level above* the `cordova-docs` repository, check out the SVN repository that contains the currently deployed website by running the following command (committer access required):
 
     cd ..
     svn checkout https://svn.apache.org/repos/asf/cordova/site cordova-website
-(Make sure to `svn checkout` on the same level that `cordova-docs` repo exists on.)
 
-From the `cordova-website` repo, run the following command:
-    
-    svn up
+Then, move into the `cordova-website` repository and synchronise it with the SVN server:
+
+    cd cordova-website
+    svn update
 
 Copy the `cordova-docs/build-prod/` directory to the `public` directory in SVN like so:
 
+    cd ..
     cp -R cordova-docs/build-prod/. cordova-website/public/
 
-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; no action required). To see just the `?` changes, run:
+Some files will be new (`?` in SVN, and need to be `svn add`ed) and some files will be changed (`M` in SVN; no action required). To see just the `?` changes, run:
 
+    cd cordova-website
     svn status | grep "?"
 
 Once you are satisfied that you have added the required changes, commit with a message:
 
     svn commit -m "Updated docs"
 
-
-The commit might take a while (up to 1 hour), depending on the number of files changed.
+**NOTE**: The commit might take a while (up to 1 hour), depending on the number of files changed.
 
 Working on the Documentation
 ============================


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


[2/2] docs commit: Removing incorrect instruction.

Posted by st...@apache.org.
Removing incorrect instruction.

 This closes #729


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

Branch: refs/heads/master
Commit: 066b15f3b305df83de4265a710953922d40ab29f
Parents: a08fe2e
Author: Dmitry Blotsky <dm...@gmail.com>
Authored: Tue Sep 12 20:34:29 2017 -0400
Committer: Steve Gill <st...@gmail.com>
Committed: Wed Sep 13 17:32:26 2017 -0700

----------------------------------------------------------------------
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/066b15f3/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index ef0aaca..85f89ed 100644
--- a/README.md
+++ b/README.md
@@ -214,7 +214,7 @@ Deploying
 
 This section requires basic knowledge of SVN. If you do not know how to use SVN, refer to [this tutorial][svn].
 
-To build the full website and preview it in your browser, run:
+To build the full website, run:
 
     node_modules/.bin/gulp build --prod
 


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