Skip to content

Commit ec8cf17

Browse files
loulanyuemeta-codesync[bot]
authored andcommitted
docs(readme): use relative links for LICENSE and SUPPORT.md (#58179)
Summary: Pull Request resolved: #58179 Replaces hardcoded `react/react-native` URLs with standard relative repository links for `LICENSE` and `.github/SUPPORT.md` in `README.md`. ## Changelog: [General][Internal] Use relative Markdown links for LICENSE and SUPPORT.md in README Pull Request resolved: #58130 Test Plan: Verified Markdown links navigate to relative repo root and `.github/` folder correctly in GitHub markdown viewer. Reviewed By: cortinico Differential Revision: D117642224 Pulled By: vzaidman
1 parent 04e50d5 commit ec8cf17

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</p>
1313

1414
<p align="center">
15-
<a href="https://github.com/react/react-native/blob/HEAD/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="React Native is released under the MIT license" /></a>
15+
<a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="React Native is released under the MIT license" /></a>
1616
<a href="https://www.npmjs.com/package/react-native"><img src="https://img.shields.io/npm/v/react-native.svg?color=blue" alt="Current npm package version" /></a>
1717
<a href="https://www.npmjs.com/package/react-native"><img src="https://img.shields.io/npm/dm/react-native.svg" alt="Monthly npm downloads" /></a>
1818
<a href="https://twitter.com/intent/follow?screen_name=reactnative"><img src="https://img.shields.io/badge/Follow_@reactnative-black?logo=x&logoColor=white" alt="Follow @reactnative on X" /></a>
@@ -29,7 +29,7 @@
2929
<span> · </span>
3030
<a href="https://reactnative.dev/help">Community</a>
3131
<span> · </span>
32-
<a href="https://github.com/react/react-native/blob/HEAD/.github/SUPPORT.md">Support</a>
32+
<a href="./.github/SUPPORT.md">Support</a>
3333
</h4>
3434

3535
# React Native
@@ -102,4 +102,4 @@ React Native releases are discussed in [**reactwg/react-native-releases**](https
102102

103103
## License
104104

105-
React Native is MIT licensed, as found in the [LICENSE](https://github.com/react/react-native/blob/main/LICENSE) file.
105+
React Native is MIT licensed, as found in the [LICENSE](./LICENSE) file.

0 commit comments

Comments
 (0)