Skip to content

Commit

Permalink
doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Aug 6, 2021
1 parent 7187101 commit 2715660
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/extras/meilisearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ This constructor accepts a Meilisearch as the first argument, plus the usual opt

## Pagy::Meilisearch

Extend your model with the Pagy::Meilisearch` micro-moudule:
Extend your model with the `Pagy::Meilisearch` micro-moudule:

```ruby
extend Pagy::Meilisearch
Expand Down
2 changes: 1 addition & 1 deletion docs/extras/metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ This extra adds a single method to the `Pagy::Backend` (available in your contro

### pagy_metadata(pagy, absolute: nil)

This method returns a hash with the keys/values defined by the `:metadata` variable. When true, the `url` boolean argument will cause all the `:*_url` metadata to be absolute instead of relative.
This method returns a hash with the keys/values defined by the `:metadata` variable. When true, the `absolute` boolean argument will cause all the `:*_url` metadata to be absolute instead of relative.
4 changes: 2 additions & 2 deletions docs/how-to.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,9 +400,9 @@ Ransack `result` returns an `ActiveRecord` collection, which can be paginated ou
@pagy, @people = pagy(@q.result)
```
## Paginate Elasticsearch results
## Paginate search results
Pagy has a couple of extras for gems returning elasticsearch results: [elasticsearch_rails](extras/elasticsearch_rails.md), [searchkick](extras/searchkick.md) and [meilisearch](extras/meilisearch.md)
Pagy has a few of extras for gems returning search results: [elasticsearch_rails](extras/elasticsearch_rails.md), [searchkick](extras/searchkick.md) and [meilisearch](extras/meilisearch.md)
## Paginate pre-offsetted and pre-limited collections
Expand Down

0 comments on commit 2715660

Please sign in to comment.