Skip to content

Commit

Permalink
Move assets for feature flags docs to a __docs__ directory
Browse files Browse the repository at this point in the history
Summary:
Changelog: [internal]

Small move to align with the existing convention.

Add `README.md` file for feature flags in JS directory, to link to canonical docs.

Differential Revision: D67897751
  • Loading branch information
rubennorte authored and facebook-github-bot committed Jan 9, 2025
1 parent 5e64789 commit 7415177
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native/scripts/featureflags/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ the C++ core (via JNI).
* A JavaScript interface that allows accessing the common values (via a native
module) and accessing and customizing the JS-only values.

![Diagram of the architecture of feature flags in React Native](./assets/react-native-feature-flags-architecture.excalidraw-embedded.png)
![Diagram of the architecture of feature flags in React Native](./__docs__/react-native-feature-flags-architecture.excalidraw-embedded.png)

_This image has an embedded [Excalidraw](https://www.excalidraw.com) diagram,
so you can upload it there if you need to make further modifications._
5 changes: 5 additions & 0 deletions packages/react-native/src/private/featureflags/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Feature Flags

This directory contains the JS bindings for the internal React Native feature flags system.

See the [`README.md`](../../../scripts/featureflags/README.md) file in `scripts/featureflags` for the full documentation of the system.

0 comments on commit 7415177

Please sign in to comment.