Skip to content
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

Develop algolia #26

Merged
merged 2 commits into from
Dec 24, 2024
Merged

Develop algolia #26

merged 2 commits into from
Dec 24, 2024

Conversation

naderzare
Copy link
Member

@naderzare naderzare commented Dec 18, 2024

This pull request includes a significant update to the docusaurus.config.ts file to integrate Algolia search functionality. The most important changes include configuring Algolia with necessary parameters and optional settings to enhance search capabilities.

Algolia search integration:

  • Added algolia configuration with essential parameters such as appId, apiKey, and indexName.
  • Enabled contextualSearch to improve search relevance based on the current context.
  • Included externalUrlRegex to specify domains where navigation should occur through window.location.
  • Configured replaceSearchResultPathname to handle URL replacements for different deployments.
  • Added optional settings like searchParameters, searchPagePath, and insights to customize search behavior.

By merging this PR, we will have a search box powered by Algolia
image
image

Copy link
Contributor

@SK2iP SK2iP left a comment

Choose a reason for hiding this comment

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

Great feature tnx nader

@hidehisaakiyama hidehisaakiyama merged commit ec6eb93 into develop Dec 24, 2024
1 check 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.

3 participants