Subversion Repositories HomeAutomation

Rev

Rev 73 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 73 Rev 641
1
<html>
1
<html>
2
<head>
2
<head>
3
<title>Doc Style Guide</title>
3
<title>Doc Style Guide</title>
4
<link rel="StyleSheet" href="doc.style.css" type="Text/CSS">
4
<link rel="StyleSheet" href="doc.style.css" type="Text/CSS">
5
</head>
5
</head>
6
<body>
6
<body>
7
To use this style, simply take this html document as a skeleton for you
7
To use this style, simply take this html document as a skeleton for you
8
document and distribute it together with the CSS style file, doc.style.css,
8
document and distribute it together with the CSS style file, doc.style.css,
9
that resides in the same folder as this document.
9
that resides in the same folder as this document.
10
<h1>1 Heading 1</h1>
10
<h1>1 Heading 1</h1>
11
Spam spam spam spam. Spam spam spam egg bacon and spam.
11
Spam spam spam spam. Spam spam spam egg bacon and spam.
12
 
12
 
13
<h2>1.1 Heading 2</h2>
13
<h2>1.1 Heading 2</h2>
14
Spam spam spam spam. Spam spam spam egg bacon and spam.
14
Spam spam spam spam. Spam spam spam egg bacon and spam.
15
 
15
 
16
<h3>1.1.1 Heading 3</h3>(we really shouldn't need more than 3 heading levels)
16
<h3>1.1.1 Heading 3</h3>(we really shouldn't need more than 3 heading levels)
17
<br>
17
<br>
18
<br>
18
<br>
19
<br>
19
<br>
20
 
20
 
21
This is worth <em>emphasing</em>!<br>
21
This is worth <em>emphasing</em>!<br>
22
And I would like to have some marking colors like <span class="mark_red">red</span>, <span class="mark_green">green</span> and <span class="mark_blue">blue</span>.
22
And I would like to have some marking colors like <span class="mark_red">red</span>, <span class="mark_green">green</span> and <span class="mark_blue">blue</span>.
23
<br>
23
<br>
24
<br>
24
<br>
25
<br>
25
<br>
26
 
26
 
27
A ordered list
27
A ordered list
28
<ol>
28
<ol>
29
    <li>Item 1</li>
29
    <li>Item 1</li>
30
    <li>Item 2</li>
30
    <li>Item 2</li>
31
    <li>Item 3</li>
31
    <li>Item 3</li>
32
</ol>
32
</ol>
33
<br>
33
<br>
34
 
34
 
35
A unordered list
35
A unordered list
36
<ul>
36
<ul>
37
    <li>Item 1</li>
37
    <li>Item 1</li>
38
    <li>Item 2</li>
38
    <li>Item 2</li>
39
    <li>Item 3</li>
39
    <li>Item 3</li>
40
</ul>
40
</ul>
41
<br>
41
<br>
42
 
42
 
43
Some source code
43
Some source code
44
<pre>
44
<pre>
45
    if (p->host == 0) {     // The packet is not for us
45
    if (p->host == 0) {     // The packet is not for us
46
        passPacket(p);
46
        passPacket(p);
47
    }
47
    }
48
    else {                  // Give the packet to the right module
48
    else {                  // Give the packet to the right module
49
        modules[p->module_id]->coreMessage(p->message);
49
        modules[p->module_id]->coreMessage(p->message);
50
    }
50
    }
51
</pre>
51
</pre>
52
Sometimes you need to reference some <span class="code">function()</span> in the textflow.
52
Sometimes you need to reference some <span class="code">function()</span> in the textflow.
53
<br>
53
<br>
54
<br>
54
<br>
55
<br>
55
<br>
56
 
56
 
57
Images should always have an <span class="code">alt</span> attribute and specified <span class="code">width</span> and <span class="code">height</span> attributes.<br>
57
Images should always have an <span class="code">alt</span> attribute and specified <span class="code">width</span> and <span class="code">height</span> attributes.<br>
58
<img src="" width="200" height="200" alt="This image is broken">
58
<img src="" width="200" height="200" alt="This image is broken">
59
</body>
59
</body>
60
</html>
60
</html>