Pagefindex

Hex.pm][shield-hex]][hexpm] [![Hex Docs][shield-docs] [ Apache 2.0Coveralls

Runs Pagefind search indexing for static sites. Works as a Tableau extension or standalone via Mix task.

Installation

Add pagefindex to your dependencies in mix.exs:

def deps do
  [
    {:pagefindex, "~> 1.0"}
  ]
end

Documentation is found on HexDocs.

Usage

As Tableau Extension

Enable in your Tableau configuration:

config :tableau, Pagefindex.Tableau,
  enabled: true

Manual Indexing

Run the Mix task to index your site:

$ mix pagefind
$ mix pagefind --site=dist
$ mix pagefind --run-with=bun
$ mix pagefind --use-version=1.4.0
$ mix pagefind --version

The extension automatically detects your package manager (bun, pnpm, npm) and runs the appropriate Pagefind command. See the module documentation for configuration options.

Semantic Versioning

Pagefindex follows Semantic Versioning 2.0.