Configure navigation buttons
You can configure the button text on the navigation buttons.
Update button text
Update the text of the navigation buttons for your entire portal.
To update the text:
- If you don't already have a
redocly.yaml
file, create one and add it to the root of your project. - Add the
nextButton
object, under thenavigation
object, and thetext
option with the value for the updated text. For example, the following configuration updates the navigation button text for the right-hand side button to "Go to {label for next page in sidebar}":navigation: nextButton: text: Go to {label}
- Add the
previousButton
object, under thenavigation
object, and thetext
option with the value for the updated text. For example, the following configuration updates the navigation button text for the left-hand side button to "Go back to {label for previous page in sidebar}":navigation: nextButton: text: Go to {label} previousButton: text: Go back to {label}