docs
docs copied to clipboard
Fix broken #syntax-exceptions link
Why:
Closes #20540
Fixes the link [some exceptions](#syntax-exceptions) from earlier in the doc which currently doesn't go anywhere, since it was broken by the recent change https://github.com/github/docs/commit/384473f626f409b0731ca558305c5673453ece30.
What's being changed (if available, include any code snippets, screenshots, or gifs):
This change re-adds a minor header to the Code owners doc's syntax exceptions warning block so the link to that area will again work as intended.
Note to reviewers: the Preview doesn't render the warning block, so I can't tell if the header conflicts with the non-Markdown warning block.
| Existing | Header (discarded) | Span id (this PR) |
|---|---|---|
![]() |
![]() |
![]() |
Check off the following:
- [x] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
- [x] For content changes, I have completed the self-review checklist.
Writer impact (This section is for GitHub staff members only):
- [ ] This pull request impacts the contribution experience
- [ ] I have added the 'writer impact' label
- [ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")
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.
Automatically generated comment ℹ️
This comment is automatically generated and will be overwritten every time changes are committed to this branch.
The table contains an overview of files in the content directory that have been changed in this pull request. It's provided to make it easy to review your changes on the staging site. Please note that changes to the data directory will not show up in this table.
Content directory changes
You may find it useful to copy this table into the pull request summary. There you can edit it to share links to important articles or changes and to give a high-level overview of how the changes in your pull request support the overall goals of the pull request.
| Source | Preview | Production | What Changed |
|---|---|---|---|
repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners.md |
fpt ghec ghes@ 3.6 3.5 3.4 3.3 3.2 ghae |
fpt ghec ghes@ 3.6 3.5 3.4 3.3 3.2 ghae |
fpt: Free, Pro, Team ghec: GitHub Enterprise Cloud ghes: GitHub Enterprise Server ghae: GitHub AE
@mLuby Thanks for opening a PR and linking to your issue. We also appreciate all the great details you've provided! ✨
Good catch on this one. I'll get it triaged for review! 👀
👋 @mLuby - After looking at this and chatting with the team, I think we would like to see a different approach here. We appreciate your solution, but would like to see this warning box moved to the top of this sub section for better visibility and remove the inline link in question. Would you be up for that?
- Remove the
, with [some exceptions](#syntax-exceptions)part from line 50, ending the sentence after the word "files". - Move the warning box - lines 120 to 127 - up in this section, right under the
CODEOWNERS syntaxheading on line 49.
If not, let me know and we will take care of it internally. Thanks again for catching this! ⚡
A stale label has been added to this pull request because it has been open 7 days with no activity. To keep this PR open, add a comment or push a commit within 3 days.
Thanks for bringing this up and offering your clever fix. I made some tweaks so that it aligned better with our style guide. I'll get this merged once the tests have passed ✅
Thank you for interest in improving the docs! 💛
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 :zap:


