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

Add search-bar powered by local search index #7031

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yujonglee
Copy link

@yujonglee yujonglee commented Oct 12, 2024

Pull Request

Add search bar to the documentation site.

📖 Description

Currently, the documentation site does not have a search bar.
I implemented a search bar using:

Both are MIT licensed.

Video:
(Colors are configurable in the Docusaurus config)

Screen.Recording.2024-10-12.at.9.05.09.PM.mov

Notes:

  • V2 and V1 are split. (Red tags in the video)
  • The documentation (without API reference) and the API reference are split. (Small tabs in the video)
  • If you want to try locally, run npm run build at least once, before running npm run start. Because Pagefind index is generated in production build.

🎫 Issues

None

👩‍💻 Reviewer Notes

None

📑 Test Plan

None

✅ Checklist

General

  • I have included a change request file using $ npm run change
  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

⏭ Next Steps

None

@yujonglee
Copy link
Author

@microsoft-github-policy-service agree

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