Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to change the "Previous page" and "Next page" labels in the default theme #893

Closed
4 tasks done
soetz opened this issue Jul 1, 2022 · 3 comments · Fixed by #897
Closed
4 tasks done
Labels
enhancement New feature or request theme Related to the theme

Comments

@soetz
Copy link

soetz commented Jul 1, 2022

Is your feature request related to a problem? Please describe.

Right now it’s not possible to change the text in the prev/next links that are displayed at the bottom of pages with the default theme.
Screenshot 2022-07-01 at 23 45 56

This is not very elegant when you’re working with non-English docs :)

Describe the solution you'd like

I guess a themeConfig.docFooter.[prev|next] option, or something similar, would do the trick.

Describe alternatives you've considered

One option would be building a custom theme that extends the default one and overriding VPDocFooter.vue, but imo this feature could also benefit a lot of users of the default theme.

Additional context

Thanks for being awesome!

Validations

@brc-dd brc-dd added enhancement New feature or request theme Related to the theme labels Jul 2, 2022
@brc-dd
Copy link
Member

brc-dd commented Jul 2, 2022

Yeah, we should add this. I am guessing that every other such placeholder can already be customized? Like edit links and that outline thing.

@userquin
Copy link
Member

userquin commented Jul 2, 2022

#758

@soetz
Copy link
Author

soetz commented Jul 2, 2022

Wow, that was fast! Thanks folks!! 🔥

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request theme Related to the theme
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants