<aside> <img src="/icons/reorder_gray.svg" alt="/icons/reorder_gray.svg" width="40px" />
Menu
</aside>
Writing Style Guide
<aside> <img src="/icons/link_gray.svg" alt="/icons/link_gray.svg" width="40px" />
</aside>
<aside> <img src="/icons/mail_gray.svg" alt="/icons/mail_gray.svg" width="40px" />
</aside>
<aside> <img src="/icons/geography_gray.svg" alt="/icons/geography_gray.svg" width="40px" />
United States and Remote
</aside>
<aside> <img src="/icons/info-alternate_gray.svg" alt="/icons/info-alternate_gray.svg" width="40px" />
This style guide is a living document. When standards change, the documentation team doesn’t retroactively update existing documentation. You might see inconsistencies in the external documentation compared to the style guide.
</aside>
The docs team uses the Microsoft Writing Style Guide and the Merriam-Webster Dictionary as their primary references for style, grammar, and spelling.
This internal style guide details some exceptions and additions.
Write minimalist yet complete documentation with a conversational tone.
You can use headings to help readers find the information they need quickly.Use headings to help readers find information.GET call will return all items.GET call returns all items.Understanding your audience helps you more effectively communicate with your readership and address their specific needs. Tailor your writing to the audience who reads it.
| Audience | Details |
|---|---|
| External studio documentation | The target audience for external documentation includes integrators, game teams, and internal partners like marketing, sales, and external production that use the service. |
Includes integration documentation, API documentation, and any other documents given to game teams as an authoritative source of information like reference materials, development cookbooks, and onboarding instructions.
Documentation for external partners must follow the internal style guide. | | Internal team documentation | The target audience for internal documentation includes ZCS development teams.
Includes developer guides, RFCs, SOPs, and document designs.
Documentation for internal partners follows the same style guide as external documentation. This keeps the site experience consistent and makes it easier to make internal pages available to external partners later if needed. | | API documentation | The target audience for API documentation is service integrators.
For more information, see API documentation guidelines. | | Plugins UX | The target audience for plugins can vary, but should maintain consistent language to establish a more uniform user experience.
For more information, see Plugin guidelines. |
Use design documents to establish a structure for new documentation.
The documentation design outlines a planned structure for feature documentation, visualizing the structure and navigation for the end user. It identifies reusable content elements and identifies documentation requirements and gaps.
<aside> <img src="/icons/info-alternate_gray.svg" alt="/icons/info-alternate_gray.svg" width="40px" />
New features of significant size must have a design document created, reviewed, and approved by the documentation team members. Begin planning your feature documentation structure early based on available functional and technical design documentation.
</aside>
Create the document design as a Markdown file in the docs-team repository.
Directory structure outline. The directory structure outline provides a view of the top-level navigation for the feature documentation. Logically group sections and pages. If multiple pages in a section don’t fit that section’s purpose, consider a new section or restructure the content.
Outline details. For each section or page in your outline, specify its purpose. As a general rule, the purpose aligns with the section or page description. Organize content by goals or tasks. Feature documentation should include, at a minimum, the ideal integration path and code examples.
Page details. For each page, provide the title as you expect it to be in the documentation and a thesis that narrows the goal to a single learning objective. Each page must cover a single learning objective: awareness, comprehension, or applicable skill. Provide an outline of the page structure. This includes each heading level and the general information provided for each heading. Consider the following page structure example.
* (H2) Create mod content
- Create a mod record and specify each hardware platform, required DLC, and required mods.
- SDK - Create mod record (reusable on {page names})
* (H2) Create release notes
- Different release notes for each hardware platform
- SDK - Create release notes (reusable on {page names})
* (H2) Upload the mod binary
- Initiate the upload
- Upload the parts
- Complete the upload
- SDK - Upload mod (reusable on {page names})
* (H2) Publish the mod
- Publish a mod to make it visible to users
- SDK - Publish the mod (reusable on {page names})
This sample provides a general structure, key points to cover, and identifies reusable content.
After completing the design document, communicate the completion to the technical documentation team members so they can review the proposed structure as a PR. Ensure the team agrees on the design, structure, and content reuse strategies before developing the feature documentation.
Use the following guidelines to properly format the documentation.
The documentation team uses the Vale linter to review documentation using the style guide.
The Vale linter is an open-source documentation tool approved by ZeniMax security for local computer use. The documentation team doesn’t use Vale server.
For more information on installing and using Vale, se the Vale documentation linter page.
The Hugo standards are specific to the external documentation written by the documentation team.
Front matter elements
This list provides the front matter elements for the external docs.
**title**: A page title
**description**: A short description that displays on list pages.
**weight**: Page weight determines the display order of pages with numerals. Lower numbers appear above higher numbers.
**tags**: add subject or category tabs for grouping of similar or related topics.
**draft**: defaults to `true`. Prevents content from displaying in production if `true`.
For descriptions, start the sentence with a verb and describe what the user learns form that page of content. For example, “Configure message data to display in game.”
The documentation also frequently uses these shortcodes:
data directory in the glossary.yaml.Capitalize the names of services, but not environment names.