Skip to content

Commit

Permalink
Updating the URLs to point at new domain name reactnative.dev
Browse files Browse the repository at this point in the history
Summary:
We recently updated React Native's docs site to have its own domain reactnative.dev and needed to update the URLs in the source code

CHANGELOG:
[INTERNAL]

Reviewed By: hramos

Differential Revision: D20072842

fbshipit-source-id: 1970d9214c872a6e7abf697d99f8f5360b3b308e
  • Loading branch information
rachelnabors authored and facebook-github-bot committed Feb 24, 2020
1 parent 796a4ea commit c0d8c1d
Show file tree
Hide file tree
Showing 79 changed files with 384 additions and 387 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ labels: 'Needs: Triage :mag:'
Description:

Please provide a clear and concise description of what the bug is. Include screenshots if needed.
Please test using the latest React Native release to make sure your issue has not already been fixed: http://facebook.github.io/react-native/docs/upgrading.html
Please test using the latest React Native release to make sure your issue has not already been fixed: https://reactnative.dev/docs/upgrading.html


React Native version:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ contact_links:
url: https://github.com/facebook/react-native-website/issues
about: Please report documentation issues in the React Native website repository.
- name: 🤔 Questions and Help
url: https://facebook.github.io/react-native/help
url: https://reactnative.dev/help
about: Looking for help with your app? Please refer to the React Native community's support resources.
- name: 🚀 Discussions and Proposals
url: https://github.com/react-native-community/discussions-and-proposals
Expand Down
2 changes: 1 addition & 1 deletion .github/SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ If you want to participate in casual discussions about the use of React Native,
- [React Native Community Facebook Group](https://www.facebook.com/groups/react.native.community)


> For a full list of community resources, check out [React Native's Community page](https://facebook.github.io/react-native/help).
> For a full list of community resources, check out [React Native's Community page](https://reactnative.dev/help).
2 changes: 1 addition & 1 deletion Libraries/ART/React-ART.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Pod::Spec.new do |s|
s.name = "React-ART"
s.version = version
s.summary = "A library for drawing vector graphics."
s.homepage = "http://facebook.github.io/react-native/"
s.homepage = "https://reactnative.dev/"
s.license = package["license"]
s.author = "Facebook, Inc. and its affiliates"
s.platforms = { :ios => "10.0", :tvos => "10.0" }
Expand Down
6 changes: 3 additions & 3 deletions Libraries/ActionSheetIOS/ActionSheetIOS.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const processColor = require('../StyleSheet/processColor');
/**
* Display action sheets and share sheets on iOS.
*
* See http://facebook.github.io/react-native/docs/actionsheetios.html
* See https://reactnative.dev/docs/actionsheetios.html
*/
const ActionSheetIOS = {
/**
Expand All @@ -35,7 +35,7 @@ const ActionSheetIOS = {
* The 'callback' function takes one parameter, the zero-based index
* of the selected item.
*
* See http://facebook.github.io/react-native/docs/actionsheetios.html#showactionsheetwithoptions
* See https://reactnative.dev/docs/actionsheetios.html#showactionsheetwithoptions
*/
showActionSheetWithOptions(
options: {|
Expand Down Expand Up @@ -101,7 +101,7 @@ const ActionSheetIOS = {
* - a boolean value signifying success or failure
* - a string that, in the case of success, indicates the method of sharing
*
* See http://facebook.github.io/react-native/docs/actionsheetios.html#showshareactionsheetwithoptions
* See https://reactnative.dev/docs/actionsheetios.html#showshareactionsheetwithoptions
*/
showShareActionSheetWithOptions(
options: Object,
Expand Down
4 changes: 2 additions & 2 deletions Libraries/ActionSheetIOS/React-RCTActionSheet.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Pod::Spec.new do |s|
s.name = "React-RCTActionSheet"
s.version = version
s.summary = "An API for displaying iOS action sheets and share sheets."
s.homepage = "http://facebook.github.io/react-native/"
s.documentation_url = "https://facebook.github.io/react-native/docs/actionsheetios"
s.homepage = "https://reactnative.dev/"
s.documentation_url = "https://reactnative.dev/docs/actionsheetios"
s.license = package["license"]
s.author = "Facebook, Inc. and its affiliates"
s.platforms = { :ios => "10.0", :tvos => "10.0" }
Expand Down
2 changes: 1 addition & 1 deletion Libraries/Alert/Alert.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ type Options = {
/**
* Launches an alert dialog with the specified title and message.
*
* See http://facebook.github.io/react-native/docs/alert.html
* See https://reactnative.dev/docs/alert.html
*/
class Alert {
static alert(
Expand Down
46 changes: 23 additions & 23 deletions Libraries/Animated/src/AnimatedImplementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -542,95 +542,95 @@ const event = function(
* If additional transforms are added, be sure to include them in
* AnimatedMock.js as well.
*
* See http://facebook.github.io/react-native/docs/animated.html
* See https://reactnative.dev/docs/animated.html
*/
module.exports = {
/**
* Standard value class for driving animations. Typically initialized with
* `new Animated.Value(0);`
*
* See http://facebook.github.io/react-native/docs/animated.html#value
* See https://reactnative.dev/docs/animated.html#value
*/
Value: AnimatedValue,
/**
* 2D value class for driving 2D animations, such as pan gestures.
*
* See https://facebook.github.io/react-native/docs/animatedvaluexy.html
* See https://reactnative.dev/docs/animatedvaluexy.html
*/
ValueXY: AnimatedValueXY,
/**
* Exported to use the Interpolation type in flow.
*
* See http://facebook.github.io/react-native/docs/animated.html#interpolation
* See https://reactnative.dev/docs/animated.html#interpolation
*/
Interpolation: AnimatedInterpolation,
/**
* Exported for ease of type checking. All animated values derive from this
* class.
*
* See http://facebook.github.io/react-native/docs/animated.html#node
* See https://reactnative.dev/docs/animated.html#node
*/
Node: AnimatedNode,

/**
* Animates a value from an initial velocity to zero based on a decay
* coefficient.
*
* See http://facebook.github.io/react-native/docs/animated.html#decay
* See https://reactnative.dev/docs/animated.html#decay
*/
decay,
/**
* Animates a value along a timed easing curve. The Easing module has tons of
* predefined curves, or you can use your own function.
*
* See http://facebook.github.io/react-native/docs/animated.html#timing
* See https://reactnative.dev/docs/animated.html#timing
*/
timing,
/**
* Animates a value according to an analytical spring model based on
* damped harmonic oscillation.
*
* See http://facebook.github.io/react-native/docs/animated.html#spring
* See https://reactnative.dev/docs/animated.html#spring
*/
spring,

/**
* Creates a new Animated value composed from two Animated values added
* together.
*
* See http://facebook.github.io/react-native/docs/animated.html#add
* See https://reactnative.dev/docs/animated.html#add
*/
add,

/**
* Creates a new Animated value composed by subtracting the second Animated
* value from the first Animated value.
*
* See http://facebook.github.io/react-native/docs/animated.html#subtract
* See https://reactnative.dev/docs/animated.html#subtract
*/
subtract,

/**
* Creates a new Animated value composed by dividing the first Animated value
* by the second Animated value.
*
* See http://facebook.github.io/react-native/docs/animated.html#divide
* See https://reactnative.dev/docs/animated.html#divide
*/
divide,

/**
* Creates a new Animated value composed from two Animated values multiplied
* together.
*
* See http://facebook.github.io/react-native/docs/animated.html#multiply
* See https://reactnative.dev/docs/animated.html#multiply
*/
multiply,

/**
* Creates a new Animated value that is the (non-negative) modulo of the
* provided Animated value.
*
* See http://facebook.github.io/react-native/docs/animated.html#modulo
* See https://reactnative.dev/docs/animated.html#modulo
*/
modulo,

Expand All @@ -639,75 +639,75 @@ module.exports = {
* difference between the last value so even if the value is far from the
* bounds it will start changing when the value starts getting closer again.
*
* See http://facebook.github.io/react-native/docs/animated.html#diffclamp
* See https://reactnative.dev/docs/animated.html#diffclamp
*/
diffClamp,

/**
* Starts an animation after the given delay.
*
* See http://facebook.github.io/react-native/docs/animated.html#delay
* See https://reactnative.dev/docs/animated.html#delay
*/
delay,
/**
* Starts an array of animations in order, waiting for each to complete
* before starting the next. If the current running animation is stopped, no
* following animations will be started.
*
* See http://facebook.github.io/react-native/docs/animated.html#sequence
* See https://reactnative.dev/docs/animated.html#sequence
*/
sequence,
/**
* Starts an array of animations all at the same time. By default, if one
* of the animations is stopped, they will all be stopped. You can override
* this with the `stopTogether` flag.
*
* See http://facebook.github.io/react-native/docs/animated.html#parallel
* See https://reactnative.dev/docs/animated.html#parallel
*/
parallel,
/**
* Array of animations may run in parallel (overlap), but are started in
* sequence with successive delays. Nice for doing trailing effects.
*
* See http://facebook.github.io/react-native/docs/animated.html#stagger
* See https://reactnative.dev/docs/animated.html#stagger
*/
stagger,
/**
* Loops a given animation continuously, so that each time it reaches the
* end, it resets and begins again from the start.
*
* See http://facebook.github.io/react-native/docs/animated.html#loop
* See https://reactnative.dev/docs/animated.html#loop
*/
loop,

/**
* Takes an array of mappings and extracts values from each arg accordingly,
* then calls `setValue` on the mapped outputs.
*
* See http://facebook.github.io/react-native/docs/animated.html#event
* See https://reactnative.dev/docs/animated.html#event
*/
event,

/**
* Make any React component Animatable. Used to create `Animated.View`, etc.
*
* See http://facebook.github.io/react-native/docs/animated.html#createanimatedcomponent
* See https://reactnative.dev/docs/animated.html#createanimatedcomponent
*/
createAnimatedComponent,

/**
* Imperative API to attach an animated value to an event on a view. Prefer
* using `Animated.event` with `useNativeDrive: true` if possible.
*
* See http://facebook.github.io/react-native/docs/animated.html#attachnativeevent
* See https://reactnative.dev/docs/animated.html#attachnativeevent
*/
attachNativeEvent,

/**
* Advanced imperative API for snooping on animated events that are passed in
* through props. Use values directly where possible.
*
* See http://facebook.github.io/react-native/docs/animated.html#forkevent
* See https://reactnative.dev/docs/animated.html#forkevent
*/
forkEvent,
unforkEvent,
Expand Down
6 changes: 3 additions & 3 deletions Libraries/Animated/src/nodes/AnimatedNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class AnimatedNode {
* animations. This is useful because there is no way to
* synchronously read the value because it might be driven natively.
*
* See http://facebook.github.io/react-native/docs/animatedvalue.html#addlistener
* See https://reactnative.dev/docs/animatedvalue.html#addlistener
*/
addListener(callback: (value: any) => mixed): string {
const id = String(_uniqueId++);
Expand All @@ -80,7 +80,7 @@ class AnimatedNode {
* Unregister a listener. The `id` param shall match the identifier
* previously returned by `addListener()`.
*
* See http://facebook.github.io/react-native/docs/animatedvalue.html#removelistener
* See https://reactnative.dev/docs/animatedvalue.html#removelistener
*/
removeListener(id: string): void {
delete this._listeners[id];
Expand All @@ -92,7 +92,7 @@ class AnimatedNode {
/**
* Remove all registered listeners.
*
* See http://facebook.github.io/react-native/docs/animatedvalue.html#removealllisteners
* See https://reactnative.dev/docs/animatedvalue.html#removealllisteners
*/
removeAllListeners(): void {
this._listeners = {};
Expand Down
16 changes: 8 additions & 8 deletions Libraries/Animated/src/nodes/AnimatedValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function _flush(rootNode: AnimatedValue): void {
* mechanism at a time. Using a new mechanism (e.g. starting a new animation,
* or calling `setValue`) will stop any previous ones.
*
* See http://facebook.github.io/react-native/docs/animatedvalue.html
* See https://reactnative.dev/docs/animatedvalue.html
*/
class AnimatedValue extends AnimatedWithChildren {
_value: number;
Expand Down Expand Up @@ -95,7 +95,7 @@ class AnimatedValue extends AnimatedWithChildren {
* Directly set the value. This will stop any animations running on the value
* and update all the bound properties.
*
* See http://facebook.github.io/react-native/docs/animatedvalue.html#setvalue
* See https://reactnative.dev/docs/animatedvalue.html#setvalue
*/
setValue(value: number): void {
if (this._animation) {
Expand All @@ -116,7 +116,7 @@ class AnimatedValue extends AnimatedWithChildren {
* `setValue`, an animation, or `Animated.event`. Useful for compensating
* things like the start of a pan gesture.
*
* See http://facebook.github.io/react-native/docs/animatedvalue.html#setoffset
* See https://reactnative.dev/docs/animatedvalue.html#setoffset
*/
setOffset(offset: number): void {
this._offset = offset;
Expand All @@ -129,7 +129,7 @@ class AnimatedValue extends AnimatedWithChildren {
* Merges the offset value into the base value and resets the offset to zero.
* The final output of the value is unchanged.
*
* See http://facebook.github.io/react-native/docs/animatedvalue.html#flattenoffset
* See https://reactnative.dev/docs/animatedvalue.html#flattenoffset
*/
flattenOffset(): void {
this._value += this._offset;
Expand All @@ -143,7 +143,7 @@ class AnimatedValue extends AnimatedWithChildren {
* Sets the offset value to the base value, and resets the base value to zero.
* The final output of the value is unchanged.
*
* See http://facebook.github.io/react-native/docs/animatedvalue.html#extractoffset
* See https://reactnative.dev/docs/animatedvalue.html#extractoffset
*/
extractOffset(): void {
this._offset += this._value;
Expand All @@ -158,7 +158,7 @@ class AnimatedValue extends AnimatedWithChildren {
* final value after stopping the animation, which is useful for updating
* state to match the animation position with layout.
*
* See http://facebook.github.io/react-native/docs/animatedvalue.html#stopanimation
* See https://reactnative.dev/docs/animatedvalue.html#stopanimation
*/
stopAnimation(callback?: ?(value: number) => void): void {
this.stopTracking();
Expand All @@ -170,7 +170,7 @@ class AnimatedValue extends AnimatedWithChildren {
/**
* Stops any animation and resets the value to its original.
*
* See http://facebook.github.io/react-native/docs/animatedvalue.html#resetanimation
* See https://reactnative.dev/docs/animatedvalue.html#resetanimation
*/
resetAnimation(callback?: ?(value: number) => void): void {
this.stopAnimation(callback);
Expand All @@ -193,7 +193,7 @@ class AnimatedValue extends AnimatedWithChildren {
* Typically only used internally, but could be used by a custom Animation
* class.
*
* See http://facebook.github.io/react-native/docs/animatedvalue.html#animate
* See https://reactnative.dev/docs/animatedvalue.html#animate
*/
animate(animation: Animation, callback: ?EndCallback): void {
let handle = null;
Expand Down
Loading

0 comments on commit c0d8c1d

Please sign in to comment.