This is an automated email from the ASF dual-hosted git repository.
carlosrovira pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git
The following commit(s) were added to refs/heads/master by this push:
new 81e31f6 refactor migrating pages since tree and linking was
generating strange results
81e31f6 is described below
commit 81e31f6fc35c97b18beaacf05fe315163a9c568d
Author: Carlos Rovira <[email protected]>
AuthorDate: Thu Jan 2 13:56:34 2020 +0100
refactor migrating pages since tree and linking was generating strange
results
---
_data/toc.json | 10 +++++-----
create-an-application.md | 2 +-
.../migrate-an-existing-app.md => migrate-an-existing-app.md | 6 +++---
.../circular-dependencies.md | 2 +-
.../flex-equivalents.md | 2 +-
.../migrate-from-flex.md | 4 ++--
.../migrate-from-js.md | 2 +-
.../renaming-of-properties.md | 2 +-
8 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/_data/toc.json b/_data/toc.json
index a53bf5b..3213360 100644
--- a/_data/toc.json
+++ b/_data/toc.json
@@ -329,19 +329,19 @@
]
},
{
- "path": "create-an-application/migrate-an-existing-app.md",
+ "path": "migrate-an-existing-app.md",
"children": [
{
- "path":
"create-an-application/migrate-an-existing-app/circular-dependencies.md"
+ "path": "migrate-an-existing-app/circular-dependencies.md"
},
{
- "path":
"create-an-application/migrate-an-existing-app/migrate-from-flex.md"
+ "path": "migrate-an-existing-app/migrate-from-flex.md"
},
{
- "path":
"create-an-application/migrate-an-existing-app/flex-equivalents.md"
+ "path": "migrate-an-existing-app/flex-equivalents.md"
},
{
- "path":
"create-an-application/migrate-an-existing-app/migrate-from-js.md"
+ "path": "migrate-an-existing-app/migrate-from-js.md"
}
]
},
diff --git a/create-an-application.md b/create-an-application.md
index 51acd74..5850998 100644
--- a/create-an-application.md
+++ b/create-an-application.md
@@ -32,7 +32,7 @@ This document is divided into several sections:
[Application Tutorial](create-an-application/application-tutorial) is a
step-by-step example of building an application.
-[Migrate an Existing App](create-an-application/migrate-an-existing-app)
provides strategies and techniques when migrating existing Flex apps to Royale,
and how to switch to Royale if you already have a Javascript application.
+[Migrate an Existing App](migrate-an-existing-app) provides strategies and
techniques when migrating existing Flex apps to Royale, and how to switch to
Royale if you already have a Javascript application.
[Security](create-an-application/security) provides more information about
making sure hackers can't use your app to be malicous and about dealing with
common security restrictions when your app wants to access external resources.
diff --git a/create-an-application/migrate-an-existing-app.md
b/migrate-an-existing-app.md
similarity index 82%
rename from create-an-application/migrate-an-existing-app.md
rename to migrate-an-existing-app.md
index 01b0977..8e5fdc2 100644
--- a/create-an-application/migrate-an-existing-app.md
+++ b/migrate-an-existing-app.md
@@ -17,7 +17,7 @@
layout: docpage
title: Migrate an existing application
description: Move from other technologies to Royale
-permalink: /create-an-application/migrate-an-existing-app
+permalink: /migrate-an-existing-app
---
# Migrate an existing application
@@ -26,7 +26,7 @@ Move from other technologies to Royale
If you have an existing application and want to start using Royale to extend
or maintain it, the following documents may help you.
-* [Migrate From
Flex](create-an-application/migrate-an-existing-app/migrate-from-flex)
+* [Migrate From Flex](migrate-an-existing-app/migrate-from-flex)
-* [Migrate from
JavaScript](create-an-application/migrate-an-existing-app/migrate-from-js)
+* [Migrate from JavaScript](migrate-an-existing-app/migrate-from-js)
diff --git
a/create-an-application/migrate-an-existing-app/circular-dependencies.md
b/migrate-an-existing-app/circular-dependencies.md
similarity index 98%
rename from
create-an-application/migrate-an-existing-app/circular-dependencies.md
rename to migrate-an-existing-app/circular-dependencies.md
index 80830ed..65d10e1 100644
--- a/create-an-application/migrate-an-existing-app/circular-dependencies.md
+++ b/migrate-an-existing-app/circular-dependencies.md
@@ -17,7 +17,7 @@
layout: docpage
title: Circular dependencies
description: Refactoring code to remove circular dependencies
-permalink: /create-an-application/migrate-an-existing-app/circular-dependencies
+permalink: /migrate-an-existing-app/circular-dependencies
---
# Circular dependencies
diff --git a/user-interface/flex-equivalents.md
b/migrate-an-existing-app/flex-equivalents.md
similarity index 98%
rename from user-interface/flex-equivalents.md
rename to migrate-an-existing-app/flex-equivalents.md
index e416aa4..9c21a42 100644
--- a/user-interface/flex-equivalents.md
+++ b/migrate-an-existing-app/flex-equivalents.md
@@ -8,7 +8,7 @@
layout: docpage
title: Flex equivalents in Royale
description: Working with Royale is _almost_, but _not quite_, like working
with Flex
-permalink: /user-interface/flex-equivalents
+permalink: /migrate-an-existing-app/flex-equivalents
---
# Flex equivalents in Royale
diff --git a/create-an-application/migrate-an-existing-app/migrate-from-flex.md
b/migrate-an-existing-app/migrate-from-flex.md
similarity index 97%
rename from create-an-application/migrate-an-existing-app/migrate-from-flex.md
rename to migrate-an-existing-app/migrate-from-flex.md
index c5d84e2..79b6c05 100644
--- a/create-an-application/migrate-an-existing-app/migrate-from-flex.md
+++ b/migrate-an-existing-app/migrate-from-flex.md
@@ -17,7 +17,7 @@
layout: docpage
title: Migrate from Flex
description: Migrate an app from Flex to Royale
-permalink: /create-an-application/migrate-an-existing-app/migrate-from-flex
+permalink: /migrate-an-existing-app/migrate-from-flex
---
<!-- This is from material created by Peter Ent and modified by Tom Chiverton:
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=34013930 -->
@@ -81,7 +81,7 @@ If you get errors about a component or API not found, it is
likely that the emul
You may see a warning about the use of "public var". As we mention in the
tutorial, Royale uses a optimizing compiler for JavaScript output that renames
variables to save on download size. That generally works fine unless the public
vars represent fields in an object from an external source, like a JSON object
or some other server result. You may need to change the public var to a getter
and/or setter. Or you can suppress the warning by using the
@royalesuppresspublicvarwarning directive.
-You may see at the end of the compile output that says "namespace not provided
yet". If you see that, ensure that the -remove-circulars compiler option is on.
It should be on by default. If you still see that message, ask on the mailing
list for assistance. More about circular dependencies can be found
[here](create-an-application/migrate-an-existing-app/circular-dependencies.html)
+You may see at the end of the compile output that says "namespace not provided
yet". If you see that, ensure that the -remove-circulars compiler option is on.
It should be on by default. If you still see that message, ask on the mailing
list for assistance. More about circular dependencies can be found
[here](migrate-an-existing-app/circular-dependencies.html)
## Running the migrated app after a successful compile
diff --git a/create-an-application/migrate-an-existing-app/migrate-from-js.md
b/migrate-an-existing-app/migrate-from-js.md
similarity index 98%
rename from create-an-application/migrate-an-existing-app/migrate-from-js.md
rename to migrate-an-existing-app/migrate-from-js.md
index 4911583..1214f35 100644
--- a/create-an-application/migrate-an-existing-app/migrate-from-js.md
+++ b/migrate-an-existing-app/migrate-from-js.md
@@ -17,7 +17,7 @@
layout: docpage
title: Migrate from JavaScript
description: Improve your JS development experience
-permalink: /create-an-application/migrate-an-existing-app/migrate-from-js
+permalink: /migrate-an-existing-app/migrate-from-js
---
<!-- Based on material written for FlexJS by Peter Ent and modified by Tom
Chiverton -->
diff --git
a/create-an-application/migrate-an-existing-app/renaming-of-properties.md
b/migrate-an-existing-app/renaming-of-properties.md
similarity index 92%
rename from
create-an-application/migrate-an-existing-app/renaming-of-properties.md
rename to migrate-an-existing-app/renaming-of-properties.md
index ebd2ad4..ec6cb62 100644
--- a/create-an-application/migrate-an-existing-app/renaming-of-properties.md
+++ b/migrate-an-existing-app/renaming-of-properties.md
@@ -17,7 +17,7 @@
layout: docpage
title: Renaming of properties
description: Renaming of properties
-permalink:
/create-an-application/migrate-an-existing-app/renaming-of-properties
+permalink: /migrate-an-existing-app/renaming-of-properties
---
# Renaming of properties