Skip to content

Commit 7992a10

Browse files
JatinBhuvaJATIN BHUVA
andauthored
fix: BareResourceFetcher import path in documentation (#1129)
- Fix incorrect import path from '@react-native-executorch/bare-adapter' to 'react-native-executorch-bare-resource-fetcher' - Update both current and versioned documentation files - Ensures users can properly import BareResourceFetcher ## Description <!-- Provide a concise and descriptive summary of the changes implemented in this PR. --> ### Introduces a breaking change? - [ ] Yes - [x] No ### Type of change - [ ] Bug fix (change which fixes an issue) - [ ] New feature (change which adds functionality) - [x] Documentation update (improves or adds clarity to existing documentation) - [ ] Other (chores, tests, code style improvements etc.) ### Tested on - [ ] iOS - [ ] Android ### Testing instructions - Build documentation locally via yarn start and check if everything is corrected. ### Screenshots ### Related issues ### Checklist - [x] I have performed a self-review of my code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have updated the documentation accordingly - [x] My changes generate no new warnings ### Additional notes Checked versioned documentation files; the issue does not exist there. <!-- Include any additional information, assumptions, or context that reviewers might need to understand this PR. --> Co-authored-by: JATIN BHUVA <jatinbhuva@JATINs-MacBook-Pro.local>
1 parent 35e33b3 commit 7992a10

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/docs/01-fundamentals/02-loading-models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ and
3737

3838
```typescript
3939
import { initExecutorch } from 'react-native-executorch';
40-
import { BareResourceFetcher } from '@react-native-executorch/bare-adapter';
40+
import { BareResourceFetcher } from 'react-native-executorch-bare-resource-fetcher';
4141

4242
initExecutorch({
4343
resourceFetcher: BareResourceFetcher,

docs/versioned_docs/version-0.8.x/01-fundamentals/02-loading-models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ and
3737

3838
```typescript
3939
import { initExecutorch } from 'react-native-executorch';
40-
import { BareResourceFetcher } from '@react-native-executorch/bare-adapter';
40+
import { BareResourceFetcher } from 'react-native-executorch-bare-resource-fetcher';
4141

4242
initExecutorch({
4343
resourceFetcher: BareResourceFetcher,

0 commit comments

Comments
 (0)