Skip to content

Commit 1debb2a

Browse files
authored
(DOCSP-41504, DOCSP-41866, DOCSP-41583): Adds TOC label guidance, SEO, and spelling updates. (#175)
* (DOCSP-41504): Adds TOC label guidance, SEO, and spelling updates. * (DOCSP-41504): Incorporated feedback. * (DOCSP-41504): Incorporated Jeff's feedback.
1 parent 57e96b7 commit 1debb2a

File tree

6 files changed

+145
-12
lines changed

6 files changed

+145
-12
lines changed

source/style-guide/seo-guidelines.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ Use the following SEO best practices for page and subsection titles:
7676

7777
- Use unique page titles. Identical titles, even between
7878
documentation sets, compete in search results.
79+
80+
- Don't include "MongoDB" in a title unless the page is a product
81+
landing page.
7982

8083
To learn more, see :ref:`titles-and-headings`.
8184

source/style-guide/style/index.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ instructions for applying style conventions.
4040
/style-guide/style/punctuation
4141
/style-guide/style/symbols
4242
/style-guide/style/tables
43+
/style-guide/style/toc-labels
4344
/style-guide/style/tasks
4445
/style-guide/style/telephone-numbers
4546
/style-guide/style/text-formatting

source/style-guide/style/product-names-version-numbers.txt

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,22 @@ the following guidelines:
1919
* - Spell out and properly capitalize MongoDB product and service
2020
names.
2121
-
22-
- MongoDB Atlas
23-
- MongoDB Compass
22+
- Atlas
23+
- Compass
2424

25-
* - Use the full MongoDB product name on the first mention.
26-
Subsequent mentions may use the product name without MongoDB.
25+
* - Don't include "MongoDB" in a title unless the page is a product
26+
landing page.
27+
28+
Use the full MongoDB product name on the first mention in the
29+
body text. Subsequent mentions may use the product name without
30+
MongoDB.
2731

2832
- .. list-table::
2933
:widths: 50 50
3034
:header-rows: 1
3135

32-
* - First mention
33-
- Subsequent mentions
36+
* - Landing page or first mention
37+
- All other mentions
3438

3539
* - MongoDB Atlas
3640
- Atlas
@@ -85,7 +89,7 @@ the following guidelines:
8589
* - Use full, three-digit version numbers when referring to a
8690
specific release or feature. Use the two-digit release series
8791
when referring to a common feature.
88-
- MongoDB Ops Manager 4.2.13 supports queryable restores for
92+
- Ops Manager 4.2.13 supports queryable restores for
8993
MongoDB 4.2 deployments.
9094

9195
Examples
@@ -101,7 +105,7 @@ Examples
101105
* - Use Atlas to create a cluster.
102106
- Use Atlas to create a Cluster.
103107

104-
* - Use MongoDB Ops Manager to create users.
108+
* - Use Ops Manager to create users.
105109
- Use MOM to create Users.
106110

107111
* - You can add collections to a database.

source/style-guide/style/titles-and-headings.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,11 @@ guides, and tables, figures, and examples follow this list.
7474
- Create succinct, meaningful, descriptive titles and headings, and
7575
place the most important words first.
7676

77-
- Ensure that each title and heading is unique within a given content
78-
set.
77+
- Ensure that each title and heading is unique. Identical titles, even
78+
between documentation sets, might compete in search results.
79+
80+
- Don't include "MongoDB" in a title unless the page is a product
81+
landing page.
7982

8083
- Include articles, prepositions, and punctuation as needed for
8184
clarity. However, avoid using an article (*a*, *an*, or *the*) as the
@@ -277,11 +280,12 @@ contents (TOC) for a collection of content:
277280
- Entries in the TOC should link only to sections in the content.
278281
Don't include a link to an outside resource in the TOC.
279282

280-
- The text of a TOC entry should match the text of the title or
283+
- The text of a TOC entry should align with the text of the title or
281284
heading to which it links. If the link needs to be shorter, consider
282285
shortening the title or heading or providing a more concise title or
283286
heading for the TOC. An alternate TOC title or heading should convey
284-
the same intent of the full title or heading.
287+
the same intent of the full title or heading. To learn more, see
288+
:ref:`toc-labels`.
285289

286290
.. example::
287291

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
.. _toc-labels:
2+
3+
========================
4+
Table of Contents Labels
5+
========================
6+
7+
.. contents:: On this page
8+
:local:
9+
:backlinks: none
10+
:depth: 1
11+
:class: singlecol
12+
13+
Table of Contents (TOC) labels refer to the headings or titles used to
14+
represent the various sections or pages of our documentation in the
15+
TOC. The TOC provides an organized list of the documentation's
16+
structure and content.
17+
18+
Each entry in the TOC typically includes a label or heading that
19+
corresponds to a section or page in the documentation. These labels
20+
give users a quick overview of the topics covered and help them
21+
navigate to specific parts of the documentation more efficiently.
22+
23+
When you create a TOC, you can generate these labels automatically
24+
based on the titles of your pages, or specify labels that differ from
25+
the page title.
26+
27+
Page titles and Table of Contents (TOC) labels serve distinct purposes.
28+
We should craft them with different considerations.
29+
30+
TOC labels and page titles can match. However, we should define them
31+
separately even when they match for added flexibility. This approach
32+
ensures that we can easily implement any future changes without
33+
affecting the other element. Separate definitions for TOC labels and
34+
page titles contribute to organized content management and a seamless
35+
user experience.
36+
37+
While both page titles and TOC labels contribute to the overall user
38+
experience, page titles focus more on attracting users and SEO, while
39+
TOC labels prioritize representing the document's structure and aiding
40+
in navigation within the document itself.
41+
42+
Page Titles
43+
-----------
44+
45+
- Optimize page titles for search engines. They should include relevant
46+
keywords to improve the page's discoverability in search results. To
47+
learn more, see :ref:`seo-guidelines`.
48+
49+
- Create succinct, meaningful, descriptive page titles, and place the
50+
most important words first. Page titles should have a maximum of 70
51+
characters and provide a quick overview of the content. Search
52+
results or browser tabs might truncate extra long titles. Avoid
53+
excessive or irrelevant words (keyword stuffing).
54+
55+
- While we should craft concise titles, include enough information to
56+
confirm to the user that they have landed in the right place. A page
57+
title can provide more detail than a TOC label.
58+
59+
- Ensure that each title and heading is unique. Identical titles, even
60+
between documentation sets, might compete in search results.
61+
62+
- Don't include "MongoDB" in a title unless the page is a product
63+
landing page.
64+
65+
- Aim to attract users and encourage them to click on the link. Include
66+
phrases users might search for, or tasks they might want to
67+
accomplish.
68+
69+
- Create page titles that are readable and effective on various
70+
devices, including mobile. This involves considering character limits
71+
and readability on smaller screens.
72+
73+
- Use a consistent grammatical structure, style, and tone across all
74+
page titles to maintain a unified and professional appearance. For
75+
example, use verbs to indicate procedural content.
76+
77+
78+
To learn more, see :ref:`titles-and-headings`.
79+
80+
TOC Labels
81+
----------
82+
83+
- While the automatic labels make it easier for writers to
84+
update the TOC as the content evolves, long titles interfere with
85+
efficient navigation. We recommend that you specify TOC labels to
86+
enhance the document's accessibility and usability.
87+
88+
- Craft clear and descriptive TOC labels that convey the content of
89+
each section or page accurately. Users should understand the context
90+
from the TOC label and its placement in the overall TOC hierarchy.
91+
92+
- Ensure your TOC label fits on a single line of text. Let the
93+
placement of the TOC label in the overall TOC hierarchy provide
94+
context. Avoid redundancy and repetition. The page title itself can
95+
provide more detail and confirm to the user that they have landed in
96+
the right place. To this end, you can use industry standard
97+
abbreviations and the ampersand when needed.
98+
99+
.. important::
100+
101+
In favor of brevity, TOC labels do allow for the the ampersand ( & ) symbol.
102+
103+
- Don't stray so far from the original page title that you disorient
104+
the user.
105+
106+
- TOC labels should follow a logical order that reflects the
107+
documentation's flow. You might include numbering or an order that
108+
makes sense for the documentation's purpose.
109+
110+
- TOC labels primarily aid user navigation. Users should be able to
111+
quickly locate and go to specific sections of interest.
112+
113+
- In technical documentation, TOC labels may use specialized technical
114+
terminology and acronyms to accurately represent the content within
115+
each section or page.

source/style-guide/terminology/general-term-guidelines/use-consistent-terms.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ industry dictionary or style guide, or for your particular project.
1111
Each word or phrase should have only one meaning, and should be used
1212
consistently throughout the documentation.
1313

14+
- Use American English spelling instead of British English spelling.
15+
16+
.. example::
17+
18+
Use "gray" instead of "grey" and "color" instead of "colour".
19+
1420
- The |mdbsg| uses the *Merriam-Webster’s Collegiate Dictionary*. 11th
1521
ed. Springfield, MA: Merriam-Webster, 2003. Continually updated at
1622
https://www.merriam-webster.com/.

0 commit comments

Comments
 (0)