-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Generated Sidebar Pagination will not use doc Label but the File Name #9781
Copy link
Copy link
Closed
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executiondifficulty: starterIssues that are starter difficulty level, e.g. minimal tweaking with a clear test plan.Issues that are starter difficulty level, e.g. minimal tweaking with a clear test plan.domain: content pluginRelated to content plugin emitting metadata for theme consumptionRelated to content plugin emitting metadata for theme consumption
Metadata
Metadata
Assignees
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executiondifficulty: starterIssues that are starter difficulty level, e.g. minimal tweaking with a clear test plan.Issues that are starter difficulty level, e.g. minimal tweaking with a clear test plan.domain: content pluginRelated to content plugin emitting metadata for theme consumptionRelated to content plugin emitting metadata for theme consumption
Type
Fields
Give feedbackNo fields configured for issues without a type.
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clearoryarn clearcommand.rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages.Description
When generating pagination from the sidebar, the "Next" and "Previous" Cards will ignore the doc label and default to the file name. (when the doc has no H1 or Title property)
Reproducible demo
No response
Steps to reproduce
Expected behavior
The generated Pagination would use the label property from the sidebar and not the file name
Actual behavior
The generated Pagination ignores the label property from the sidebar and uses the file name
Your environment
Self-service