Skip to content

Commit 143beaa

Browse files
rubennortefacebook-github-bot
authored andcommitted
Improve format of navigation to home (#50665)
Summary: Pull Request resolved: #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
1 parent 9fde76a commit 143beaa

File tree

17 files changed

+17
-17
lines changed

17 files changed

+17
-17
lines changed

.markdownlint-cli2.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const config = {
3636
'relative-links': true,
3737
},
3838
globs: ['**/__docs__/*.md'],
39-
ignores: ['**/node_modules'],
39+
ignores: ['**/node_modules', '__docs__/README-template.md'],
4040
customRules: [relativeLinksRule],
4141
};
4242

__docs__/README-template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# _Subsystem name_
22

3-
- [Main doc](../__docs__/README.md)
3+
[🏠 Home](path/to/main/__docs__/README.md)
44

55
_Description of the subsystem with the necessary context._
66

packages/react-native-fantom/__docs__/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 👻 React Native Fantom
22

3-
- [Main doc](../../../__docs__/README.md)
3+
[🏠 Home](../../../__docs__/README.md)
44

55
Fantom is the new **integration testing and benchmarking tool for React
66
Native**.

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/events/__docs__/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Android event dispatching
22

3-
- [Main doc](../../../../../../../../../../../../__docs__/README.md)
3+
[🏠 Home](../../../../../../../../../../../../__docs__/README.md)
44

55
This directory contains Kotlin classes specific to Android event dispatching in
66
the new architecture.

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/__docs__/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Feature Flags
22

3-
- [Main doc](../../../../../../../../../../../../__docs__/README.md)
3+
[🏠 Home](../../../../../../../../../../../../__docs__/README.md)
44

55
This directory contains the Java/Kotlin bindings for the internal React Native
66
feature flags system.

packages/react-native/ReactCommon/react/featureflags/__docs__/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Feature Flags
22

3-
- [Main doc](../../../../../../__docs__/README.md)
3+
[🏠 Home](../../../../../../__docs__/README.md)
44

55
This directory contains the shared C++ implementation of the internal React
66
Native feature flags system.

packages/react-native/ReactCommon/react/nativemodule/featureflags/__docs__/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Feature Flags
22

3-
- [Main doc](../../../../../../../__docs__/README.md)
3+
[🏠 Home](../../../../../../../__docs__/README.md)
44

55
This directory contains the native C++ TurboModule for the internal React Native
66
feature flags system.

packages/react-native/ReactCommon/react/nativemodule/intersectionobserver/__docs__/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# IntersectionObserver
22

3-
- [Main doc](../../../../../../../__docs__/README.md)
3+
[🏠 Home](../../../../../../../__docs__/README.md)
44

55
This directory contains the native module used by the
66
[IntersectionObserver API](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver)

packages/react-native/ReactCommon/react/nativemodule/microtasks/__docs__/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Microtasks
22

3-
- [Main doc](../../../../../../../__docs__/README.md)
3+
[🏠 Home](../../../../../../../__docs__/README.md)
44

55
This directory contains the native module used to implement `queueMicrotask` in
66
React Native, which schedules microtasks in the

packages/react-native/ReactCommon/react/nativemodule/mutationobserver/__docs__/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MutationObserver
22

3-
- [Main doc](../../../../../../../__docs__/README.md)
3+
[🏠 Home](../../../../../../../__docs__/README.md)
44

55
This directory contains the native module used by the
66
[MutationObserver API](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver)

packages/react-native/ReactCommon/react/renderer/observers/intersection/__docs__/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# IntersectionObserver
22

3-
- [Main doc](../../../../../../../../__docs__/README.md)
3+
[🏠 Home](../../../../../../../../__docs__/README.md)
44

55
This directory contains the C++ implementation of the
66
[IntersectionObserver API](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver)

packages/react-native/ReactCommon/react/renderer/observers/mutation/__docs__/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MutationObserver
22

3-
- [Main doc](../../../../../../../../__docs__/README.md)
3+
[🏠 Home](../../../../../../../../__docs__/README.md)
44

55
This directory contains the C++ implementation of the
66
[MutationObserver API](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver)

packages/react-native/ReactCommon/react/renderer/runtimescheduler/__docs__/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Event Loop
22

3-
- [Main doc](../../../../../../../__docs__/README.md)
3+
[🏠 Home](../../../../../../../__docs__/README.md)
44

55
The Event Loop is the formalization of the execution model for JavaScript in
66
React Native, and how that model synchronizes with rendering work in the host

packages/react-native/scripts/featureflags/__docs__/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Feature Flags
22

3-
- [Main doc](../../../../../__docs__/README.md)
3+
[🏠 Home](../../../../../__docs__/README.md)
44

55
This directory contains the flag definitions and codegen for the internal React
66
Native feature flags system.

packages/react-native/src/private/featureflags/__docs__/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Feature Flags
22

3-
- [Main doc](../../../../../../__docs__/README.md)
3+
[🏠 Home](../../../../../../__docs__/README.md)
44

55
Feature flags are values that determine the behavior of specific parts of React
66
Native. This directory contains the configuration for those values, and scripts

packages/react-native/src/private/webapis/intersectionobserver/__docs__/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# IntersectionObserver
22

3-
- [Main doc](../../../../../../../__docs__/README.md)
3+
[🏠 Home](../../../../../../../__docs__/README.md)
44

55
This directory contains the React Native implementation of the
66
[IntersectionObserver API](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver).

packages/react-native/src/private/webapis/mutationobserver/__docs__/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MutationObserver
22

3-
- [Main doc](../../../../../../../__docs__/README.md)
3+
[🏠 Home](../../../../../../../__docs__/README.md)
44

55
This directory contains the React Native implementation of the
66
[MutationObserver API](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver).

0 commit comments

Comments
 (0)