Skip to content

Commit

Permalink
Fix links to docs
Browse files Browse the repository at this point in the history
These links are 404. They should either be .md or as in this commit with link to the pagy website.

Agreed: relative links used with .md extension. Why?

* We would want the docs to work from many domains
e.g. from your own fork of github pages, or from a
development environment. hard-coding to the main repo, while
it does work, is somewhat restrictive.
  • Loading branch information
espen authored and benkoshy committed Jul 31, 2023
1 parent 457eaec commit 3149076
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,14 @@ Or, choose from the following view helpers:

| View Helper Name | Preview (Bootstrap Style shown) |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------|
| [`pagy_nav(@pagy)`](/docs/api/frontend) | ![`pagy_nav`](/docs/assets/images/bootstrap_nav.png) |
| [`pagy_nav_js(@pagy)`](/pagy/docs/api/javascript/) | ![`pagy_nav_js`](/docs/assets/images/bootstrap_nav_js.png) |
| [`pagy_info(@pagy)`](/docs/api/frontend) | ![`pagy_info`](/docs/assets/images/pagy_info.png) |
| [`pagy_combo_nav_js(@pagy)`](/pagy/docs/api/javascript/) | ![`pagy_combo_nav_js`](/docs/assets/images/bootstrap_combo_nav_js.png) |
| [`pagy_items_selector_js`](/pagy/docs/api/javascript/) | ![`pagy_items_selector_js`](/docs/assets/images/items_selector_js.png) |
| [`pagy_nav(@calendar[:year])`](/pagy/docs/extras/calendar/)<br/>[`pagy_nav(@calendar[:month])`](/pagy/docs/extras/calendar/)<br/> (other units: `:quarter`, `:week`, `:day` and custom) | ![calendar extra](/docs/assets/images/calendar-app.png) |

_(See the [Quick Start](https://ddnexus.github.io/pagy/quick-start))_
| [`pagy_nav(@pagy)`](/docs/api/frontend.md) | ![`pagy_nav`](/docs/assets/images/bootstrap_nav.png) |
| [`pagy_nav_js(@pagy)`](/docs/api/javascript.md) | ![`pagy_nav_js`](/docs/assets/images/bootstrap_nav_js.png) |
| [`pagy_info(@pagy)`](/docs/api/frontend.md) | ![`pagy_info`](/docs/assets/images/pagy_info.png) |
| [`pagy_combo_nav_js(@pagy)`](/docs/api/javascript.md) | ![`pagy_combo_nav_js`](/docs/assets/images/bootstrap_combo_nav_js.png) |
| [`pagy_items_selector_js`](/docs/api/javascript.md) | ![`pagy_items_selector_js`](/docs/assets/images/items_selector_js.png) |
| [`pagy_nav(@calendar[:year])`](/docs/extras/calendar.md)<br/>[`pagy_nav(@calendar[:month])`](/docs/extras/calendar.md)<br/> (other units: `:quarter`, `:week`, `:day` and custom) | ![calendar extra](/docs/assets/images/calendar-app.png) |

_(See the [Quick Start](/quick-start.md))_

</details>

Expand Down

0 comments on commit 3149076

Please sign in to comment.