Skip to content

Commit

Permalink
fix for a few missing lines in the extras docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Nov 18, 2018
1 parent aacc487 commit 7bf9d14
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/extras/array.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ That means that you can paginate the array independently from any other kind of

See [extras](../extras.md) for general usage info.

In the `pagy.rb` initializer:

```ruby
require 'pagy/extras/array'
```

In a controller:

```ruby
Expand Down
6 changes: 6 additions & 0 deletions docs/extras/bulma.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ This extra adds nav helper and templates for the Bulma CSS [pagination component

See [extras](../extras.md) for general usage info.

In the `pagy.rb` initializer:

```ruby
require 'pagy/extras/bulma'
```

Render the navigation links in some view...
with a fast helper:

Expand Down
6 changes: 6 additions & 0 deletions docs/extras/elasticsearch_rails.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ Paginate `ElasticsearchRails::Results` objects efficiently avoiding expensive ob

See [extras](../extras.md) for general usage info.

In the `pagy.rb` initializer:

```ruby
require 'pagy/extras/elasticsearch_rails'
```

In a controller:

```ruby
Expand Down
6 changes: 6 additions & 0 deletions docs/extras/foundation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ This extra adds nav helper and templates for the Foundation [pagination componen

See [extras](../extras.md) for general usage info.

In the `pagy.rb` initializer:

```ruby
require 'pagy/extras/foundation'
```

Render the navigation links in some view...
with a fast helper:

Expand Down
6 changes: 6 additions & 0 deletions docs/extras/materialize.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ This extra adds nav helpers for the Materialize CSS [pagination component](https

See [extras](../extras.md) for general usage info.

In the `pagy.rb` initializer:

```ruby
require 'pagy/extras/materialize'
```

Render the navigation links in some view...
with a fast helper:

Expand Down
6 changes: 6 additions & 0 deletions docs/extras/searchkick.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ The `Searchkick::Results` object has already done pagination calculations, we ju

See [extras](../extras.md) for general usage info.

In the `pagy.rb` initializer:

```ruby
require 'pagy/extras/searchkick'
```

In a controller:

```ruby
Expand Down
3 changes: 2 additions & 1 deletion docs/extras/trim.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ This extra is needed only for very specific scenarios, for example if you need t

See [extras](../extras.md) for general usage info.

In the `pagy.rb` initializer:

```ruby
# in the Pagy initializer
require 'pagy/extras/trim'
```

Expand Down

0 comments on commit 7bf9d14

Please sign in to comment.