Improve format of navigation to home (#50665)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/50665

Changelog: [internal]

Just a stylistic change of the link back to the documentation home.

It also changes the link in the template to make sure it's incorrect so people are forced to edit it when creating new docs.

Reviewed By: lenaic

Differential Revision: D72866823

fbshipit-source-id: fa7be286f996049b3f06e2defa5a8c486d63091b
This commit is contained in:
Rubén Norte
2025-04-11 10:28:04 -07:00
committed by Facebook GitHub Bot
parent 9fde76a02d
commit 143beaaa99
17 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ const config = {
'relative-links': true,
},
globs: ['**/__docs__/*.md'],
ignores: ['**/node_modules'],
ignores: ['**/node_modules', '__docs__/README-template.md'],
customRules: [relativeLinksRule],
};
+1 -1
View File
@@ -1,6 +1,6 @@
# _Subsystem name_
- [Main doc](../__docs__/README.md)
[🏠 Home](path/to/main/__docs__/README.md)
_Description of the subsystem with the necessary context._
@@ -1,6 +1,6 @@
# 👻 React Native Fantom
- [Main doc](../../../__docs__/README.md)
[🏠 Home](../../../__docs__/README.md)
Fantom is the new **integration testing and benchmarking tool for React
Native**.
@@ -1,6 +1,6 @@
# Android event dispatching
- [Main doc](../../../../../../../../../../../../__docs__/README.md)
[🏠 Home](../../../../../../../../../../../../__docs__/README.md)
This directory contains Kotlin classes specific to Android event dispatching in
the new architecture.
@@ -1,6 +1,6 @@
# Feature Flags
- [Main doc](../../../../../../../../../../../../__docs__/README.md)
[🏠 Home](../../../../../../../../../../../../__docs__/README.md)
This directory contains the Java/Kotlin bindings for the internal React Native
feature flags system.
@@ -1,6 +1,6 @@
# Feature Flags
- [Main doc](../../../../../../__docs__/README.md)
[🏠 Home](../../../../../../__docs__/README.md)
This directory contains the shared C++ implementation of the internal React
Native feature flags system.
@@ -1,6 +1,6 @@
# Feature Flags
- [Main doc](../../../../../../../__docs__/README.md)
[🏠 Home](../../../../../../../__docs__/README.md)
This directory contains the native C++ TurboModule for the internal React Native
feature flags system.
@@ -1,6 +1,6 @@
# IntersectionObserver
- [Main doc](../../../../../../../__docs__/README.md)
[🏠 Home](../../../../../../../__docs__/README.md)
This directory contains the native module used by the
[IntersectionObserver API](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver)
@@ -1,6 +1,6 @@
# Microtasks
- [Main doc](../../../../../../../__docs__/README.md)
[🏠 Home](../../../../../../../__docs__/README.md)
This directory contains the native module used to implement `queueMicrotask` in
React Native, which schedules microtasks in the
@@ -1,6 +1,6 @@
# MutationObserver
- [Main doc](../../../../../../../__docs__/README.md)
[🏠 Home](../../../../../../../__docs__/README.md)
This directory contains the native module used by the
[MutationObserver API](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver)
@@ -1,6 +1,6 @@
# IntersectionObserver
- [Main doc](../../../../../../../../__docs__/README.md)
[🏠 Home](../../../../../../../../__docs__/README.md)
This directory contains the C++ implementation of the
[IntersectionObserver API](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver)
@@ -1,6 +1,6 @@
# MutationObserver
- [Main doc](../../../../../../../../__docs__/README.md)
[🏠 Home](../../../../../../../../__docs__/README.md)
This directory contains the C++ implementation of the
[MutationObserver API](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver)
@@ -1,6 +1,6 @@
# Event Loop
- [Main doc](../../../../../../../__docs__/README.md)
[🏠 Home](../../../../../../../__docs__/README.md)
The Event Loop is the formalization of the execution model for JavaScript in
React Native, and how that model synchronizes with rendering work in the host
@@ -1,6 +1,6 @@
# Feature Flags
- [Main doc](../../../../../__docs__/README.md)
[🏠 Home](../../../../../__docs__/README.md)
This directory contains the flag definitions and codegen for the internal React
Native feature flags system.
@@ -1,6 +1,6 @@
# Feature Flags
- [Main doc](../../../../../../__docs__/README.md)
[🏠 Home](../../../../../../__docs__/README.md)
Feature flags are values that determine the behavior of specific parts of React
Native. This directory contains the configuration for those values, and scripts
@@ -1,6 +1,6 @@
# IntersectionObserver
- [Main doc](../../../../../../../__docs__/README.md)
[🏠 Home](../../../../../../../__docs__/README.md)
This directory contains the React Native implementation of the
[IntersectionObserver API](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver).
@@ -1,6 +1,6 @@
# MutationObserver
- [Main doc](../../../../../../../__docs__/README.md)
[🏠 Home](../../../../../../../__docs__/README.md)
This directory contains the React Native implementation of the
[MutationObserver API](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver).