Style Guide
- About basic style rules for Webucator manuals.
General Rules
- The ideal flow should be:
- Explain.
- Demo(s) with explanations.
- Exercise.
- Solution.
- Keep in mind that the PDF of the courseware might be used for presentation.
- Use HTML lists (ul,ol) instead of comma-delimited lists.
- When you have multiple related headings followed by short descriptions consider using tables instead.
- Keep your descriptions as short as possible and use footnotes to make caveats or to point people to further reading on subjects not necessary for completing the labs. The trainer can fill in as appropriate.
- Keep in mind that students will NOT be reading the manual cover to cover and will not be reading every paragraph during class.
- If you can make it shorter, do it.
- If it's not necessary, leave it out or put it in a footnote or in a reference table.
- Ideally, no code will be shown that is beyond the scope of the class. If demo code does contain stuff that is beyond the scope of the clas:
- Be careful to point out that it is beyond the scope of the class.
- Ideally, provide a brief summary of what the code does (perhaps in a comment).
Specific Rules
Headings
- Use appropriate decreasing levels of headings. For example, h1 subheadings should be h2s, h2 subheadings should be h3s and so on.
Lists
- Use periods at the end of list items in lists in which one or more of the list items contains a phrase. When in doubt, use periods.
- When leading into a list, end the previous sentence with a colon. For example, "The following browsers support CSS pseudo-classes:"
Demos vs. Code Blocks
- In most cases, Demos are preferred to Code Blocks. Only use Code Blocks for:
- incomplete code.
- to draw further attention to something contained within a demo when explaining the demo.
<code>
- Use <code> tag when mentioning syntax words, library classes/functions, etc.
<span class="FilePath">
- Use <span class="FilePath"> for any file or directory names that come from the Demos/Exercises/Solutions.
Syntax and Code Blocks
- For syntax blocks, always use the title attribute. For example:
Syntax
<div class="SyntaxBlock" title="Basic SELECT statement">...
- For code blocks, the title attribute is optional.
Really Specific
- Avoid the word "utilize". Use "use" instead. See http://ezinearticles.com/?Writing----How-To-Use-Use-Versus-Utilize-Correctly?&id=479574 for an explanation on this.
Style Guide Conclusion
In this lesson of the WCWC tutorial, you have learned some basic style rules for Webucator manuals.