ytaoCrow opened a new pull request, #1492:
URL: https://github.com/apache/mahout/pull/1492
# [Docs] Fix front matter on the PR policy page
## Description
The PR policy page shows `title` and `sidebar_label` in the page content and
uses
`Pr Policy And Review Guidelines` as its title.
The front matter sits below the ASF license comment, but `sync-docs.js` only
reads
it at the start of the file. The script therefore leaves it in the body and
falls
back to a title generated from the filename.
## Changes
Move the front matter to the top of
`docs/community/pr-policy-and-review-guidelines.md` so the existing parser
picks up
the title and sidebar label. The license comment and policy text are
unchanged.
## Testing
- Ran the existing parser against the file before and after the change. The
updated
file returns the expected title and sidebar label, with neither field left
in the body.
- Checked the diff to confirm that the license and policy text are unchanged.
- Full Docusaurus build and website preview: not run.
## Related issues
No linked issue.
## Additional information
### Before (published website)

### After (local editor preview)

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]