Skip to content

[codex] add recaptcha plugin docs#677

Merged
riderx merged 4 commits into
mainfrom
codex/recaptcha-plugin-docs
May 12, 2026
Merged

[codex] add recaptcha plugin docs#677
riderx merged 4 commits into
mainfrom
codex/recaptcha-plugin-docs

Conversation

@riderx
Copy link
Copy Markdown
Member

@riderx riderx commented May 11, 2026

Summary

  • add @capgo/capacitor-recaptcha to the plugin registry
  • add docs pages for overview, getting started, iOS setup, and Android setup
  • add the plugin tutorial entry and refresh stars/download metadata

Validation

  • NODE_OPTIONS=--max-old-space-size=16384 bun run check

Summary by CodeRabbit

  • Documentation
    • Added comprehensive documentation for the Capacitor reCAPTCHA plugin including getting started guide and platform-specific setup instructions for Android, iOS, and Web
    • Included setup examples and token generation workflows
    • Added tutorial content to help users integrate the plugin
    • Plugin now available in the plugins directory

Review Change Stack

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 11, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 499bdf4c-be39-4f1e-a41f-e9063cc5610b

📥 Commits

Reviewing files that changed from the base of the PR and between d96454d and 31a0b42.

📒 Files selected for processing (8)
  • apps/docs/src/config/llmsCustomSets.ts
  • apps/docs/src/config/sidebar.mjs
  • apps/docs/src/content/docs/docs/plugins/recaptcha/android.mdx
  • apps/docs/src/content/docs/docs/plugins/recaptcha/getting-started.mdx
  • apps/docs/src/content/docs/docs/plugins/recaptcha/index.mdx
  • apps/docs/src/content/docs/docs/plugins/recaptcha/ios.mdx
  • apps/web/src/config/plugins.ts
  • apps/web/src/content/plugins-tutorials/en/capacitor-recaptcha.md
✅ Files skipped from review due to trivial changes (7)
  • apps/docs/src/config/llmsCustomSets.ts
  • apps/docs/src/content/docs/docs/plugins/recaptcha/ios.mdx
  • apps/docs/src/config/sidebar.mjs
  • apps/web/src/config/plugins.ts
  • apps/web/src/content/plugins-tutorials/en/capacitor-recaptcha.md
  • apps/docs/src/content/docs/docs/plugins/recaptcha/getting-started.mdx
  • apps/docs/src/content/docs/docs/plugins/recaptcha/android.mdx
🚧 Files skipped from review as they are similar to previous changes (1)
  • apps/docs/src/content/docs/docs/plugins/recaptcha/index.mdx

📝 Walkthrough

Walkthrough

This PR adds comprehensive documentation and registration for the @capgo/capacitor-recaptcha Capacitor plugin across the docs site and web platform. Changes include plugin config entries, sidebar navigation, main documentation pages with platform-specific setup guides, and a web tutorial with installation and configuration instructions.

Changes

reCAPTCHA Plugin Documentation and Registration

Layer / File(s) Summary
Plugin config and registry updates
apps/docs/src/config/llmsCustomSets.ts, apps/docs/src/config/sidebar.mjs, apps/web/src/config/plugins.ts
Plugin registered in docs LLM sets, sidebar navigation includes iOS/Android setup links, and web plugin registry includes action definition row and ShieldCheck icon mapping.
Documentation overview and getting started guide
apps/docs/src/content/docs/docs/plugins/recaptcha/index.mdx, apps/docs/src/content/docs/docs/plugins/recaptcha/getting-started.mdx
Main plugin page describes capabilities and public API; getting-started guide covers installation, multi-platform site key configuration, token generation via Recaptcha.execute(), Web reCAPTCHA v3 standard flow with enterprise: false, and legacy Cordova option aliases.
Android and iOS platform-specific setup
apps/docs/src/content/docs/docs/plugins/recaptcha/android.mdx, apps/docs/src/content/docs/docs/plugins/recaptcha/ios.mdx
Android docs describe standard reCAPTCHA key setup, default Gradle dependency with automatic desugaring, and execute usage; iOS docs cover Enterprise key configuration, native SDK installation via npx cap sync ios, and token submission workflow.
Web-facing tutorial page
apps/web/src/content/plugins-tutorials/en/capacitor-recaptcha.md
Tutorial covers npm installation, Capacitor config with platform-specific site keys and enterprise flag guidance, token generation, and references to full docs and GitHub repository.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • Cap-go/website#656: Both PRs make the same code-level edits—adding a new plugin entry to llmsCustomSetRows, sidebar pluginEntries, and the web plugins/action/icon maps.
  • Cap-go/website#642: Both PRs make analogous edits to the same config files/variables to add a new plugin's registration and documentation.
  • Cap-go/website#590: Both PRs add new plugin entries and documentation, modifying the same site configuration structures.

Poem

🐰 A reCAPTCHA hop through docs so bright,
Android, iOS, Web—all set just right,
Shields check the bots with tokens so fine,
Platform by platform, line after line!
📚✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title '[codex] add recaptcha plugin docs' accurately describes the main change: adding documentation for the reCAPTCHA plugin across multiple files (getting started, iOS setup, Android setup pages, config updates, and tutorial entry).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/recaptcha-plugin-docs

Comment @coderabbitai help to get the list of available commands and usage tips.

@riderx riderx marked this pull request as ready for review May 12, 2026 11:05
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@riderx
Copy link
Copy Markdown
Member Author

riderx commented May 12, 2026

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 12, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/docs/src/config/llmsCustomSets.ts`:
- Line 86: The new "Plugin reCAPTCHA" entry is out of alphabetical order
relative to "Plugin RealtimeKit"; locate the plugin entries in the
llmsCustomSets export (the array of plugin strings in
apps/docs/src/config/llmsCustomSets.ts) and move the "Plugin reCAPTCHA|reCAPTCHA
and reCAPTCHA Enterprise token plugin for Web, Android, and
iOS|docs/plugins/recaptcha/**" line so it appears after the "Plugin RealtimeKit"
entry to restore case-insensitive alphabetical ordering.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 397ca253-588c-4291-b110-9c1fd0f523c6

📥 Commits

Reviewing files that changed from the base of the PR and between b60b200 and ad7dd00.

📒 Files selected for processing (10)
  • apps/docs/src/config/llmsCustomSets.ts
  • apps/docs/src/config/sidebar.mjs
  • apps/docs/src/content/docs/docs/plugins/recaptcha/android.mdx
  • apps/docs/src/content/docs/docs/plugins/recaptcha/getting-started.mdx
  • apps/docs/src/content/docs/docs/plugins/recaptcha/index.mdx
  • apps/docs/src/content/docs/docs/plugins/recaptcha/ios.mdx
  • apps/web/src/config/plugins.ts
  • apps/web/src/content/plugins-tutorials/en/capacitor-recaptcha.md
  • apps/web/src/data/github-stars.json
  • apps/web/src/data/npm-downloads.json

Comment thread apps/docs/src/config/llmsCustomSets.ts Outdated
@riderx riderx force-pushed the codex/recaptcha-plugin-docs branch from d96454d to 31a0b42 Compare May 12, 2026 13:54
@riderx riderx merged commit 03e7f85 into main May 12, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant