Skip to content

Update using-yaml-frontmatter.md #39695

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

Merged
merged 3 commits into from
Aug 7, 2025
Merged

Conversation

vit100-trader
Copy link
Contributor

Why:

title tag is required according to this code:

required: ['title', 'versions'],

What's being changed (if available, include any code snippets, screenshots, or gifs):

  • The title field in YAML frontmatter is now marked as required instead of optional, making it clear that every page must specify a human-friendly title.

@Copilot Copilot AI review requested due to automatic review settings August 6, 2025 16:44
Copy link

welcome bot commented Aug 6, 2025

Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the documentation to correctly reflect that the title field in YAML frontmatter is required rather than optional. The change aligns the documentation with the actual code implementation that validates the presence of the title field.

  • Updated the title field documentation from "Optional" to "Required"

@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Aug 6, 2025
Copy link
Contributor

github-actions bot commented Aug 6, 2025

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
contributing/writing-for-github-docs/using-yaml-frontmatter.md fpt
ghec
ghes@ 3.17 3.16 3.15 3.14
fpt
ghec
ghes@ 3.17 3.16 3.15 3.14

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

@Sharra-writes
Copy link
Contributor

@vit100-trader Looks good! Thanks for catching that. I'll get this added to the merge queue once checks are passing.

@Sharra-writes Sharra-writes added this pull request to the merge queue Aug 7, 2025
Merged via the queue into github:main with commit 4bb21ce Aug 7, 2025
42 checks passed
Copy link
Contributor

github-actions bot commented Aug 7, 2025

Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our help wanted issues

@vit100-trader vit100-trader deleted the patch-1 branch August 7, 2025 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Do not begin working on this issue until triaged by the team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants