All professional technical writers eventually learn to keep their writing as simple as possible.
No matter how accomplished the writer, a first draft is a first draft.
-
In high tech industries, writers often allow publishing of a first draft in order to provide users with the information that they need.
-
In the entertainment industry, even a script for which a company paid millions might undergo more than one "page one rewrite" before production.
The above seems counter-intuitive.
Here are some writing guidelines:
-
Organize information according to a pattern that supports one of both of the following:
-
Phases of development from idea through development, testing, and deployment.
-
Concepts, supporting a learning process, from simple and easy to complex and difficult.
-
Prioritize documenting information that all users require.
-
If possible, illustrate decisions that users must make with examples that show potential outcomes.
-
-
As much as possible, maintain parallelism with respect to how you handle information.
While we develop style guidelines, this chapter serves for collecting style guidelines specific to RISC-V. At this point December 2021) there is almost no content.
Please feel free to suggest ideas and content for the RISC-V style guidelines, and please don’t think that you need to add polished content.
Small organizations like RISC-V usually identify existing style guides and then document the "deltas," including cases where it makes sense to deviate from what’s in the existing style guides and also what needs to be added.
I have a list of existing guides that we can use as a starting point. These are likely the most pertinent existing style guidelines that were created for addressing the needs of highly technical audiences as opposed to consumer end user audiences:
Warning
|
One of the typical problems that technical writers that specialize in developer-facing documentation tend to find is the misapplication of maxims that are only appropriate for addressing usability issues that arise with consumer end-user audiences. What works for one audience does not always work for all audiences. For example, I have found that developers tend to prefer long topics (this has been very consistent), while consumer end users tend to prefer short topics. Also developers often prefer code examples to graphical representations, while consumer end users are quite consistent in wanting graphical illustrations. |
Technical writers are always encouraged to use active voice as much as possible (irony fully intended).
When writing for highly technical audiences, strictly adhering to the use of active voice can result in convoluted sentences. As a result, while attempting to use active voice can result in improved clarity, contributors can choose to make use of passive voice. That said, we still encourage RISC-V contributors make use of active voice as much as possible.
While other style issues are important, addressing the need for guidelines on the information type(s) associated with instructions appears to be something that could increase the quality and efficiency of contributions to RISC-V specifications.
While documentation for most technologies require special style considerations, RISC-V’s focus on ISAs (Instruction Set Architectures) means that its documentation contains information types for which we will be setting standards. RISC-V contributors are in the process of identifying how information about mnemonics can be clearly typed, named, and stored in a database that can then be used as a single source of truth. This is analogous to how some API reference information is identified, typed, and stored in databases.
Handling reference information in this way has many benefits that are easy to recognize. From the point of view of working with the Asciidoctor toolchain, each individual topic of this type can:
-
be stored in a database
-
contain attributes as needed
-
make use of AsciiDoc Roles
This section is here to contain results of style discussions that have emerged from direct email, pull requests, issues, and other venues.
RE: A request for table captions to be placed below tables.
Discussion: A simple Google search on the topic of table caption placement resulted in all but one online discussion stating that table captions should appear above tables. The single result that did not make this statement mentioned that while normal placement is above the table, there are occasional instances where organizations decide to place table captions below.