Skip to content

Commit 67890f6

Browse files
authored
docs: add descriptions to docs pages and improve LLM support in build script (#935)
- Added meaningful descriptions to documentation pages for better readability. - Enhanced the LLM output by stripping unnecessary syntax in the post-build clean-up script. - Updated the build script to automatically execute post-build cleanup.
1 parent 9327532 commit 67890f6

15 files changed

+143
-3
lines changed

docs/docs/install.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
sidebar_position: 1
33
sidebar_label: Installation & Setup
4+
description: Installation and setup guide for @react-native-documents/picker and @react-native-documents/viewer with Expo and bare React Native
45
---
56

67
# Installation

docs/docs/sponsor-only/errors.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
sidebar_position: 60
3+
description: Error handling guide covering error codes, isErrorWithCode helper, and best practices for document picker and viewer
34
---
45

56
# Error handling

docs/docs/sponsor-only/intro.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
sidebar_position: 0
3+
description: Introduction to @react-native-documents/picker and @react-native-documents/viewer packages for picking, saving, and viewing documents in React Native
34
---
45

56
# Introduction

docs/docs/sponsor-only/jest-mocks.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
sidebar_position: 50
3+
description: Jest module mocks for testing with @react-native-documents/picker and @react-native-documents/viewer
34
---
45

56
# Jest module mocks

docs/docs/sponsor-only/license.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
sidebar_position: 80
33
sidebar_label: License
4+
description: MIT license for the document picker and viewer packages
45
---
56

67
# License

docs/docs/sponsor-only/migration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
sidebar_position: 2
3+
description: Migration guide from react-native-document-picker to @react-native-documents/picker with step-by-step instructions
34
---
45

56
# Migrating from the old document-picker

docs/docs/sponsor-only/picker/directory-picker.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
sidebar_position: 6
3+
description: Pick a directory from the file system with optional long-term access for persistent file I/O
34
---
45

56
# Directory picker

docs/docs/sponsor-only/picker/integrating-on-android.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
sidebar_position: 10
3+
description: Android-specific usage notes comparing Open and Import modes with screenshots
34
---
45

56
# Android usage notes

docs/docs/sponsor-only/picker/keeping-local-copy.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
sidebar_position: 4
33
sidebar_label: Keeping a local file copy
4+
description: Use keepLocalCopy to save picked files to your app's storage on Android and iOS
45
---
56

67
# Keeping a local copy of the picked files {#keepLocalCopy}

docs/docs/sponsor-only/picker/save-as-dialog.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
sidebar_position: 0
33
sidebar_label: Save As dialog
4+
description: Present a Save As dialog using saveDocuments to let users save files to a location of their choice
45
---
56

67
# 'Save As' dialog

0 commit comments

Comments
 (0)