Skip to content

Commit c7cd89c

Browse files
committed
Tweak style guide files
1 parent 981e8a7 commit c7cd89c

4 files changed

Lines changed: 64 additions & 76 deletions

File tree

content/en/docs/community-tools/contribute-to-mendix-docs/style-guide/_index.md

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,8 @@ description: "Comprehensive guidelines on terminology, grammar, formatting, incl
77

88
## Introduction
99

10-
The Documentation group maintains guidelines on terminology, grammar, formatting, inclusive language, document structuring, and image usage that are applied to the [Mendix Documentation](https://docs.mendix.com/) and the [Mendix Platform Evaluation Guide](https://www.mendix.com/evaluation-guide/).
11-
12-
The guidelines can be referenced in these sections:
13-
14-
* [Grammar & Formatting](grammar-formatting/)
15-
* [Terminology](terminology/)
16-
* [Inclusive Language](inclusive-language/)
17-
* [Structuring](structuring/)
18-
* [Images, Icons, and Videos](images-icons-videos/)
19-
* [Shortcodes, Markdown, and HTML](shortcodes-markdown-html/)
20-
* [Front Matter (Metadata)](front-matter/)
21-
* [Microcopy Guide](microcopy-guide/)
22-
* [Mendix Product Naming Guide](product-naming-guide/)
10+
The Documentation group maintains guidelines on terminology, grammar, formatting, inclusive language, document structuring, and image usage that are applied to the [Mendix Documentation](/) and the [Mendix Platform Evaluation Guide](https://www.mendix.com/evaluation-guide/).
2311

2412
The tone of the Mendix documentation is conversational, relaxed, and always straight-forward. The tone reflects the Documentation group's values.
2513

26-
Our language conventions are based on American English.
27-
28-
When editing the Evaluation Guide, you can use the WordPress shortcodes described in <https://mendix.atlassian.net/wiki/x/vwB2vg>
14+
Our language conventions are based on American English.

content/en/docs/community-tools/contribute-to-mendix-docs/style-guide/grammar-formatting.md

Lines changed: 31 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ weight: 20
55
description: "Guidelines on grammar, formatting, capitalization, punctuation, lists, headings, and other writing conventions for Mendix documentation."
66
---
77

8-
## Introduction
9-
108
## Acronyms and Initialisms
119

1210
Define technical or obscure acronyms and initialisms, and write them out fully the first time before using them throughout the rest of the document.
@@ -132,9 +130,9 @@ Use these phrases consistently when cross-referencing:
132130

133131
> For details on microflow expressions, see Triggering Logic Using Microflows.
134132
135-
> For more information, see the [Troubleshooting](https://docs.mendix.com/refguide/install/#troubleshooting) section of *Installing Mendix Studio Pro*.
133+
> For more information, see the [Troubleshooting](/refguide/install/#troubleshooting) section of *Installing Mendix Studio Pro*.
136134
>
137-
> For more information, see the [Installing Studio Pro Offline](https://docs.mendix.com/refguide/install/#offline) section below.
135+
> For more information, see the [Installing Studio Pro Offline](/refguide/install/#offline) section below.
138136
139137
Do not use bold or italics on text that is hyperlinked for a cross-reference. The formatting for hyperlinking overrides the need to bold or italicize.
140138

@@ -144,7 +142,7 @@ Only link to URLs that use HTTPS. If you're working with a URL that uses HTTP, c
144142

145143
#### APIs
146144

147-
When cross-referencing an API (like Client or Mendix Runtime) that is hosted on <http://apidocs.rnd.mendix.com> but you are only cross-referencing the index (meaning, the general API or the API in its entirety), use a relative link to our docs page for that API: <https://docs.mendix.com/apidocs-mxsdk/apidocs/> .
145+
When cross-referencing an API (like Client or Mendix Runtime) that is hosted on <http://apidocs.rnd.mendix.com> but you are only cross-referencing the index (meaning, the general API or the API in its entirety), use a relative link to our docs page for that API: <https://docs.mendix.com/apidocs-mxsdk/apidocs/>.
148146

149147
When cross-referencing an API method or a specific element of the API that the user needs to be directed to, use a link to <http://apidocs.rnd.mendix.com> . These links need to be updated/maintained per Studio Pro major version (and thus API version).
150148

@@ -176,7 +174,7 @@ You can download it for free at [Tortoise SVN](http://tortoisesvn.tigris.org/) (
176174

177175
## Dashes
178176

179-
### En Dash
177+
### En Dash {#en-dash}
180178

181179
Use an en dash (–) in definitions (do not capitalize the word after the en dash) and [number ranges](https://learn.microsoft.com/en-us/style-guide/punctuation/dashes-hyphens/enes).
182180

@@ -186,7 +184,7 @@ Use the keyboard shortcut`ALT` + `0150` (or `Option` + `Minus sign` on a Mac)
186184
187185
> 2015–2017
188186
189-
Use an en dash to set off introductory text in list items. If you use introductory text in a list item, make sure all other items in that list have introductory text too. Bold the introductory text if it appears in the UI. For more guidance about list formatting, see <https://mendix.atlassian.net/wiki/spaces/RNDHB/pages/2520678744/Grammar+Formatting#Lists>.
187+
Use an en dash to set off introductory text in list items. If you use introductory text in a list item, make sure all other items in that list have introductory text too. Bold the introductory text if it appears in the UI. For more guidance about list formatting, see [Lists](#lists).
190188

191189
> * **Decline** – Click this button to reject the request. You can also add a reason. After you decline the request, the submitter will receive a notification.
192190
> * **Download** – Click this button to download the MPK file of the component.
@@ -206,7 +204,7 @@ Use the keyboard shortcut `ALT` + `0151` (or `Option` + `Shift` + `Minus sign` o
206204
Dates should be written in the format **month day, year** where:
207205

208206
* month is either the full month in English, or a three-letter abbreviation
209-
* [day is just the cardinal number](https://mendix.atlassian.net/wiki/spaces/RNDHB/pages/2520678744/Grammar+Formatting#Numbers) (16) not the ordinal number (16th)
207+
* [day is just the cardinal number](#numbers) (16) not the ordinal number (16th)
210208
* year is four digits
211209

212210
> September 25, 2023
@@ -272,9 +270,9 @@ Using *italics* for emphasis was permissible in the past, but because italics is
272270

273271
Do not use single or double quotation marks. You may use italics if a user needs to type the entity name or bold if the name is on the screenshot and you are referring to it.
274272

275-
## File Formats
273+
## File Formats {#file-formats}
276274

277-
Capitalize file formats for consistency. This should make file formats consistent with <https://mendix.atlassian.net/wiki/spaces/RNDHB/pages/2520678744/Grammar+Formatting#Languages> (while covering both options if necessary).
275+
Capitalize file formats for consistency. This should make file formats consistent with [Languages](#languages) (while covering both options if necessary).
278276

279277
Note that file formats can differ from extensions, and file names and extensions are formatted differently (see below).
280278

@@ -372,9 +370,9 @@ For unversioned content and for Studio Pro 10 and above, include Mac instruction
372370

373371
> Press <kbd>Ctrl</kbd> + <kbd>G</kbd> (or <kbd>Command</kbd> + <kbd>G</kbd> on a Mac).
374372
375-
## Languages
373+
## Languages {#languages}
376374

377-
Capitalize languages. This should make languages consistent with <https://mendix.atlassian.net/wiki/spaces/RNDHB/pages/2520678744/Grammar+Formatting#File-Formats> (while covering both options if necessary).
375+
Capitalize languages. This should make languages consistent with [File Formats](#file-formats) (while covering both options if necessary).
378376

379377
> HTML, XML, XSC, WSDL
380378
@@ -388,7 +386,7 @@ Do not use "i.e." Use "That is,…", "Meaning,…", or "As in,…" instead.
388386

389387
> These panes are dockable (that is, you can move a pane to a different position on the screen and place it there).
390388
391-
## Lists
389+
## Lists {#lists}
392390

393391
For technical guidance on lists, see Shortcodes, Markdown, and HTML.
394392

@@ -428,7 +426,7 @@ In general, do not use periods at the end of bullet points, as bullet points sho
428426

429427
You can use a colon at the end of a list item to introduce an image directly following the next step, helping to maintain the connection.
430428

431-
If your list items contain introductory text, you can set the introductory text off with an en dash, with a space on either side (as shown in the <https://mendix.atlassian.net/wiki/spaces/RNDHB/pages/2520678744/Grammar+Formatting#En-Dash> section).
429+
If your list items contain introductory text, you can set the introductory text off with an en dash, with a space on either side (as shown in the [En Dash](#en-dash) section).
432430

433431
Make all the items in a list consistent in structure. If one item in the list uses introductory text, all items in the list should have introductory text. If one item uses full sentences with periods, all of them should.
434432

@@ -444,7 +442,7 @@ If you need to write text that includes Markdown symbols for bold or italics, wi
444442

445443
> `\_propertyName\_`
446444
447-
To render a URL without it being automatically turned into a clickable link, you can also use code formatting. For more details, see <https://mendix.atlassian.net/wiki/spaces/RNDHB/pages/2520678744/Grammar+Formatting#URLs>.
445+
To render a URL without it being automatically turned into a clickable link, you can also use code formatting. For more details, see [URLs](#urls).
448446

449447
> `www.my-example-address.com`
450448
@@ -454,7 +452,7 @@ Menu items should be capitalized.
454452

455453
Menu items should be **bolded** in the documentation.
456454

457-
## Numbers
455+
## Numbers {#numbers}
458456

459457
Write out numbers 1–10 (for example, "five") unless you are providing an example of data that is being entered into the system (in which case you would also italicize the number).
460458

@@ -484,11 +482,25 @@ Assume that the reader is the person who's doing the tasks that you're documenti
484482

485483
Always use "Mendix" instead of "we" in the regular documentation. Use "we" only in the Studio Pro release notes, which are written from the perspective of PMs or developers.
486484

485+
## Procedures and Examples
486+
487+
Use imperative mood for direct user instructions in procedural steps.
488+
489+
> Click **Save**.
490+
>
491+
> Enter the command `ollama pull model-id`.
492+
493+
Use descriptive language when referring to examples that illustrate the instructions. Do not write examples as if they are instructions to the user.
494+
495+
> This example uses DeepSeek-R1.
496+
497+
Do not convert descriptive example statements into imperative instructions, and do not convert instructions into passive descriptions.
498+
487499
## Personal or Sensitive Information
488500

489501
In text, screenshots, and code samples, do not show any personal or sensitive information, which includes, but is not limited to, real names, real email addresses, profile pictures of real users, API keys, and OpenIDs. Remove or blur out this information, or replace it with fake information. You can replace an OpenID with a random UUID that you generate using a [UUID generator](https://www.uuidtools.com/v4).
490502

491-
## Placeholders
503+
## Placeholders {#placeholders}
492504

493505
### Placeholders In Sample Code
494506

@@ -520,7 +532,7 @@ Do not put optional plurals in parentheses, for example "app(s)". Instead, use e
520532

521533
Use double quotation marks (") instead of single quotation marks (') in the text when necessary to bring attention to certain terms or differentiate terms.
522534

523-
Single quotation marks (')—otherwise known as apostrophes in Unicode—should only be used in code snippets where necessary (meaning, where they are *actually* in the code, and not used to just *identify* code). In that case, apply code formatting (using "`" or "```"). They can be used as ornaments around placeholders only if they appear in the product UI. For more information, see [Placeholders](https://mendix.atlassian.net/wiki/spaces/RNDHB/pages/2520678744/Grammar+Formatting#Placeholders).
535+
Single quotation marks (')—otherwise known as apostrophes in Unicode—should only be used in code snippets where necessary (meaning, where they are *actually* in the code, and not used to just *identify* code). In that case, apply code formatting (using "`" or "```"). They can be used as ornaments around placeholders only if they appear in the product UI. For more information, see [Placeholders](#placeholders).
524536

525537
## Serial Comma
526538

@@ -530,7 +542,7 @@ We use the serial comma. (And we defend its usage when necessary!)
530542

531543
Use a single space between a period and the first word of the next sentence.
532544

533-
## URLs
545+
## URLs {#urls}
534546

535547
Format an example URL (as in, one that does not need to be hyperlinked because it does not go to a Mendix or third-party site) with the Markdown code format. This is to avoid having the link appear as a broken third-party link during a link check.
536548

0 commit comments

Comments
 (0)