The GNOME Documentation Style Guide provides guidelines for authors who want to contribute to the GNOME Documentation Project (GDP).
The goal of the GNOME Documentation Style Guide (GDSG) is to provide a framework for contributors to write good documentation. The GDSG also helps authors to write consistent documentation, so that users can expect certain structures and conventions in GNOME documents.
This style guide discusses basic principles of clear, concise writing so that users can achieve the maximum benefit from GNOME documentation. The guide also provides standards for common terms and concepts. The guide provides recommendations rather than absolute rules. However, in all parts of the user interface, including documentation, consistency is a virtue. When you write GNOME documentation, try to follow these guidelines as closely as possible. Users benefit from the consistent application of the guidelines in this guide.
This style guide is primarily for authors contributing documentation to the GDP in English. Although you can apply many of the guidelines in this book to all languages, there some guidelines that are specifically for English-language usage.
This guide contains the following sections:
| Section | Summary |
|---|---|
| Chapter 1 ― Fundamental Concepts of Technical Documentation | Introduces basic concepts of technical documentation. |
| Chapter 2 ― Basic Building Blocks of Information Design | Describes how to use different types of information structures. |
| Chapter 3 ― Grammar and Usage Guidelines | Provides advice and examples about how to use specific parts of grammar. |
| Chapter 4 ― Writing Documentation for an International Audience | Provides guidelines to cater for the most common problems encountered by translators of technical documentation. |
| Chapter 5 ― Ways to Improve Your Documentation | Outlines some tips about how you can review and improve your writing. |
| Chapter 6 ― Indexing Your Documentation | Describes basic index requirements and indexing techniques. |
| Chapter 7 ― Writing for GUIs | Describes how to write about GNOME user interfaces. |
| Chapter 8 ― Usability and Readability Considerations for Technical Documentation | Discusses readability issues, and gives some ways to assess readability. |
| Chapter 9 ― Writing Accessible Documentation | Discusses the needs of disabled users of technical documentation. |
| Chapter 10 ― Use of Screenshots | Provides style guidelines for screenshots. |
| Chapter 11 ― Legal Topics | Covers essential legal topics in GNOME documentation. |
| Appendix A ― Recommended Terminology | Provides a comprehensive list of agreed terminology for use in GNOME documentation. |
| Appendix B ― Units | Provides a list of standard units that appear in GNOME documentation, or in the GNOME Desktop. |
| Appendix C ― Glossary of Terms in This Guide | Provides a list of unfamiliar language terms that are used in this guide. |
| Appendix D ― Examples of Information Design Building Blocks | Provides examples of the information design building blocks discussed in Chapter 2 ― Basic Building Blocks of Information Design. |
| Appendix E ― GDSG Contributors | Lists contributors to this guide. |
Different parts of this guide are of different levels of interest to writers, depending on your level of experience, as shown in the following table. The key to the table is as follows:
| * | You are probably familiar with this material. You only need to refer to this material for reference. |
| ** | This information is of interest to you, however other parts of the guide are probably of more immediate interest. You can read these sections when you have time. |
| *** | This information is of immediate interest to you. |
The following documentation is also associated with writing GNOME manuals:
See also the following documentation relevant to GNOME documentation:
The following reference sources are relevant to the guidelines in this guide:
This chapter provides a brief introduction to writing technical documentation.
Technical writing for computer applications imposes special constraints beyond the basic requirements of good prose. Good technical documentation has the following characteristics:
Describe all of the functionality of a product. Do not omit functionality that you regard as irrelevant for the user.
Describe what you see. Do not describe what you want to see. Present your information in the order that users experience the subject matter.
Read http://www.bartleby.com/141/ to help make your writing clear.
Use agreed vocabulary throughout your documentation. Use the same vocabulary as other writers who are working on related documentation.
Review your work frequently as you write your document. Ask yourself which words you can take out. See Section 1.2 ― Golden Rules for a specific guideline.
This section contains some basic style guidelines. Subsequent chapters of this book expand on these guidelines to give more detailed guidance.
| Golden Rule 1 |
|
| Example | Under normal operating conditions, the kernel does not always immediately write file data to the disks, storing it in a memory buffer and then periodically writing to the disks to speed up operations. |
| Rewrite | Normally, the kernel stores the data in memory prior to periodically writing the data to the disk. |
| Golden Rule 2 |
|
| Example | The Workspace Switcher applet helps you navigate all of the virtual desktops available on your system. The X Window system, working in hand with a piece of software called a window manager, allows you to create more than one virtual desktop, known as workspaces, to organize your work, with different applications running in each workspace. The Workspace Switcher applet is a navigational tool to get around the various workspaces, providing a miniature road map in the GNOME panel showing all your workspaces and allowing you to switch easily between them. |
| Rewrite | You can use the Workspace Switcher to add new workspaces to the GNOME Desktop. You can run different applications in each workspace. The Workspace Switcher applet provides a miniature map that shows all of your workspaces. You can use the Workspace Switcher applet to switch between workspaces. |
| Tip | Plan the order of paragraphs before you start writing. Decide which topic you want to cover in each paragraph. |
| Golden Rule 3 | Use explicit examples to demonstrate how an application works. Provide instructions rather than descriptions. |
| Example | There is a text box that you can use to find out the definition of a word. |
| Rewrite | To request a definition of a word, type the word in the text box, then click on the Lookup button. |
| Tip | Do not apply this guideline too rigidly. Sometimes you must explain how software works to support your how-to examples. |
| Golden Rule 4 | Write in a neutral tone. |
| Example | The applet is a handy little screen grabber. |
| Rewrite | You use the applet to take screenshots. |
Inappropriate tone can hinder reader access to information. A neutral tone free of opinion or personal flavor reduces the processing load for the reader to understand the information. Another benefit of a neutral tone is that several writers can work in parallel on a large technical documentation project. Furthermore, different writers can join the project at different times. The use of a neutral tone helps to achieve consistency across a documentation set, and thereby facilitates user access to information. The best way to achieve a common, neutral tone is to apply the following principles:
Humor distracts from the information you are trying to provide. Humor also makes documentation difficult to translate. Stay factual.
Whether you think a function is useful or woeful is irrelevant. Report the function to the user, with instructions about how to use the function. Stay accurate.
Colloquial language is difficult to translate and usually culture-specific. Stay neutral.
An expression that is in common use today might convey something completely different tomorrow. Stay technical.
Statements about the future developments of a product do not belong in technical documentation. Write about what you see right now. Stay real.
All of the decisions that you make about the structure and content of a manual follow from an understanding of the audience. You need to think about how the audience accesses the documentation, what sort of information the audience needs, and the experience level of the audience. Usually, you need to create documentation that is suitable for different audiences. The following sections introduce some of the audience-related topics you need to consider.
Do not waste the time of the user who looks for information in your documentation. Users do not read technical documentation for entertainment. Users usually have specific questions. You need to give clear answers to those questions.
New users to the GNOME Desktop are likely to consult online Help for guidance about unfamiliar applications or functionality. Each Help manual should contain enough introductory information to tell new users how to start using the application. Each Help manual should also contain enough usage instructions to tell users the different actions that they can perform with the application. Keep these instructions task-oriented. You do not need to describe GUI screens, dialogs, and dialog elements in Help, unless there is an unusual feature that affects your instructions.
Experienced users are more likely to use documentation as a reference. The documentation therefore needs to be complete, well-organized, and in the case of printed manuals, well-indexed.
To avoid offending your readers, apply the following guidelines to your documentation:
Insider language includes both undefined jargon and the tendency of the computer community to shorten words. For example, use the term documentation instead of the term docs. You can identify jargon if terminology fails the following conditions:
Pronoun constructions such as his/her or s/he do not exist. There is no need to identify gender in your instructions.
There is little point in giving an example that everyone in your town knows about, but is a complete mystery to everyone else in the world.
There are few experiences more irritating for a user than documentation that says an action is easy or quick, when in fact the user cannot complete the action. Do not qualify or prejudge actions.
Other parts of this guide discuss in more detail tone and language usage that can cause offense.
Good organization goes a long way towards creating good documentation. You need to consider the type of manual that you want to create before you start work. Not every manual can follow the same structure. You must break up a complex, multifunction application such as Evolution into many parts, to provide detailed explanations of the separate functional modules. An applet, on the other hand, needs a brief description of the GUI, basic usage instructions, and details on any necessary preferences.
Wherever possible, use templates to ensure that your Help manual follows a standard approach. You can find templates for Help manuals in the http://developer.gnome.org/projects/gdp/handbook/gdp-handbook/.
If you need to write a guide about a large application or a set of applications, then the book is substantially longer than a Help manual. You need to develop an outline plan for your guide. The precise composition of your manual depends on the subject, however in general you need the following book components:
Defines the function of the book. Includes navigation aids to the remaining sections of the book, such as a table of contents, or links. This section might contain a Preface.
Explains the application to new users. You should provide an expanded definition of the function of the application, built around illustrations and examples.
Consists of several sections or chapters that provide a more detailed explanation of how to use the application. This is where you achieve completeness, telling the user how to complete all the main tasks associated with the application. Chapter headings are usually descriptive of the each topic area. Sub-headings within the chapter are usually task-oriented, so that users can quickly find information about a specific action within the topic area.
Defines specific terms in the book. You do not need to define terms that are in the http://www.bartleby.com/61/.
Contain additional notes about related topics that are not directly explained in the document body.
Provides keyword links to specific concepts in the book. Follow the guidelines in this guide to create an effective index.
This chapter provides a brief introduction to the basic building blocks of information design. You can find information about how to use DocBook tags to create the basic building blocks in the http://developer.gnome.org/projects/gdp/handbook/gdp-handbook/. Appendix D ― Examples of Information Design Building Blocks contains examples of some of the information design building blocks in this chapter.
A section heading summarizes the information in the associated information block. Use section headings to divide a large body of information into logical chunks.
Use the following guidelines to write section headings:
Use a level-one heading to start a broad subject area. Level-one headings are typically generic titles, such as Basic Skills, Getting Started, and so on.
Use level-two, level-three, and level-four headings to chunk information into easy-to-identify sections. Use specific titles that summarize the information in the associated sections.
Do not use more than four heading levels.
Limit the use of level-four headings.
Try to have at least two headings within a section.
Keep headings short.
Use parallel construction in headings of the same level. For example, if you use a gerund to start one heading, use a gerund to start all headings of the same level in the section.
| Correct: |
To Open a File To Save a File To Edit a File |
| Incorrect: |
Opening a File To Save a File Edit a File |
Avoid starting a heading with an article.
| Correct: | Nautilus File Manager |
| Incorrect: | The Nautilus File Manager |
A jump list is a bulleted list of cross-references to the subsections in a chapter or section. Jump lists provide a navigational aid for the reader. For online documents, use hyperlinks for the cross-references.
Use the following guidelines to write jump lists:
Use tables to present large amounts of detailed information that you can structure uniformly. If a paragraph becomes cumbersome and repetitive, consider using a table instead. You can use the following types of table:
A formal table is numbered and has a caption. A formal table usually appears in the table of contents of a manual.
An informal table is not numbered, and does not have a caption. An informal table does not usually appear in the table of contents of a manual.
Use the following guidelines to create and write the content of tables:
Use graphics to clarify your subject matter. A graphic can be a screenshot, diagram, graph, chart, or any graphic element. You can use the following types of graphic:
A formal graphic is numbered and has a caption. A formal graphic usually appears in the table of contents of a manual.
An informal graphic is not numbered, and does not have a caption. An informal graphic does not appear in the table of contents of a manual.
Use the following guidelines to include graphics in your material:
Use the following guidelines for including screenshots in online Help:
Before you decide to use screenshots in online Help, consider the following points:
Some GNOME Desktop distributions have a requirement to print manuals covering broad topics, such as the http://www.gnome.org/learn/users-guide/2.0/. The same manuals are usually also a source of online Help, therefore you need to consider the requirements for both online Help and for printed manuals. Many of the issues associated with screenshots in online Help also apply to screenshots in printed manuals. However, printed manuals are not always used in conjunction with the application running on the GNOME Desktop. Therefore, you might need to use more screenshots in printed manuals than in online Help.
Use the following guidelines for including screenshots in printed manuals:
Lists break information from the standard paragraph format into a concise, organized, easy-to-read format. You can use the following types of lists:
Use the following guidelines to write lists:
Use unnumbered lists where the sequence of the information is not important. In addition to the general guidelines listed above, use the following guidelines for writing unnumbered lists:
Ensure that all list entries are similar in value.
Where appropriate use a sublist or nested list to further break out a complex list entry. For example:
Main list entry
Main list entry
Use numbered lists where the sequence of the information is important. For example, use numbered lists for procedures. In addition to the general guidelines listed above, use the following guidelines for writing numbered lists:
Only use numbered lists where there are more than two items in the list.
For procedures, use the following guidelines:
Use a complete sentence with a period for each step.
Use a separate step for each action. However, if actions include routine substeps, you can include the substep in the main action. For example, if a step requires the user to press Return at the end of the step, you can include "then press Return" at the end of the step.
Where possible begin each step with an active verb in the imperative form. For example:
Use clear and concise text in each step. Avoid redundant words.
You can use a variable list to separate terms from descriptions of the terms, in a list of terms. For example:
The dialog contains the following elements:
Select this option to ...
Use this text box to ...
Use this text box to ...
Use cross-references to identify information that is related to a specific topic.
Use the following guidelines for creating and using cross-references:
Use cross-references where related information is already described elsewhere in the document and is not essential to the current discussion.
Do not include a cross-reference to information that is essential for the reader to understand the current discussion. In this situation, you should restructure the document to include the information in the current discussion, or at least summarize the essential information in the current discussion.
Use specific and clear phrases to introduce cross-references.
| Ambiguous: | To configure, see Settings. |
| Clear: | For information about how to configure the applet, see Settings. |
Use hyperlinks for cross-references in online documentation.
Use tips, notes, and cautions to highlight important information. The following summarizes the differences between tips, notes, and cautions:
Provides practical but non-essential information that is related to the current discussion. A tip usually describes an alternative method of performing a function. For example:
You can also use the Menu Editor to create a custom menu.
Provides important information that is related to the current discussion but is not imperative. For example:
A window can only be in one window group at a time.
Provides mandatory information that the user needs to know to protect the user from personal injury or from damaging hardware or software. For example:
Irreversible destruction can occur to data or the operating system. Follow the instructions carefully.
Use endnotes and footnotes to provide complete cross-references to other sources or to add comments about a discussion. Endnotes are displayed at the end of a chapter or book. Footnotes are displayed at the end of a page or a table. The stylesheet that you use usually determines the format and placement of endnotes and footnotes.
Use the following guidelines for creating endnotes or footnotes:
This chapter contains an alphabetical list of grammar and usage guidelines for use in GNOME documentation. Many of these guidelines are only applicable to English-language usage, see the http://www.bartleby.com/61/ and the http://www.press.uchicago.edu/Misc/Chicago/cmosfaq/cmosfaq.html.
| Rules: |
A shortened form of a word or phrase that takes the place of the full word or phrase, for example Dr., a.m., p.m., and so on. Apply the following rules when you use abbreviations:
|
| Rules: | Use adjectives with caution. If an adjective is necessary to differentiate between items, then use adjectives. In all cases, test whether the phrase can stand alone without the adjective. |
| Rules: |
A term that represents a multi-word term. Typically, acronyms are formed in the following ways:
Apply the following rules when you use acronyms:
|
| Rules: | Use adverbs with caution. If an adverb is necessary to qualify the function of a component, then use an adverb. In all cases, test whether the phrase can stand alone without the adverb. Classic superfluous adverbs are: simply, easily, quickly. |
| Rules: |
|
| Rules: |
|
| Rules: |
Do not use the definite article the to begin any of the following items:
|
| Rules: |
|
| Rules: |
Capitalize in the following situations:
Do not capitalize in the following situations:
|
| Rules: |
|
| Rules: |
Use a colon in the following situations:
Do not use a colon in the following situations:
|
| Rules: |
|