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

feat: support to search across pages #99

Merged
merged 3 commits into from
Jan 15, 2025
Merged

Conversation

Myriad-Dreamin
Copy link
Owner

We can borrow solution from https://github.com/rust-lang/mdBook/blob/v0.4.43/src/renderer/html_handlebars/search.rs

It should be great enough that our first PR only supports to search first 512 characters of each chapters. Then we can also extract headings and adds them to the search indices.

@Myriad-Dreamin Myriad-Dreamin linked an issue Jan 15, 2025 that may be closed by this pull request
@Myriad-Dreamin Myriad-Dreamin changed the title feat: support search across pages feat: support to search across pages Jan 15, 2025
@Myriad-Dreamin Myriad-Dreamin merged commit 8402d83 into main Jan 15, 2025
22 checks passed
@Myriad-Dreamin Myriad-Dreamin deleted the support-cross-page-search branch January 15, 2025 17:20
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.

[Feature request] search labels and content across pages
1 participant