invertase / invertase/docs.page
Automatic next/previous pages are wrong when using different locales
- Dominant language
- TypeScript
- Stars
- 673
- Forks
- 101
- Avg merge
- 4d 5h
- Merged PRs (30d)
- 10
Description
The automatic next and previous pages are wrong when using a locale.
All pages only have a next, which is set to the first page in the docs.
Additionally, since the last page in the docs has a next page pointing to the first page, I cannot even remove this by doing `next: null`, `next: ""`, or `next: false`.
Contributor guide
Research direction
Start by reproducing the automatic next and previous page generation with a non-default locale and inspect how the docs page order is determined. Verify the behavior on the final page, including attempts to set next to null, an empty string, or false. Done means localized navigation follows the correct page order and the final page can omit its next link.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation, localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100