-
Notifications
You must be signed in to change notification settings - Fork 436
feat(docusaurus-adapter): support docsearch key and adapter docs #2858
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
✅ Deploy Preview for docsearch ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
❌ Deploy Preview for docsearch-demo failed.
|
Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a866654ca7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
adapters/docusaurus-theme-search-algolia/src/theme/SearchPage/index.tsx
Outdated
Show resolved
Hide resolved
adapters/docusaurus-theme-search-algolia/src/__tests__/validateThemeConfig.test.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
@docsearch/docusaurus-adapterhas been cloned from https://github.com/facebook/docusaurus/tree/main/packages/docusaurus-theme-search-algolia docusaurus' version of theme-serch-algolia@docsearch/docusaurus-adapteras a first-class workspace package and wire monorepo/build configuration for adapter development and website usagethemeConfig.docsearchas the canonical config key while keepingthemeConfig.algoliaas a backward-compatible alias, with clear validation when both are definedSee the documentation: https://deploy-preview-2858--docsearch.netlify.app/docs/docusaurus-adapter
Test plan
yarn workspace @docsearch/docusaurus-adapter buildyarn workspace @docsearch/website buildthemeConfig.docsearch.askAi.sidePanelbehavior manually