To document a complete task (such as Create a new project), use numbered lists to organize separate steps into a sequence of steps.
- Use indented numbered lists to document substeps.
- Avoid numbered lists that comprise more than 10 steps or steps that comprise more than 10 substeps.
- If you have more than 10 steps or steps with more than 5-10 substeps, consider separating into multiple tasks.
Each step (numbered item) must include a verb that guides the completion of the step.
<!-- Bad -->The status changes to **Completed**.<!-- Good -->From **Status**, select **Completed**.
Make sure that steps are discrete and that their related verbs sound instructive. Do not put more than one action in a single step unless the step finishes with the action to confirm or cancel that involves the click of a specific button or UI control.
<!-- Bad -->When you click **Invite Member** and the **Add member** pop-up opens, select the role for the new team member.<!-- Good -->1. Click **Invite Member**.2. In the **Add member** pop-up, select the role for the new team member and click **Invite**.
If you need to describe the results of a step, separate them with a line break so that they appear indented on a new line under the step.
<!-- Good -->1. Click **Invite Member**.<br />Your team member receives an email with a link to join the project.
Avoid the description of obvious results that happen when a user carries out a step.
<!-- Bad -->1. From the **Edit** menu, select **Copy**.<br />The text is copied to the clipboard.
Use bold for the names of all UI controls.
|radio buttons||Under Payment method, select Wire transfer.|
|checkboxes||• Select Include sample data.|
• Clear Include sample data.
|drop-down menus||• From GitHub Accounts & Organizations, select an account or organization.|
• From Static IPs, select Enabled.
• From Branch, select the repository branch for this environment.
|links||Click Learn more.|
|menu names||Click File.|
|menu items||Select Open.|
|menu cascades||Select File > Save.|
|hamburger menu / three-dot menu||• Click the three-dot menu and select Make default.|
• Click the hamburger menu and select Make default.
|tab||• Select the macOS tab.|
• Click the Network tab.
|page||On the Configure project page, …|
|window||In the Payment information pop-up window, enter the details for your payment method.|
|screen/tab||On the Data Browser screen, select a record.|
|pane/panel||In the Configuration panel, click Network.|
|section||Under Data Proxy, select Enabled from Static IPs.|
When you document an interaction with a UI element, begin steps with a reference to the name of the UI element to help readers navigate and scan the listed steps more easily.
<!-- Bad -->1. Enter a name for your project in **Display Name**.2. Select a GitHub account or an organization from **GitHub Accounts & Organizations**.3. Select **Create a repository**.4. (Optional) Enter a name for the repository in **Repository Name**.<!-- Good -->1. In **Display Name**, enter a name for your project.2. From the **GitHub Accounts & Organizations** drop-down menu, select a GitHub account or an organization.3. Select **Create a repository**.4. (Optional) In **Repository Name**, enter a name for the repository.
Add the text (Optional) at the beginning of optional steps. Do so even when they are written with an “If…” statement.
<!-- Good -->1. (Optional) From **Static IPs**, select **Enabled** if your database is behind a firewall and you can only configure external access from specific IP addresses. Copy the IP addresses and add them to the allowlist of your database.2. (Optional) If your database is behind a firewall and you can only configure external access from specific IP addresses, then from **Static IPs**, select **Enabled**.<!-- Bad -->1. If your database is behind a firewall and you can only configure external access from specific IP addresses, then from **Static IPs**, select **Enabled**.
It can feel excessive to include the UI term for each UI element when you write steps for interacting with UI.
To make UI steps easier to read, in most cases you can omit the UI term for each UI element.
From the GitHub Accounts & Organizations drop-down menu, select a GitHub account or an organization.
From GitHub Accounts & Organizations, select a GitHub account or an organization.
In the Display Name text box, enter a name for your project.
In Display Name, enter a name for your project.
Select the Create a repository option.
Select Create a repository.
Deselect the Include sample data check box to skip seeding the database with sample data.
Clear Include sample data to skip seeding the database with sample data.
In specific cases, calling out the UI control name brings clarity and makes it easy to document a more complex step. Use your judgement and avoid this rule in such cases.
<!-- Bad -->Under _Data Proxy_, from **Location**, select the geographic location for the Data Proxy.Under _Data Proxy_ and from **Location**, select the geographic location for the Data Proxy.<!-- Good -->Under _Data Proxy_, from the **Location** drop-down menu, select the geographic location for the Data Proxy.
In the middle or at the end of a procedure, the final step is sometimes very short and obvious for readers.
- Click Next.
- Click OK.
- Click Save.
- Click Done.
Even if developer audiences do not need a reminder to save their files, specific cases exist in which omitting a short step can cause confusion.
- Click Delete for the item you want to delete.
- In the confirmation popup, enter the name of the item and click Delete.
In other cases, short steps are not really necessary but still complete a valid procedure.
One such example can be a Done button at the end of a wizard.
Decide based on context if a short step adds noise or if it is a must to have it.
Text boxes or input fields in modern UIs typically provide immediate validation and feedback when users type in forbidden characters. Because of this, it is not necessary to list:
- allowed characters
- allowed text length
<!-- Bad -->In **Display Name**, enter a name for your project.<Admonition>**💡 Note**<br /><br />Follow the rules below when you enter a display name for your project.<br /><br />• Include at least one letter<br />• Keep the length up to 40 characters~~</Admonition><!-- Good -->In **Display Name**, enter a name for your project.
In some cases, it is very difficult to identify the doer in a sentence or the doer sounds awkward to name.
<!-- Bad -->The form automatically pre-fills the GitHub repository based on the project name you provide. In the repository name, the form replaces each space with a hyphen.<!-- Good -->The GitHub repository name is pre-filled based on the display name and each space is replaced with a hyphen.
Document the user interface as it appears and do not alter UI text in the documentation to meet style guide or other requirements.
For example, if a button has the text CANCEL, match the all-caps in the documentation.
<!-- Good -->Click **CANCEL**.<!-- Bad -->Click **Cancel**.