From 3f5ea96059a0d5045d7d9d14ad911931817fc480 Mon Sep 17 00:00:00 2001
From: shall0pass <20625555+shall0pass@users.noreply.github.com>
Date: Mon, 12 Dec 2022 10:23:40 -0600
Subject: [PATCH] replaced urls with github.io links

---
 packages/api/README.md                                    | 2 +-
 packages/desktop-client/src/components/FatalError.js      | 2 +-
 .../src/components/modals/CreateEncryptionKey.js          | 4 ++--
 .../src/components/modals/FixEncryptionKey.js             | 4 ++--
 .../desktop-client/src/components/modals/ManageRules.js   | 2 +-
 .../desktop-client/src/components/modals/WelcomeScreen.js | 8 ++++----
 packages/desktop-client/src/components/tutorial/Final.js  | 2 +-
 packages/desktop-client/src/components/tutorial/Intro.js  | 4 ++--
 packages/desktop-electron/menu.js                         | 2 +-
 packages/import-ynab5/README.md                           | 2 +-
 packages/loot-core/src/client/shared-listeners.js         | 4 ++--
 .../loot-design/src/components/manager/ImportYNAB5.js     | 2 +-
 packages/mobile/src/components/manager/Intro.js           | 2 +-
 .../mobile/src/components/modals/CreateEncryptionKey.js   | 4 ++--
 14 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/packages/api/README.md b/packages/api/README.md
index 5afab745d..b4870ac5e 100644
--- a/packages/api/README.md
+++ b/packages/api/README.md
@@ -2,4 +2,4 @@
 npm install @actual-app/api
 ```
 
-View docs here: https://actualbudget.com/docs/developers/using-the-API/
+View docs here: https://actualbudget.github.io/docs/Developers/using-the-API
diff --git a/packages/desktop-client/src/components/FatalError.js b/packages/desktop-client/src/components/FatalError.js
index 6666c8665..2b038ffb1 100644
--- a/packages/desktop-client/src/components/FatalError.js
+++ b/packages/desktop-client/src/components/FatalError.js
@@ -35,7 +35,7 @@ class FatalError extends React.Component {
         <Text>
           There was a problem loading the app in this browser version. If this
           continues to be a problem, you can{' '}
-          <a href="https://actualbudget.com/download">
+          <a href="https://github.com/actualbudget/releases">
             download the desktop app
           </a>
           .
diff --git a/packages/desktop-client/src/components/modals/CreateEncryptionKey.js b/packages/desktop-client/src/components/modals/CreateEncryptionKey.js
index c1c0619ef..34a2cf3ec 100644
--- a/packages/desktop-client/src/components/modals/CreateEncryptionKey.js
+++ b/packages/desktop-client/src/components/modals/CreateEncryptionKey.js
@@ -70,7 +70,7 @@ export default function CreateEncryptionKey({
                 other devices will have to revert to this version of your data.{' '}
                 <ExternalLink
                   asAnchor
-                  href="https://actualbudget.com/encrypted-syncing"
+                  href="https://actualbudget.github.io/docs/Getting-Started/sync#end-to-end-encryption"
                 >
                   Learn more
                 </ExternalLink>
@@ -104,7 +104,7 @@ export default function CreateEncryptionKey({
                 will take you through that process on those devices.{' '}
                 <ExternalLink
                   asAnchor
-                  href="https://actualbudget.com/encrypted-syncing"
+                  href="https://actualbudget.github.io/docs/Getting-Started/sync#end-to-end-encryption"
                 >
                   Learn more
                 </ExternalLink>
diff --git a/packages/desktop-client/src/components/modals/FixEncryptionKey.js b/packages/desktop-client/src/components/modals/FixEncryptionKey.js
index 8f695e758..966e80e80 100644
--- a/packages/desktop-client/src/components/modals/FixEncryptionKey.js
+++ b/packages/desktop-client/src/components/modals/FixEncryptionKey.js
@@ -71,7 +71,7 @@ export default function FixEncryptionKey({
               Enter your current password to update your key.{' '}
               <ExternalLink
                 asAnchor
-                href="https://actualbudget.com/encrypted-syncing"
+                href="https://actualbudget.github.io/docs/Getting-Started/sync#end-to-end-encryption"
               >
                 Learn more
               </ExternalLink>
@@ -82,7 +82,7 @@ export default function FixEncryptionKey({
               the password for this file to create the key for encryption.{' '}
               <ExternalLink
                 asAnchor
-                href="https://actualbudget.com/encrypted-syncing"
+                href="https://actualbudget.github.io/docs/Getting-Started/sync#end-to-end-encryption"
               >
                 Learn more
               </ExternalLink>
diff --git a/packages/desktop-client/src/components/modals/ManageRules.js b/packages/desktop-client/src/components/modals/ManageRules.js
index 7216ab93f..93eb2a0f3 100644
--- a/packages/desktop-client/src/components/modals/ManageRules.js
+++ b/packages/desktop-client/src/components/modals/ManageRules.js
@@ -673,7 +673,7 @@ export default function ManageRules({ history, modalProps, payeeId }) {
                     Rules are always run in the order that you see them.{' '}
                     <ExternalLink
                       asAnchor={true}
-                      href="https://actualbudget.com/docs/other/rules/"
+                      href="https://actualbudget.github.io/docs/Budgeting/rules/"
                       style={{ color: colors.n4 }}
                     >
                       Learn more
diff --git a/packages/desktop-client/src/components/modals/WelcomeScreen.js b/packages/desktop-client/src/components/modals/WelcomeScreen.js
index b627230ac..6e63a868e 100644
--- a/packages/desktop-client/src/components/modals/WelcomeScreen.js
+++ b/packages/desktop-client/src/components/modals/WelcomeScreen.js
@@ -26,7 +26,7 @@ function WelcomeScreen({ modalProps, actions }) {
             Currently Actual implements budgeting based on a{' '}
             <ExternalLink
               asAnchor
-              href="https://actualbudget.com/how-it-works/"
+              href="https://actualbudget.github.io/docs/Budgeting/howitworks"
             >
               monthly envelope system
             </ExternalLink>
@@ -44,20 +44,20 @@ function WelcomeScreen({ modalProps, actions }) {
             }}
           >
             Read the{' '}
-            <ExternalLink asAnchor href="https://actualbudget.com/docs/">
+            <ExternalLink asAnchor href="https://actualbudget.github.io/docs/">
               documentation
             </ExternalLink>{' '}
             to get started and learn about{' '}
             <ExternalLink
               asAnchor
-              href="https://actualbudget.com/docs/budgeting/how-it-works/"
+              href="https://actualbudget.github.io/docs/Budgeting/howitworks"
             >
               budgeting
             </ExternalLink>
             ,{' '}
             <ExternalLink
               asAnchor
-              href="https://actualbudget.com/docs/accounts/overview/"
+              href="https://actualbudget.github.io/docs/Accounts/overview"
             >
               accounts
             </ExternalLink>{' '}
diff --git a/packages/desktop-client/src/components/tutorial/Final.js b/packages/desktop-client/src/components/tutorial/Final.js
index 7b11fb056..4c9377712 100644
--- a/packages/desktop-client/src/components/tutorial/Final.js
+++ b/packages/desktop-client/src/components/tutorial/Final.js
@@ -25,7 +25,7 @@ function Final({ targetRect, navigationProps }) {
 
       <P isLast={true}>
         Read{' '}
-        <ExternalLink asAnchor href="https://actualbudget.com/how-it-works/">
+        <ExternalLink asAnchor href="https://actualbudget.github.io/docs/Budgeting/howitworks">
           How it Works
         </ExternalLink>{' '}
         for an in-depth explanation of the budgeting workflow.
diff --git a/packages/desktop-client/src/components/tutorial/Intro.js b/packages/desktop-client/src/components/tutorial/Intro.js
index 2bb939639..7ca363542 100644
--- a/packages/desktop-client/src/components/tutorial/Intro.js
+++ b/packages/desktop-client/src/components/tutorial/Intro.js
@@ -26,14 +26,14 @@ function Intro({ fromYNAB, nextTutorialStage, closeTutorial }) {
         <Text>
           <ExternalLink
             asAnchor
-            href="https://actualbudget.com/getting-started/"
+            href="https://actualbudget.github.io/docs/category/getting-started"
           >
             Getting Started
           </ExternalLink>
           : A guide on what to do first
         </Text>
         <Text>
-          <ExternalLink asAnchor href="https://actualbudget.com/how-it-works/">
+          <ExternalLink asAnchor href="https://actualbudget.github.io/docs/Budgeting/howitworks">
             How it Works
           </ExternalLink>
           : An in-depth explanation of the budgeting workflow
diff --git a/packages/desktop-electron/menu.js b/packages/desktop-electron/menu.js
index f53096de0..bd797f2ce 100644
--- a/packages/desktop-electron/menu.js
+++ b/packages/desktop-electron/menu.js
@@ -202,7 +202,7 @@ function getMenu(isDev, createWindow) {
         {
           label: 'Learn More',
           click() {
-            shell.openExternal('https://actualbudget.com');
+            shell.openExternal('https://actualbudget.github.io/docs/');
           }
         }
       ]
diff --git a/packages/import-ynab5/README.md b/packages/import-ynab5/README.md
index f50b0a816..e76d30566 100644
--- a/packages/import-ynab5/README.md
+++ b/packages/import-ynab5/README.md
@@ -83,4 +83,4 @@ Once the import is complete, it may not show all the up-to-date information corr
 
 
 ## Contributions
-If you would like to contribute, check out the [documentation for the API](https://actualbudget.com/docs/developers/using-the-API/), specifically about [importers](https://actualbudget.com/docs/developers/using-the-API/#writing-data-importers). All of the available methods can be found [here](https://actualbudget.com/docs/developers/API/).
+If you would like to contribute, check out the [documentation for the API](https://actualbudget.github.io/docs/Developers/using-the-API), specifically about [importers](https://actualbudget.github.io/docs/Developers/using-the-API#writing-data-importers). All of the available methods can be found [here](https://actualbudget.github.io/docs/Developers/API).
diff --git a/packages/loot-core/src/client/shared-listeners.js b/packages/loot-core/src/client/shared-listeners.js
index 9492d83e5..f22386d1e 100644
--- a/packages/loot-core/src/client/shared-listeners.js
+++ b/packages/loot-core/src/client/shared-listeners.js
@@ -45,7 +45,7 @@ export function listenForSyncEvent(actions, store) {
     } else if (type === 'error') {
       let notif = null;
       let learnMore =
-        '[Learn more](https://actualbudget.com/docs/overview/syncing-across-devices/#debugging-sync-issues)';
+        '[Learn more](https://actualbudget.github.io/docs/Getting-Started/sync#debugging-sync-issues)';
 
       switch (subtype) {
         case 'out-of-sync':
@@ -95,7 +95,7 @@ export function listenForSyncEvent(actions, store) {
               'This happens rarely (if ever again). The internal syncing format ' +
               'has changed and you need to reset sync. This will upload data from ' +
               'this device and revert all other devices. ' +
-              '[Learn more about what this means](https://actualbudget.com/docs/overview/syncing-across-devices/#what-does-resetting-sync-mean).' +
+              '[Learn more about what this means](https://actualbudget.github.io/docs/Getting-Started/sync#what-does-resetting-sync-mean).' +
               '\n\nOld encryption keys are not migrated. If using ' +
               'encryption, [reset encryption here](#makeKey).',
             messageActions: {
diff --git a/packages/loot-design/src/components/manager/ImportYNAB5.js b/packages/loot-design/src/components/manager/ImportYNAB5.js
index 036a9495f..26b99d95a 100644
--- a/packages/loot-design/src/components/manager/ImportYNAB5.js
+++ b/packages/loot-design/src/components/manager/ImportYNAB5.js
@@ -70,7 +70,7 @@ function Import({ modalProps, availableImports }) {
             <P>
               <ExternalLink
                 asAnchor={true}
-                href="https://actualbudget.com/blog/importing-from-ynab"
+                href="https://actualbudget.github.io/docs/Getting-Started/migration/ynab5"
                 target="_blank"
               >
                 Read here
diff --git a/packages/mobile/src/components/manager/Intro.js b/packages/mobile/src/components/manager/Intro.js
index 672340f56..ac52b998d 100644
--- a/packages/mobile/src/components/manager/Intro.js
+++ b/packages/mobile/src/components/manager/Intro.js
@@ -138,7 +138,7 @@ class Intro extends React.Component {
                         Actual is a privacy-focused app that lets you track your
                         finances without all the fuss. Create your own budgeting
                         workflows quickly and discover your spending habits.{' '}
-                        <ExternalLink href="https://actualbudget.com/">
+                        <ExternalLink href="https://actualbudget.github.io/docs/">
                           Learn more
                         </ExternalLink>
                       </Text>
diff --git a/packages/mobile/src/components/modals/CreateEncryptionKey.js b/packages/mobile/src/components/modals/CreateEncryptionKey.js
index d978b06e3..8b2b50ab0 100644
--- a/packages/mobile/src/components/modals/CreateEncryptionKey.js
+++ b/packages/mobile/src/components/modals/CreateEncryptionKey.js
@@ -71,7 +71,7 @@ function CreateEncryptionKey({ route, navigation, actions }) {
             password whenever you set up a new device.{' '}
             <ExternalLink
               asAnchor
-              href="https://actualbudget.com/encrypted-syncing"
+              href="https://actualbudget.github.io/docs/Getting-Started/sync#end-to-end-encryption"
             >
               Learn more
             </ExternalLink>
@@ -85,7 +85,7 @@ function CreateEncryptionKey({ route, navigation, actions }) {
               through that process on those devices.{' '}
               <ExternalLink
                 asAnchor
-                href="https://actualbudget.com/encrypted-syncing"
+                href="https://actualbudget.github.io/docs/Getting-Started/sync#end-to-end-encryption"
               >
                 Learn more
               </ExternalLink>
-- 
GitLab