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/03/01 19:17:22 UTC
[cordova-docs] 01/01: CB-13356 Rename `win8` to `windows`
This is an automated email from the ASF dual-hosted git repository.
janpio pushed a commit to branch janpio-CB-13356
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git
commit ffac38dae113ced8acce533689033e35854d55cb
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Thu Mar 1 20:17:05 2018 +0100
CB-13356 Rename `win8` to `windows`
- Rename files
- Add redirects
- Update en dev TOC
---
www/_data/redirects.yml | 8 ++++++++
www/_data/toc/en_dev-src.yml | 4 ++--
www/docs/en/dev/guide/platforms/{win8 => windows}/index.md | 0
www/docs/en/dev/guide/platforms/{win8 => windows}/plugin.md | 0
www/docs/en/dev/guide/platforms/{win8 => windows}/upgrade.md | 0
5 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/www/_data/redirects.yml b/www/_data/redirects.yml
index c85c474..bfc3adb 100644
--- a/www/_data/redirects.yml
+++ b/www/_data/redirects.yml
@@ -40,6 +40,14 @@ docs:
"dev/cordova/plugins/pluginapis.html": "deprecated.html"
"latest/cordova/plugins/pluginapis.html": "deprecated.html"
+ # Rename `cordova-windows` URLs from `win8` to `windows`
+ "dev/guide/platforms/win8/index.html": "dev/guide/platforms/windows/index.html"
+ "latest/guide/platforms/win8/index.html": "latest/guide/platforms/windows/index.html"
+ "dev/guide/platforms/win8/plugin.html": "dev/guide/platforms/windows/index.html"
+ "latest/guide/platforms/win8/plugin.html": "latest/guide/platforms/windows/index.html"
+ "dev/guide/platforms/win8/upgrade.html": "dev/guide/platforms/windows/index.html"
+ "latest/guide/platforms/win8/upgrade.html": "latest/guide/platforms/windows/index.html"
+
# Removing deprecated platforms and plugins
"dev/guide/platforms/blackberry10/home.html": "deprecated.html"
"latest/guide/platforms/blackberry10/home.html": "deprecated.html"
diff --git a/www/_data/toc/en_dev-src.yml b/www/_data/toc/en_dev-src.yml
index 2d9a4d8..f10dd44 100644
--- a/www/_data/toc/en_dev-src.yml
+++ b/www/_data/toc/en_dev-src.yml
@@ -13,8 +13,8 @@
children:
- url: guide/platforms/android/index.html
- url: guide/platforms/ios/index.html
+ - url: guide/platforms/windows/index.html
- url: guide/platforms/osx/index.html
- - url: guide/platforms/win8/index.html
- url: platform_plugin_versioning_ref/index.html
- url: config_ref/images.html
- url: cordova/storage/storage.html
@@ -30,7 +30,7 @@
children:
- url: guide/platforms/android/plugin.html
- url: guide/platforms/ios/plugin.html
- - url: guide/platforms/win8/plugin.html
+ - url: guide/platforms/windows/plugin.html
- url: plugin_ref/plugman.html
-
name: Advanced Topics
diff --git a/www/docs/en/dev/guide/platforms/win8/index.md b/www/docs/en/dev/guide/platforms/windows/index.md
similarity index 100%
rename from www/docs/en/dev/guide/platforms/win8/index.md
rename to www/docs/en/dev/guide/platforms/windows/index.md
diff --git a/www/docs/en/dev/guide/platforms/win8/plugin.md b/www/docs/en/dev/guide/platforms/windows/plugin.md
similarity index 100%
rename from www/docs/en/dev/guide/platforms/win8/plugin.md
rename to www/docs/en/dev/guide/platforms/windows/plugin.md
diff --git a/www/docs/en/dev/guide/platforms/win8/upgrade.md b/www/docs/en/dev/guide/platforms/windows/upgrade.md
similarity index 100%
rename from www/docs/en/dev/guide/platforms/win8/upgrade.md
rename to www/docs/en/dev/guide/platforms/windows/upgrade.md
--
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