From cdd03370a5f7c9be97c3a7b45e3ca24e9ea95b44 Mon Sep 17 00:00:00 2001 From: Dan Imhoff Date: Wed, 24 Jun 2020 14:25:07 -0700 Subject: [PATCH] chore: update site links (#3152) --- README.md | 6 +++--- .../capacitor/src/main/java/com/getcapacitor/Splash.java | 2 +- .../CordovaPluginsResources.podspec | 4 ++-- cli/src/common.ts | 4 ++-- cli/src/tasks/add.ts | 2 +- cli/test/util.ts | 2 +- core/README.md | 2 +- example/src/pages/app/app.html | 2 +- ios/Capacitor.podspec | 2 +- ios/Capacitor/Capacitor/CAPBridge.swift | 2 +- ios/Capacitor/Capacitor/Plugins/SplashScreen.swift | 2 +- ios/CapacitorCordova.podspec | 2 +- plugin-template/ios/Plugin/Plugin.swift | 2 +- 13 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index d7b333171..857209e6c 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@

- +

@@ -61,11 +61,11 @@ Capacitor and Cordova differ in that Capacitor: - treats native projects as source artifacts as opposed to build artifacts - is maintained by the Ionic Team itself 💙😊 -See [the docs](https://capacitor.ionicframework.com/docs/cordova#differences-between-capacitor-and-cordova) for more details. +See [the docs](https://capacitorjs.com/docs/cordova#differences-between-capacitor-and-cordova) for more details. #### Do I need to use Ionic Framework with Capacitor? -No, you do not need to use Ionic Framework with Capacitor. Without the Ionic Framework, you may need to implement Native UI yourself. Without the Ionic CLI, you may need to configure tooling yourself to enable features such as [livereload](https://ionicframework.com/docs/cli/livereload). See [the docs](https://capacitor.ionicframework.com/docs/getting-started/with-ionic) for more details. +No, you do not need to use Ionic Framework with Capacitor. Without the Ionic Framework, you may need to implement Native UI yourself. Without the Ionic CLI, you may need to configure tooling yourself to enable features such as [livereload](https://ionicframework.com/docs/cli/livereload). See [the docs](https://capacitorjs.com/docs/getting-started/with-ionic) for more details. ## Contributing diff --git a/android/capacitor/src/main/java/com/getcapacitor/Splash.java b/android/capacitor/src/main/java/com/getcapacitor/Splash.java index 587e60244..4fca9d3b6 100644 --- a/android/capacitor/src/main/java/com/getcapacitor/Splash.java +++ b/android/capacitor/src/main/java/com/getcapacitor/Splash.java @@ -326,7 +326,7 @@ public static void hide(Context c, final int fadeOutDuration, boolean isLaunchSp if(isLaunchSplash && isVisible) { Logger.debug("SplashScreen was automatically hidden after the launch timeout. " + "You should call `SplashScreen.hide()` as soon as your web app is loaded (or increase the timeout)." + - "Read more at https://capacitor.ionicframework.com/docs/apis/splash-screen/#hiding-the-splash-screen"); + "Read more at https://capacitorjs.com/docs/apis/splash-screen#hiding-the-splash-screen"); } if (isHiding || splashImage == null || splashImage.getParent() == null) { diff --git a/capacitor-cordova-ios-plugins/CordovaPluginsResources.podspec b/capacitor-cordova-ios-plugins/CordovaPluginsResources.podspec index e8f9f8197..08263643c 100644 --- a/capacitor-cordova-ios-plugins/CordovaPluginsResources.podspec +++ b/capacitor-cordova-ios-plugins/CordovaPluginsResources.podspec @@ -4,8 +4,8 @@ Pod::Spec.new do |s| s.summary = 'Resources for Cordova plugins' s.social_media_url = 'https://twitter.com/capacitorjs' s.license = 'MIT' - s.homepage = 'https://capacitor.ionicframework.com/' + s.homepage = 'https://capacitorjs.com/' s.authors = { 'Ionic Team' => 'hi@ionicframework.com' } s.source = { :git => 'https://github.com/ionic-team/capacitor.git', :tag => s.version.to_s } s.resources = ['resources/*'] -end \ No newline at end of file +end diff --git a/cli/src/common.ts b/cli/src/common.ts index 078a9c655..c409fc2d5 100644 --- a/cli/src/common.ts +++ b/cli/src/common.ts @@ -32,7 +32,7 @@ export async function checkWebDir(config: Config): Promise { Please create it and make sure it has an index.html file. You can change the path of this directory in capacitor.config.json (webDir option). You may need to compile the web assets for your app (typically 'npm run build'). - More info: https://capacitor.ionicframework.com/docs/basics/building-your-app`; + More info: https://capacitorjs.com/docs/basics/building-your-app`; } if (!await existsAsync(join(config.app.webDirAbs, 'index.html'))) { @@ -377,7 +377,7 @@ export async function printNextSteps(config: Config, appDir: string) { log(` npx cap add ios`); log(` npx cap add electron`); log(''); - log(`Follow the Developer Workflow guide to get building:\n${chalk.bold(`https://capacitor.ionicframework.com/docs/basics/workflow`)}\n`); + log(`Follow the Developer Workflow guide to get building:\n${chalk.bold(`https://capacitorjs.com/docs/basics/workflow`)}\n`); } export async function getCoreVersion(config: Config): Promise { diff --git a/cli/src/tasks/add.ts b/cli/src/tasks/add.ts index 3564ffcae..e49d91372 100644 --- a/cli/src/tasks/add.ts +++ b/cli/src/tasks/add.ts @@ -121,5 +121,5 @@ function webWarning() { logError(`Not adding platform ${chalk.bold('web')}`); log(`\nIn Capacitor, the 'web' platform is just your web app!`); log(`For example, if you have a React or Angular project, the 'web' platform is that project.`); - log(`To add Capacitor functionality to your web app, follow the Web Getting Started Guide: https://capacitor.ionicframework.com/docs/web/`); + log(`To add Capacitor functionality to your web app, follow the Web Getting Started Guide: https://capacitorjs.com/docs/web`); } diff --git a/cli/test/util.ts b/cli/test/util.ts index 3eb87c2f6..6a7adcbce 100644 --- a/cli/test/util.ts +++ b/cli/test/util.ts @@ -162,7 +162,7 @@ Pod::Spec.new do |s| s.summary = 'Resources for Cordova plugins' s.social_media_url = 'https://twitter.com/capacitorjs' s.license = 'MIT' - s.homepage = 'https://capacitor.ionicframework.com/' + s.homepage = 'https://capacitorjs.com/' s.authors = { 'Ionic Team' => 'hi@ionicframework.com' } s.source = { :git => 'https://github.com/ionic-team/capacitor.git', :tag => s.version.to_s } s.resources = ['resources/*'] diff --git a/core/README.md b/core/README.md index 2d8c2cf7f..e877ef3ae 100644 --- a/core/README.md +++ b/core/README.md @@ -1,3 +1,3 @@ # Capacitor Core JS -See [Capacitor Docs](https://ionic-team.github.com/capacitor) for more information. +See the [Capacitor website](https://capacitorjs.com) for more information. diff --git a/example/src/pages/app/app.html b/example/src/pages/app/app.html index 409bb6dd3..fda14dd27 100644 --- a/example/src/pages/app/app.html +++ b/example/src/pages/app/app.html @@ -15,7 +15,7 @@

Telephone Test Email Test - Read more + Read more

diff --git a/ios/Capacitor.podspec b/ios/Capacitor.podspec index 5a9914dc1..74e2b9813 100644 --- a/ios/Capacitor.podspec +++ b/ios/Capacitor.podspec @@ -6,7 +6,7 @@ Pod::Spec.new do |s| s.summary = 'Capacitor for iOS' s.social_media_url = 'https://twitter.com/capacitorjs' s.license = 'MIT' - s.homepage = 'https://capacitor.ionicframework.com/' + s.homepage = 'https://capacitorjs.com/' s.ios.deployment_target = '11.0' s.authors = { 'Ionic Team' => 'hi@ionicframework.com' } s.source = { :git => 'https://github.com/ionic-team/capacitor.git', :tag => s.version.to_s } diff --git a/ios/Capacitor/Capacitor/CAPBridge.swift b/ios/Capacitor/Capacitor/CAPBridge.swift index 0fd3a5dfc..d2bbe9f6b 100644 --- a/ios/Capacitor/Capacitor/CAPBridge.swift +++ b/ios/Capacitor/Capacitor/CAPBridge.swift @@ -12,7 +12,7 @@ enum BridgeError: Error { var tmpWindow: UIWindow? @objc public static let statusBarTappedNotification = Notification(name: Notification.Name(rawValue: "statusBarTappedNotification")) @objc public static let tmpVCAppeared = Notification(name: Notification.Name(rawValue: "tmpViewControllerAppeared")) - public static var CAP_SITE = "https://capacitor.ionicframework.com/" + public static var CAP_SITE = "https://capacitorjs.com/" public static var CAP_FILE_START = "/_capacitor_file_" public static let CAP_DEFAULT_SCHEME = "capacitor" diff --git a/ios/Capacitor/Capacitor/Plugins/SplashScreen.swift b/ios/Capacitor/Capacitor/Plugins/SplashScreen.swift index 98022ec83..60894104d 100644 --- a/ios/Capacitor/Capacitor/Plugins/SplashScreen.swift +++ b/ios/Capacitor/Capacitor/Plugins/SplashScreen.swift @@ -196,7 +196,7 @@ public class CAPSplashScreenPlugin: CAPPlugin { if isLaunchSplash, isVisible { CAPLog.print("SplashScreen.hideSplash: SplashScreen was automatically hidden after default timeout. " + "You should call `SplashScreen.hide()` as soon as your web app is loaded (or increase the timeout). " + - "Read more at https://capacitor.ionicframework.com/docs/apis/splash-screen/#hiding-the-splash-screen") + "Read more at https://capacitorjs.com/docs/apis/splash-screen#hiding-the-splash-screen") } if !isVisible { return } DispatchQueue.main.async { diff --git a/ios/CapacitorCordova.podspec b/ios/CapacitorCordova.podspec index 2a6f691c4..04c35736a 100644 --- a/ios/CapacitorCordova.podspec +++ b/ios/CapacitorCordova.podspec @@ -5,7 +5,7 @@ Pod::Spec.new do |s| s.module_name = 'Cordova' s.version = package['version'] s.summary = "Capacitor Cordova Compatibility Layer" - s.homepage = "https://ionic-team.github.io/capacitor" + s.homepage = "https://capacitorjs.com" s.license = 'MIT' s.authors = { 'Ionic Team' => 'hi@ionicframework.com' } s.source = { :git => 'https://github.com/ionic-team/capacitor', :tag => s.version.to_s } diff --git a/plugin-template/ios/Plugin/Plugin.swift b/plugin-template/ios/Plugin/Plugin.swift index e5fc3c43b..287b53601 100644 --- a/plugin-template/ios/Plugin/Plugin.swift +++ b/plugin-template/ios/Plugin/Plugin.swift @@ -3,7 +3,7 @@ import Capacitor /** * Please read the Capacitor iOS Plugin Development Guide - * here: https://capacitor.ionicframework.com/docs/plugins/ios + * here: https://capacitorjs.com/docs/plugins/ios */ @objc(CLASS_NAME) public class CLASS_NAME: CAPPlugin {