Skip to content

Commit

Permalink
docs: fix static links (#13302)
Browse files Browse the repository at this point in the history
* docs: fix links

* more files
  • Loading branch information
m1ga committed Mar 4, 2022
1 parent b325695 commit ae68972
Show file tree
Hide file tree
Showing 35 changed files with 293 additions and 309 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p align="center"><a href="https://appcelerator.com" target="_blank"><img width="120" src=".github/logo-titanium.png"></a></p>
<p align="center"><a href="https://titaniumsdk.com" target="_blank"><img width="120" src=".github/logo-titanium.png"></a></p>

<h1 align="center">Titanium <a href="https://jenkins.appcelerator.org/job/titanium-sdk/job/titanium_mobile/job/master/" target="_blank"><img src="https://jenkins.appcelerator.org/buildStatus/icon?job=titanium-sdk/titanium_mobile/master" /></a></h1>

Expand Down Expand Up @@ -184,16 +184,12 @@ Community support and discussion about Titanium is available on Slack at [TiSlac

Please consider following [@Appcelerator](http://www.twitter.com/appcelerator) and [@AppcDev](https://twitter.com/AppcDev) on Twitter for updates.

### Blog

The Appcelerator blog is located at (http://www.appcelerator.com/blog).

### Commercial Support, Licensing

We give our software away for FREE! In order to do that, we have programs for
companies that require additional level of assistance through training or commercial support,
need special licensing or want additional levels of capabilities. Please visit the
[Appcelerator Website](http://www.appcelerator.com) for more information about Appcelerator or
[Appcelerator Website](http://www.titaniumsdk.com) for more information about Appcelerator or
email [info@appcelerator.com](mailto:info@appcelerator.com).

## Contributing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -902,10 +902,10 @@ public void open(String method, String url)
// The Android Uri doesn't seem to handle user ids with at-signs (@) in them
// properly, even if the @ is escaped. It will set the host (uri.getHost()) to
// the part of the user name after the @. For example, this Uri would get
// the host set to appcelerator.com when it should be mickey.com:
// http://testuser@appcelerator.com:password@mickey.com/xx
// the host set to example.com when it should be mickey.com:
// http://testuser@example.com:password@mickey.com/xx
// ... even if that first one is escaped to ...
// http://testuser%40appcelerator.com:password@mickey.com/xx
// http://testuser%40example.com:password@mickey.com/xx
// Tests show that Java URL handles it properly, however. So revert to using Java URL.getHost()
// if we see that the Uri.getUserInfo has an at-sign in it.
// Also, uri.getPort() will throw an exception as it will try to parse what it thinks is the port
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
/**
* This is the parent class of all proxies. A proxy is a dynamic object that can be created or
* queried by the user through a module or another proxy's API. When you create a native view with
* <a href="http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.createView-method.html">Titanium.UI.createView </a>,
* <a href="https://titaniumsdk.com/api/titanium/ui.html#createview">Titanium.UI.createView </a>,
* the view object is a proxy itself.
*/
@Kroll.proxy(name = "KrollProxy", propertyAccessors = { KrollProxy.PROPERTY_HAS_JAVA_LISTENER })
Expand Down
2 changes: 1 addition & 1 deletion apidoc/Global/Global.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ methods:
3. Initialize the module with the `require` method by passing the module ID to the method.
For detailed instructions, refer to
[Using a Module](https://docs.appcelerator.com/platform/latest/#!/guide/Using_a_Module).
[Using a Module](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Using_Modules/Using_a_Module.html).
#### CommonJS Module
Expand Down
6 changes: 3 additions & 3 deletions apidoc/Titanium/Android/ActionBar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ description: |
to true disables the Action Bar since it is part of the navigation title bar.
For more examples on using the Action Bar, refer to the
[Android Action Bar guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Action_Bar).
[Android Action Bar guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/Android_UI_Components_and_Conventions/Android_Action_Bar.html).
#### Application Notes for Alloy
Expand Down Expand Up @@ -123,7 +123,7 @@ methods:
[setDisplayShowHomeEnabled](https://developer.android.com/reference/android/app/ActionBar.html#setDisplayShowHomeEnabled(boolean))
in the Android API Reference.
since: "3.3.0"

- name: setDisplayShowTitleEnabled
summary: Shows or hides the action bar title/subtitle
parameters:
Expand All @@ -135,7 +135,7 @@ methods:
[setDisplayShowTitleEnabled](https://developer.android.com/reference/android/app/ActionBar.html#setDisplayShowTitleEnabled(boolean))
in the Android API Reference.
since: "3.3.0"

- name: show
summary: Shows the action bar if it is currently hidden.
description: |
Expand Down
4 changes: 2 additions & 2 deletions apidoc/Titanium/Android/Android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ description: |
mode changes.
For more information about broadcasts, see the
[Android Broadcast Intents and Receivers guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Broadcast_Intents_and_Receivers)
[Android Broadcast Intents and Receivers guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Broadcast_Intents_and_Receivers.html)
and [Titanium.Android.BroadcastReceiver API reference](Titanium.Android.BroadcastReceiver).
#### Intents
Expand All @@ -54,7 +54,7 @@ description: |
can define intent filters to let Android know your application can handle those data types.
For more information about intent filters, see the
[Android Intent Filters guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Intent_Filters).
[Android Intent Filters guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Intent_Filters.html).
#### Notifications
Expand Down
2 changes: 1 addition & 1 deletion apidoc/Titanium/Android/BroadcastReceiver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ description: |
Further Reading:
* [Android Broadcast Intents and Receivers guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Broadcast_Intents_and_Receivers)
* [Android Broadcast Intents and Receivers guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Broadcast_Intents_and_Receivers.html#create-a-broadcast-intent)
* [Android Developers: Broadcast Receivers](https://developer.android.com/reference/android/content/BroadcastReceiver.html).
Expand Down
6 changes: 3 additions & 3 deletions apidoc/Titanium/Android/Intent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: |
To receive an intent, an application needs to declare an Intent Filter. An intent filter
indicates to the Android OS that your application can handle certain data types or URIs.
For details on using Intent Filters, see the
[Android Intent Filters guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Intent_Filters).
[Android Intent Filters guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Intent_Filters.html).
Intents can be used to start an activity, start a service or start a broadcast.
Expand Down Expand Up @@ -101,7 +101,7 @@ description: |
#### Further Reading
* [Android Intents guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Intents)
* [Android Intents guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Intent_Filters.html)
* [Android Developer: Intent](https://developer.android.com/reference/android/content/Intent.html)
extends: Titanium.Proxy
Expand Down Expand Up @@ -346,7 +346,7 @@ examples:
After copying the default root activity of your application from the `AndroidManifest.xml`
file to the Android manifest section of the `tiapp.xml` file, add an intent filter.
For detailed instructions, refer to the
[Android Intent Filters guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Intent_Filters).
[Android Intent Filters guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Intent_Filters.html).
You can trigger this intent filter by long pressing on an image in the Android gallery
and selecting "share".
Expand Down
2 changes: 1 addition & 1 deletion apidoc/Titanium/Android/Menu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ description: |
On Android 3.0 and later, menu items can be displayed as _action items_ in the action
bar. To enable this, the application must be built with a theme that supports the
action bar, such as the Holo theme. (See
[Android Themes](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Themes) in
[Android Themes](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Deep_Dives/Android_UI_Components_and_Conventions/Android_Themes.html) in
the Titanium Guides for information on setting your application's theme.)
For menu items displayed in the menu, the `onCreateOptionsMenu` function is called
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |
Further Reading:
* [Android Notifications guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Notifications)
* [Android Notifications guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Notification_Services/Android_Notifications.html)
* [Android Developer: Notifications](https://developer.android.com/guide/topics/ui/notifiers/notifications.html)
extends: Titanium.Module
platforms: [android]
Expand Down
14 changes: 7 additions & 7 deletions apidoc/Titanium/Android/Service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ description: |
Further Reading:
* [Android Services guide](https://docs.appcelerator.com/platform/latest/#!/guide/Android_Services)
* [Android Services guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/Android_API_Deep_Dives/Android_Services.html)
* [Android Developer: Service](https://developer.android.com/reference/android/app/Service.html)
### Background Location Service Example
In order to obtain location events while the application is backgrounded a foreground service must be used.
Below is an example of a simple background location service.
Expand Down Expand Up @@ -81,10 +81,10 @@ description: |
// Set accuracy to high
Ti.Geolocation.accuracy = Ti.Geolocation.ACCURACY_HIGH;
// Enable manual configuration via location providers.
Ti.Geolocation.Android.manualMode = true;
// Define a location provider.
Ti.Geolocation.Android.addLocationProvider(
Ti.Geolocation.Android.createLocationProvider({
Expand All @@ -93,7 +93,7 @@ description: |
minUpdateTime: 5000
})
);
function getLocation () {
// Create location event listener.
Expand Down Expand Up @@ -141,7 +141,7 @@ description: |
backgroundServiceBtn.title = 'START BACKGROUND SERVICE';
}
}
win.addEventListener('open', () => {
// Request location permissions.
Expand Down Expand Up @@ -178,7 +178,7 @@ description: |
stopBackgroundLocationService();
}
});
win.add([backgroundServiceBtn, listView]);
win.open();
```
Expand Down
10 changes: 5 additions & 5 deletions apidoc/Titanium/App/App.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ description: |
This can lead to memory leaks if application-level event listeners are added and not
removed.
See also: [Event Handling](https://docs.appcelerator.com/platform/latest/#!/guide/Event_Handling)
See also: [Event Handling](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/User_Interface_Fundamentals/Event_Handling.html)
in the Titanium Mobile Guides.
#### System Level Accessibility Events
Expand Down Expand Up @@ -291,7 +291,7 @@ events:
- name: backtrace
summary: The backtrace of function calls when the error occurred.
type: String
deprecated:
deprecated:
since: "8.0.0"
removed: "8.0.0"
notes: Use the `stack` property instead.
Expand All @@ -311,23 +311,23 @@ events:
- name: lineOffset
summary: The offset on the line where the error occurred. (Deprecated since 9.0.0. Use `column` instead.)
type: Number
deprecated:
deprecated:
since: "9.0.0"
notes: Use `column` property for cross-platform parity.
platforms: [android]
- name: javascriptStack
summary: The javascript stack trace of the exception. (Deprecated since 9.0.0. Use `stack` instead.)
type: String
since: "8.0.0"
deprecated:
deprecated:
since: "9.0.0"
notes: Use `stack` property for cross-platform parity.
platforms: [android]
- name: javaStack
summary: The java stack trace of the exception. (Deprecated since 9.0.0. Use `nativeStack` instead.)
type: String
since: "8.0.0"
deprecated:
deprecated:
since: "9.0.0"
notes: Use `nativeStack` property for cross-platform parity.
platforms: [android]
Expand Down
8 changes: 4 additions & 4 deletions apidoc/Titanium/App/iOS/iOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ description: |
notification.
For instructions on sending local interactive notifications, see the
[iOS Local Notifications guide](https://docs.appcelerator.com/platform/latest/#!/guide/iOS_Local_Notifications).
[iOS Local Notifications guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Notification_Services/iOS_Local_Notifications.html).
### Local Interactive Notifications
Expand All @@ -41,15 +41,15 @@ description: |
4. Monitor the [localnotificationaction](Titanium.App.iOS.localnotificationaction) event.
For instructions on sending local interactive notifications, see the
[iOS Local Notifications guide](https://docs.appcelerator.com/platform/latest/#!/guide/iOS_Local_Notifications).
[iOS Local Notifications guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Notification_Services/iOS_Local_Notifications.html).
### Background Downloads
In iOS 7, Apple introduced new background execution modes which allow the application to download
content in the background. These background modes are supported in Titanium SDK 3.2.0 and later.
For more information on getting started, refer to the
[iOS Background Services guide](https://docs.appcelerator.com/platform/latest/#!/guide/iOS_Background_Services).
[iOS Background Services guide](https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Platform_API_Deep_Dives/iOS_API_Deep_Dives/iOS_Background_Services.html).
### Handoff User Activities
Expand Down Expand Up @@ -1258,7 +1258,7 @@ events:
summary: |
The response text for [task](Modules.URLSession.task) and [uploadTask](Modules.URLSession.uploadTask).
This property does not exhist for download task. For download task response,
use [downloadcompleted](Titanium.App.iOS.downloadcompleted) event.
use [downloadcompleted](Titanium.App.iOS.downloadcompleted) event.
type: String
since: "7.2.0"

Expand Down
Loading

0 comments on commit ae68972

Please sign in to comment.