Skip to content

DOCSP-49580 Update Titles Guidance #189

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 15 commits into from
Jun 26, 2025

Conversation

lindseymoore
Copy link
Contributor

@lindseymoore lindseymoore commented May 8, 2025

Pull Request Process

Please read the
Style Guide Review Process
wiki page.

Contributors should take the following actions:

  • Request a PR review in #docs-style-guide Slack channel.
  • Add the Style Guide team reps as reviewers.
  • If any reviewer requests changes, address them and request another review.
  • When you receive PR review approvals from all the Style Guide team reps,
    they will merge the PR and notify you of the merge in the Slack channel.

Pull Request Description

JIRA URL: https://jira.mongodb.org/browse/DOCSP-49580

Staging URL: https://deploy-preview-189--mongodb-docs-meta.netlify.app/style-guide/style/titles-and-headings/#titles-and-headings

https://deploy-preview-189--mongodb-docs-meta.netlify.app/style-guide/seo-guidelines/

Copy link

netlify bot commented May 8, 2025

Deploy Preview for mongodb-docs-meta ready!

Name Link
🔨 Latest commit b5f9d50
🔍 Latest deploy log https://app.netlify.com/projects/mongodb-docs-meta/deploys/685c58ae55e2220008e01d6b
😎 Deploy Preview https://deploy-preview-189--mongodb-docs-meta.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

@ltran-mdb2 ltran-mdb2 left a comment

Choose a reason for hiding this comment

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

Thanks for this update @lindseymoore ! I left a small suggestion and question for your consideration

Copy link
Contributor

@stephmarie17 stephmarie17 left a comment

Choose a reason for hiding this comment

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

LGTM just left a few suggestions/comments.


- Disambiguation

Each of the following four subsections describe one of the above principles.
Copy link
Contributor

Choose a reason for hiding this comment

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

[s] Would it be possible to include an example for each principle (use vs don't use)? Might be helpful for writers who haven't started updating titles yet to see the difference.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried to provide an example in each section. More in depth examples might require a whole subsection because I would have to set up a scenario for each example. Let's see if the rest of the reviewers think deeper examples are necessary!

Use the guidelines in the following subsections to create effective and consistent
titles and headings. Special considerations for stand-alone articles, product
guides, and tables, figures, and examples can be found in the Product Guides and
Tables, Figures, and Headings subsections.
Copy link
Contributor

Choose a reason for hiding this comment

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

[s] Suggestion to add some ref links here.

Copy link
Collaborator

@jeff-allen-mongo jeff-allen-mongo left a comment

Choose a reason for hiding this comment

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

LGTM! I left some non-blocking comments. Thanks!

Copy link
Contributor

@corryroot corryroot left a comment

Choose a reason for hiding this comment

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

Great work, @lindseymoore! I added some comments to make these guidelines more active and concise.

Comment on lines 93 to 99
When considering title length, keep in mind that the product name, version
number, and "MongoDB Docs" are automatically appended when the title is passed
to a search engine. For example, for a v8.0 Server Manual page titled
"Install MongoDB", the title is 15 characters long. The full title passed to search
engines ("Install MongoDB - Database Manual v8.0 - MongoDB Docs") is 53 characters long.
The appended additions to the title can add around 18-35
characters to the title, depending on the length of the product name.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
When considering title length, keep in mind that the product name, version
number, and "MongoDB Docs" are automatically appended when the title is passed
to a search engine. For example, for a v8.0 Server Manual page titled
"Install MongoDB", the title is 15 characters long. The full title passed to search
engines ("Install MongoDB - Database Manual v8.0 - MongoDB Docs") is 53 characters long.
The appended additions to the title can add around 18-35
characters to the title, depending on the length of the product name.
When you consider title length, remember that the product name, version
number, and "MongoDB Docs" are automatically appended to the title as it passes
to a search engine. For example, for a v8.0 Server Manual page titled
"Install MongoDB", the title is 15 characters long. The full title that passes to search
engines ("Install MongoDB - Database Manual v8.0 - MongoDB Docs") is 53 characters long.
The appended additions to the title can add about 18-35
characters to the title, depending on the length of the product name.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed language to 'when passed to a search engine'. Let me if you have any further thoughts on this!

Comment on lines 19 to 24
Why Do Page Titles Matter?
--------------------------

A page title is weighted as most relevant to a user's search engine query. Name
pages appropriately to ensure users can find relevant content in the MongoDB
Documentation when using a search engine.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this belongs on the SEO page because title matter for more reasons than described.

Suggested change
Why Do Page Titles Matter?
--------------------------
A page title is weighted as most relevant to a user's search engine query. Name
pages appropriately to ensure users can find relevant content in the MongoDB
Documentation when using a search engine.
Why Do Page Titles Matter for SEO?
------------------------------------
Search engines weight page titles heavily. Name pages appropriately to ensure users can find relevant content in the MongoDB Documentation when they use a search engine.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Used this paragraph as the intro for the Titles section on the SEO page.

Comment on lines 90 to 93
Use the guidelines in the following subsections to create effective and consistent
titles and headings. Special considerations for stand-alone articles, product
guides, and tables, figures, and examples can be found in the Product Guides and
Tables, Figures, and Headings subsections.
Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, use ref links.

Suggested change
Use the guidelines in the following subsections to create effective and consistent
titles and headings. Special considerations for stand-alone articles, product
guides, and tables, figures, and examples can be found in the Product Guides and
Tables, Figures, and Headings subsections.
Use the guidelines in the following subsections to create effective and consistent
titles and headings. You can find special considerations for stand-alone articles, product
guides, tables, figures, and examples in the Product Guides and
Tables, Figures, and Headings subsections.

@docs-builder-bot
Copy link

docs-builder-bot commented Jun 23, 2025

🔄 Deploy Preview for mongodb-docs-meta processing

Item Details
🔨 Latest Commit c0119c7b5d933b6d19fb11a83f45b576061ca329
😎 Deploy Preview https://deploy-preview-189--mongodb-docs-meta.netlify.app
🔍 Build Logs View Logs

@lindseymoore lindseymoore requested a review from corryroot June 23, 2025 21:15
Copy link
Contributor

@corryroot corryroot left a comment

Choose a reason for hiding this comment

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

LGTM! I commented with a couple nits.

@lindseymoore lindseymoore merged commit 22b3844 into mongodb:master Jun 26, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants