docs/toolbox/configuration/options.md
!!! This page documents the options hierarchy The actual options are documented alongside the paginators and helpers that consume them. !!!
Pagy implements a hierarchical options system working at three different levels, regardless where the option gets consumed.
Global
Pagy::OPTIONS[:limit] = 10 set in the pagy.rb initializer.Pagy::OPTIONS are inherited by all paginators and helpers.Paginator
pagy(paginator, collection, **options).Pagy::OPTIONS for that instance.Helper
@pagy.series_nav(**options).!!!success