Skip to content

Commit

Permalink
fix for broken links in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Jun 7, 2018
1 parent c41e823 commit 9f0dec9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions docs/extras/bootstrap.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ or with a template:
This extra is composed of 4 files:

- [bootstrap.rb](https://github.com/ddnexus/pagy/blob/master/lib/pagy/extras/bootstrap.rb)
- [nav_bootstrap.html.erb](https://github.com/ddnexus/pagy/blob/master/lib/templates/nav_bootstrap.html.erb) (optional template)
- [nav_bootstrap.html.haml](https://github.com/ddnexus/pagy/blob/master/lib/templates/nav_bootstrap.html.haml) (optional template)
- [nav_bootstrap.html.slim](https://github.com/ddnexus/pagy/blob/master/lib/templates/nav_bootstrap.html.slim) (optional template)
- [nav_bootstrap.html.erb](https://github.com/ddnexus/pagy/blob/master/lib/pagy/extras/templates/nav_bootstrap.html.erb) (optional template)
- [nav_bootstrap.html.haml](https://github.com/ddnexus/pagy/blob/master/lib/pagy/extras/templates/nav_bootstrap.html.haml) (optional template)
- [nav_bootstrap.html.slim](https://github.com/ddnexus/pagy/blob/master/lib/pagy/extras/templates/nav_bootstrap.html.slim) (optional template)

## Methods

Expand Down
2 changes: 1 addition & 1 deletion docs/extras/compact.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Then use the responsive helper(s) in any view:

This extra is composed of 2 small files:

- [compact.rb](https://github.com/ddnexus/pagy/blob/master/lib/pagyextras/compact.rb)
- [compact.rb](https://github.com/ddnexus/pagy/blob/master/lib/pagy/extras/compact.rb)
- [pagy-compact.js](https://github.com/ddnexus/pagy/blob/master/lib/pagy/extras/javascripts/pagy-compact.js)

## Methods
Expand Down
2 changes: 1 addition & 1 deletion docs/extras/responsive.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Then use the responsive helper(s) in any view:
This extra is composed of 2 small files:

- [responsive.rb](https://github.com/ddnexus/pagy/blob/master/lib/pagy/extras/responsive.rb)
- [pagy-responsive.js](https://github.com/ddnexus/extras/blob/master/lib/pagy/extras/javascripts/pagy-responsive.js)
- [pagy-responsive.js](https://github.com/ddnexus/pagy/blob/master/lib/pagy/extras/javascripts/pagy-responsive.js)

## Variables

Expand Down
12 changes: 6 additions & 6 deletions docs/how-to.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,13 +296,13 @@ Pagy provides the replacement templates for the `pagy_nav` and the `pagy_nav_boo
They produce exactly the same output of the helpers, but they are slower, so use them only if you need to edit something. In that case customize a copy in your app, then use it as any other template: just remember to pass the `:pagy` local set to the `@pagy` object. Here are the links to the sources to copy:

- `pagy`
- [nav.html.erb](https://github.com/ddnexus/pagy/blob/master/lib/extras/templates/nav.html.erb)
- [nav.html.haml](https://github.com/ddnexus/pagy/blob/master/lib/extras/templates/nav.html.haml)
- [nav.html.slim](https://github.com/ddnexus/pagy/blob/master/lib/extras/templates/nav.html.slim)
- [nav.html.erb](https://github.com/ddnexus/pagy/blob/master/lib/pagy/extras/templates/nav.html.erb)
- [nav.html.haml](https://github.com/ddnexus/pagy/blob/master/lib/pagy/extras/templates/nav.html.haml)
- [nav.html.slim](https://github.com/ddnexus/pagy/blob/master/lib/pagy/extras/templates/nav.html.slim)
- `bootstrap`
- [nav_bootstrap.html.erb](https://github.com/ddnexus/pagy/blob/master/lib/extras/templates/nav_bootstrap.html.erb)
- [nav_bootstrap.html.haml](https://github.com/ddnexus/pagy/blob/master/lib/extras/templates/nav_bootstrap.html.haml)
- [nav_bootstrap.html.slim](https://github.com/ddnexus/pagy/blob/master/lib/extras/templates/nav_bootstrap.html.slim)
- [nav_bootstrap.html.erb](https://github.com/ddnexus/pagy/blob/master/lib/pagy/extras/templates/nav_bootstrap.html.erb)
- [nav_bootstrap.html.haml](https://github.com/ddnexus/pagy/blob/master/lib/pagy/extras/templates/nav_bootstrap.html.haml)
- [nav_bootstrap.html.slim](https://github.com/ddnexus/pagy/blob/master/lib/pagy/extras/templates/nav_bootstrap.html.slim)

If you need to try/compare an unmodified built-in template, you can render it right from the Pagy gem with:

Expand Down

0 comments on commit 9f0dec9

Please sign in to comment.