Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(star) This section refers to: Notation Guide >> Text Breaks.

Text Breaks {{
}} breaks shouldn't be used. If you'd like paragraphs or headings to have more spacing (before or after), the style sheet should be changed, not the contents. Patrick explained this a long time ago. Other stuff in this section (paragraphs, horizontal ruler, — symbol and – symbol) can be used when necessary.

...

All types of links can and should be used. I already used a few in this document. Just watch out for links to non-existing pages when writing on the official documentation.

Lists

(star) This section refers to: Notation Guide >> Lists.

Lists can be used for many purposes. Every time we list some things that are in order, ordered lists are used. If they 're not in don't have a specific order, unordered lists are the case. List should be nested if needed for a better organization. Unordered lists should be created only with the * (star) notation only, so all pages use the same style of bullet.

...

External images should be used only when strictly necessary (meaning, don't use images as list bullets or box icons). Also, try to use only images that are very unlikely to be removed from its current URL, to reduce document maintenance. Pay attention on copyright issues too! Attached images are less prone to become missing links. However, however, we should not clutter the documentation with unnecessary attachments and copyrights are also a issue here.

...

Tables are very useful when lists just don't do it. Meaning: don't write a table when a list suffices. Tables are more organized, because you can align the text in columns. Since the markup text for tables in confluence is not very much readableeasy to read, remember complex and big tables are very hard to maintain.

The table below was copied from a reference page on WebWork's configuration . Just (just the first two lines were copied). This is an example where tables are good: a list wouldn't be as organized as this table to display these files and their properties.

...

Code Block
titleHelloWorld.java
/** Hello World class. */
public class HelloWorld {
  /** Main method. */
  public static void main(String[] args) {
    System.out.println("Hello, World!");
  }
}

A typical example of noformat would be the command line statements to compile and run the code above. We should also standardize terminal notation ({$} for command prompt).

No Format
$ javac HelloWorld.java

$ java HelloWorld
Hello, World!

Do not use tabs inside noformat and code. Use , use two spaces instead. This way your code is indented but does not make the user scroll horizontally to read it. For this same reason, try to break big lines keeps lines short. Large lines should be splitted as to fit in a 800x600 resolution screen without horizontal scroll bars.

...