Skip to content

feat: add Algolia DocSearch to navbar#20

Merged
rongquan1 merged 1 commit into
mainfrom
develop
Jul 2, 2026
Merged

feat: add Algolia DocSearch to navbar#20
rongquan1 merged 1 commit into
mainfrom
develop

Conversation

@isaackps

@isaackps isaackps commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Configure Algolia search so the search
bar renders in the navbar. Uses the public search-only API key. contextualSearch is disabled since this is a single-version, English-only site (the docusaurus_tag/language facets aren't configured on the index).

Summary by CodeRabbit

  • New Features
    • Added site search powered by Algolia, including a dedicated search page and contextual search settings.

Configure Algolia search so the search
bar renders in the navbar. Uses the public search-only API key.
contextualSearch is disabled since this is a single-version, English-only
site (the docusaurus_tag/language facets aren't configured on the index).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 90eaef8a-f9b2-49a7-ae0a-792a8f4073db

📥 Commits

Reviewing files that changed from the base of the PR and between cfcfd62 and 0138d08.

📒 Files selected for processing (1)
  • docusaurus.config.js

📝 Walkthrough

Walkthrough

Adds an algolia configuration block to the themeConfig section of docusaurus.config.js, specifying appId, apiKey, indexName, contextualSearch, and searchPagePath for site search integration.

Changes

Algolia Search Configuration

Layer / File(s) Summary
Algolia config block addition
docusaurus.config.js
Adds algolia object with appId, apiKey, indexName, contextualSearch: false, and searchPagePath: "search" to theme config.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 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 clearly matches the main change: adding Algolia DocSearch configuration for the documentation site navbar.
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.
✨ 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 develop

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@rongquan1 rongquan1 merged commit 4264444 into main Jul 2, 2026
7 of 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.

2 participants