Skip to content

Commit ba43e39

Browse files
committed
docs: add property-specific anchors for API documentation (#93)
1 parent 27cdbea commit ba43e39

23 files changed

Lines changed: 312 additions & 141 deletions

docs/api/index.mdx

Lines changed: 122 additions & 123 deletions
Large diffs are not rendered by default.

docs/buttons/google-logo-button.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
sidebar_class_name: sponsor-heart
3+
description: "GoogleLogoButton component following Google's official branding guidelines. For native apps only (renders null on web). Customizable size, style, and loading state."
34
---
45

56
# GoogleLogoButton

docs/buttons/web.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
sidebar_class_name: sponsor-heart
3+
description: "WebGoogleSigninButton component for web apps. Renders null in native apps. Supports size, shape, theme, and locale customization."
34
---
45

56
# WebGoogleSigninButton

docs/config-doctor.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
sidebar_label: Config doctor
33
sidebar_position: 75
44
sidebar_class_name: sponsor-heart
5+
description: "CLI tool to diagnose Android signing configuration issues and resolve DEVELOPER_ERROR."
56
---
67

78
# Configuration Doctor

docs/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. Covers isErrorWithCode helper, error codes (SIGN_IN_CANCELLED, NO_SAVED_CREDENTIAL_FOUND, PLAY_SERVICES_NOT_AVAILABLE, etc.), and best practices."
34
---
45

56
# Error handling

docs/install.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
sidebar_position: 1
3+
description: "Install @react-native-google-signin/google-signin. Covers paid (Universal Sign In) and free (Original) versions, requirements, and package manager setup."
34
---
45

56
# Installation

docs/migrating.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
sidebar_position: 43
3+
description: "Migration guides: from Original to Universal Sign In module, and from the legacy JS API to the new API."
34
---
45

56
# Migration guides

docs/one-tap.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
sidebar_position: 30
33
sidebar_label: Universal Google sign in
44
sidebar_class_name: sponsor-heart
5+
description: "Google's recommended Sign-In API for Android (Credential Manager), iOS/macOS (Google Sign-In SDK), and web. Covers configuration, sign-in flows, user data access, and token handling."
56
---
67

78
# Universal sign in

docs/original.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
sidebar_position: 40
3+
description: "Legacy Google Sign-In module for Android and iOS. Consider migrating to Universal Sign In."
34
---
45

56
# Original Google sign in

docs/security.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
sidebar_position: 42
33
sidebar_label: Advanced security
44
sidebar_class_name: sponsor-heart
5+
description: "Advanced security features: custom nonce support on all platforms and App Check for iOS."
56
---
67

78
import Banner from './_sponsorBanner.mdx';

0 commit comments

Comments
 (0)