abhinav / doc2go

Your Go project's documentation, to-go.
https://abhinav.github.io/doc2go
Apache License 2.0
90 stars 7 forks source link

Add client-side search with Pagefind #202

Closed abhinav closed 9 months ago

abhinav commented 9 months ago

Adds client-side using Pagefind. To configure this functionality, there are three options:

This feature cannot be used in combination with --embed.

To make this nice, break RenderSiteIndex off from RenderPackageIndex. The root level site for -subdir is different from a package index. It has a different template, and does not get a pagefind search box.

Resolves #75