You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2018/02/27 19:47:04 UTC

[cordova-docs] branch master updated: Create updating-docs.md

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new 4188b66  Create updating-docs.md
4188b66 is described below

commit 4188b66d3da60676cad66d896635be8b8af0d290
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Tue Feb 27 20:47:00 2018 +0100

    Create updating-docs.md
---
 doc/updating-docs.md | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/doc/updating-docs.md b/doc/updating-docs.md
new file mode 100644
index 0000000..43b68a6
--- /dev/null
+++ b/doc/updating-docs.md
@@ -0,0 +1,23 @@
+## Updating `/docs`
+
+## Update latest (x.y) from `dev`
+
+Normal build doesn't update latest (7.x) from dev version of docs. You will need to do this manually using `gulp snapshot`. Read more [here](https://github.com/apache/cordova-docs/blob/master/gulpfile.js#L212).
+
+## Create new version of the docs
+
+To increment the documentation version (e.g. `X.X.X`, either use the gulp task:
+
+    gulp newversion --version X.X.X
+
+or manually run the `incrementversion.js` script:
+
+    node ./tools/bin/incrementversion.js www/docs X.X.X
+
+To only run for a specific language (__this should only happen when translation is intentionally left out for a given version__), specify the language to the Gulp task as follows:
+
+    gulp newversion --version X.X.X --language YY
+
+or manually, to the script, as follows:
+
+    node ./tools/bin/incrementversion.js www/docs X.X.X YY

-- 
To stop receiving notification emails like this one, please contact
janpio@apache.org.

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