Guidelines for Approving Pull Requests
Before you begin
You should be familiar with the content in the Guidelines for Reviewing Pull Requests and understand how to apply those guidelines to your review/approval.
Best practices
- Be polite and considerate.
- If you are asking for a lot of changes on a review, make sure at least one comment is a positive one.
- Make sure your review comments are constructive not destructive.
- Do not turn a review into a sparring match.
- If you are a Committer or very experienced Contributor and you see a PR from a new Contributor that needs a lot of changes, consider reaching out to that new Contributor and offer to discuss and/or have a pair writing session.
- Avoid changing PR content other than typos or broken links.
- Ask clarifying questions in a way that doesn’t put the author on the defensive
- If you think there’s a better way to present content, mention it in your review and then ask what the author thinks.
- If you notice style guide violations, politely point out the issue, or use the GitHub Insert a suggestion functionality to suggest a change, and then link to the relevant section in the style guide to explain why you are suggesting the change. The most common style guide violation is using passive voice instead of active voice.
- For PRs written by the engineers, wait until all the technical reviews and feedback from those reviews is done before copy editing and pushing commits to the PR. If you want to change or enhance the content, let the author know before you start.
Approval checklist
- Do all the items listed in the Reviewer checklist.
- Ensure there is good SEO content
- Test that the content renders correctly (use the Netlify deploy preview).
- Make sure the content is accurate, concise, and well-organized.
- If a task or tutorial, the steps work.
SEO guidelines
https://developers.google.com/search/docs/beginner/seo-starter-guide for in-depth SEO guidelines and explanations.
Page file names
Use simple, human-readable, and logical URL paths for your pages and provide clear and direct internal links within the site.
Page titles
Google analyzes the content of the page, catalogs images and video files embedded on the page, and otherwise tries to understand the page.
When listing search results, Google truncates longer page titles but still finds keywords in the entire title when building the index.
Create short, meaningful titles that accurately reflect the page content. Include relevant keywords. Do not sacrifice accuracy (or keyword) for brevity. Armory’s priority is accurate/descriptive page titles, but do your best to keep them a manageable length.
Approver SEO checklist
To improve our placement in search rankings, keep these in mind when editing and approving PRs:
- Title should be descriptive and contain keywords if possible (Spinnaker, Kubernetes, AWS, Armory Platform, etc). Use natural language and ensure that the content of the page is clearly expressed. Notes:
- titles should be no longer than 60 characters maximum. 55 is preferred. This includes the standard "| Armory docs" that is appended
- Go from unbranded to branded terms as appropriate (e.g., don't lead with Armory, lead with terms that are generally searched for)
- All titles should be unique.
- The title should not be the exact same as the title (H1) on the page.
- Front matter
description
turns into ameta
tag when compiled; should be no longer than 160 characters and also contain keywords because search engines look for this meta description. Notes:- Make sure that the language is natural and clearly describes what the user will find on the page.
- Do not make it a duplicate of the title.
- Make it enticing and clear - e.g., what you will learn, what problems it solves, etc.
- H2 and H3 tags should be contain keywords if it makes sense; header tags send valuable ranking signals to Google and provide context to bots
- "Overview of pipelines" rather than "Overview"
- "Prerequisites for deploying to …" rather than "Prerequisites" (Yes, it may be repetitive but SEO rankings are voodoo)
- Short intro sections directly below header tags (1-2 sentences is enough) that include the keyword target
- Link to other relevant content using keyword-focused anchor text
- Anchor text sends ranking signals to Google. When you use keywords in the anchor text, that reinforces the keyword targeting of the linked page. Plus, it can be clearer for users and shows them exactly what the link they’re clicking focuses on.
- In general, internal links between content are powerful for SEO. When you link from a high-ranking, high-traffic page to another page, it passes some of that page’s power on to other areas of the site.
- You can use the
linkWithTitle
shortcode to insert the page title as the link text
- Page URLs
- Ensure that the url is human readable and clearly conveys the page content. If/as applicable include the priority keyword in the url.
- use lower case only and hyphens
- Images
- Ensure that all images have alt tags that are clear descriptions of what the images express. Include keyword(s) if/as appropriate.
- Ensure that the image name is human readable and conveys what the image is
- SEO resources
Feedback
Was this page helpful?
Thank you for letting us know!
Sorry to hear that. Please tell us how we can improve.
Last modified October 17, 2023: (aa87b671)