Skip to content

Commit f299825

Browse files
author
smellai
committed
completed fix see also section, Fixes #56
1 parent 46c7192 commit f299825

29 files changed

+208
-193
lines changed

Diff for: Language/Variables/Constants/constants.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,4 @@ Most Arduino boards have a pin connected to an on-board LED in series with a res
133133
[role="language"]
134134

135135
--
136-
// SEE ALSO SECTION ENDS
136+
// SEE ALSO SECTION ENDS

Diff for: Language/Variables/Constants/floatingPointConstants.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ Floating point constants can also be expressed in a variety of scientific notati
7878
[role="language"]
7979

8080
--
81-
// SEE ALSO SECTION ENDS
81+
// SEE ALSO SECTION ENDS

Diff for: Language/Variables/Constants/integerConstants.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,4 @@ By default, an integer constant is treated as an int with the attendant limitati
141141
[role="language"]
142142

143143
--
144-
// SEE ALSO SECTION ENDS
144+
// SEE ALSO SECTION ENDS

Diff for: Language/Variables/Conversion/byteCast.adoc

+4-8
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,15 @@ Converts a value to the link:../../data-types/byte[byte] data type.
4040

4141

4242

43-
44-
// HOW TO USE SECTION STARTS
45-
[#howtouse]
43+
// SEE ALSO SECTION BEGINS
44+
[#see_also]
4645
--
4746

4847
[float]
4948
=== See also
50-
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
51-
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
52-
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
49+
5350
[role="language"]
5451
* #LANGUAGE# link:../../data-types/byte[byte]
5552

56-
5753
--
58-
// HOW TO USE SECTION ENDS
54+
// SEE ALSO SECTION ENDS

Diff for: Language/Variables/Conversion/charCast.adoc

+2-5
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,15 @@ Converts a value to the link:../../data-types/char[char] data type.
4040

4141

4242

43-
4443
// SEE ALSO SECTION STARTS
4544
[#see_also]
4645
--
4746

4847
[float]
4948
=== See also
50-
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
51-
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
52-
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
49+
5350
[role="language"]
5451
* #LANGUAGE# link:../../data-types/char[char]
5552

5653
--
57-
// SEE ALSO SECTION ENDS
54+
// SEE ALSO SECTION ENDS

Diff for: Language/Variables/Conversion/floatCast.adoc

+2-5
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,16 @@ See the reference for link:../../data-types/float[float] for details about the p
5555

5656

5757

58-
5958
// SEE ALSO SECTION BEGINS
6059
[#see_also]
6160
--
6261

6362
[float]
6463
=== See also
65-
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
66-
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
67-
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
64+
6865

6966
[role="language"]
7067
* #LANGUAGE# link:../../data-types/float[float]
7168

7269
--
73-
// SEE ALSO SECTION ENDS
70+
// SEE ALSO SECTION ENDS

Diff for: Language/Variables/Conversion/intCast.adoc

+4-6
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,16 @@ Converts a value to the link:../../data-types/int[int] data type.
4141

4242

4343

44-
// HOW TO USE SECTION STARTS
45-
[#howtouse]
44+
// SEE ALSO SECTION
45+
[#see_also]
4646
--
4747

4848
[float]
4949
=== See also
50-
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
51-
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
52-
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
50+
5351
[role="language"]
5452
* #LANGUAGE# link:../../data-types/int[int]
5553

5654

5755
--
58-
// HOW TO USE SECTION ENDS
56+
// SEE ALSO SECTION ENDS

Diff for: Language/Variables/Conversion/longCast.adoc

+2-4
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,10 @@ Converts a value to the link:../../data-types/long[long] data type.
4747

4848
[float]
4949
=== See also
50-
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
51-
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
52-
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
50+
5351
[role="language"]
5452
* #LANGUAGE# link:../../data-types/long[long]
5553

5654

5755
--
58-
// SEE ALSO SECTION ENDS
56+
// SEE ALSO SECTION ENDS

Diff for: Language/Variables/Conversion/wordcast.adoc

+2-4
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,10 @@ Converts a value to the link:../data-types/word[word] data type.
5050

5151
[float]
5252
=== See also
53-
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
54-
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
55-
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
53+
5654
[role="language"]
5755
* #LANGUAGE# link:../../data-types/word[word]
5856

5957

6058
--
61-
// SEE ALSO SECTION ENDS
59+
// SEE ALSO SECTION ENDS

Diff for: Language/Variables/Data Types/array.adoc

+13-8
Original file line numberDiff line numberDiff line change
@@ -89,17 +89,22 @@ for (i = 0; i < 5; i = i + 1) {
8989

9090
[float]
9191
=== Example Code
92-
// Describe what the example code is all about and add relevant code ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
9392
For a complete program that demonstrates the use of arrays, see the (http://www.arduino.cc/en/Tutorial/KnightRider[Knight Rider example]) from the (http://www.arduino.cc/en/Main/LearnArduino[Tutorials]).
94-
[%hardbreaks]
93+
94+
--
95+
// HOW TO USE SECTION ENDS
96+
97+
98+
// SEE ALSO SECTION STARTS
99+
[#see_also]
100+
--
95101

96102
[float]
97103
=== See also
98-
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
99-
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
100-
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
101-
[role="definition"]
102-
* #DEFINITION# link:../../utilities/PROGMEM[PROGMEM]
104+
105+
[role="language"]
106+
* #LANGUAGE# link:../../utilities/progmem[PROGMEM]
107+
103108

104109
--
105-
// HOW TO USE SECTION ENDS
110+
// SEE ALSO SECTION ENDS

Diff for: Language/Variables/Data Types/boolean.adoc

+11-8
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,20 @@ void loop()
6262
}
6363
}
6464
----
65-
[%hardbreaks]
65+
66+
--
67+
// HOW TO USE SECTION ENDS
68+
69+
70+
// SEE ALSO SECTION STARTS
71+
[#see_also]
72+
--
6673

6774
[float]
6875
=== See also
69-
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
70-
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
71-
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
7276

73-
[role="definition"]
74-
* #DEFINITION# link:../contants/constants[constants] +
75-
* #DEFINITION# link:../boolean[boolean operators] +
77+
[role="language"]
78+
* #LANGUAGE# link:../../contants/constants[constants]
7679

7780
--
78-
// HOW TO USE SECTION ENDS
81+
// SEE ALSO SECTION ENDS

Diff for: Language/Variables/Data Types/byte.adoc

+11-11
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@ A byte stores an 8-bit unsigned number, from 0 to 255.
4040
----
4141
4242
----
43-
[%hardbreaks]
4443

45-
[float]
46-
=== Notes and Warnings
47-
[%hardbreaks]
44+
--
45+
// HOW TO USE SECTION ENDS
46+
47+
// SEE ALSO SECTION STARTS
48+
[#see_also]
49+
--
4850

4951
[float]
5052
=== See also
51-
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
52-
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
53-
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
54-
[role="definition"]
55-
* #DEFINITION# link:../word[word] +
56-
* #DEFINITION# link:../../conversion/byteCast[byte()] +
53+
54+
[role="language"]
55+
* #LANGUAGE# link:../../conversion/bytecast[byte()]
56+
5757
--
58-
// HOW TO USE SECTION ENDS
58+
// SEE ALSO SECTION ENDS

Diff for: Language/Variables/Data Types/char.adoc

+8-10
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,28 @@ The char datatype is a signed type, meaning that it encodes numbers from -128 to
3737

3838
[float]
3939
=== Example Code
40-
// Describe what the example code is all about and add relevant code ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
4140

4241

4342
[source,arduino]
4443
----
4544
char myChar = 'A';
4645
char myChar = 65; // both are equivalent
4746
----
48-
[%hardbreaks]
4947

5048

49+
--
50+
// HOW TO USE SECTION ENDS
51+
52+
53+
// SEE ALSO SECTION STARTS
54+
[#see_also]
55+
--
5156

5257
[float]
5358
=== See also
54-
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
55-
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
56-
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
57-
[role="definition"]
58-
* #DEFINITION# link:../byte[byte] +
59-
* #DEFINITION# link:../int[int] +
60-
* #DEFINITION# link:../array[array]
6159

6260
[role="language"]
6361
* #LANGUAGE# link:../../../functions/communication/serial/println[Serial.println]
6462

6563
--
66-
// HOW TO USE SECTION ENDS
64+
// SEE ALSO SECTION ENDS

Diff for: Language/Variables/Data Types/double.adoc

+3-1
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,6 @@ Users who borrow code from other sources that includes double variables may wish
5151

5252
[float]
5353
=== See also
54-
// SEE ALSO SECTION ENDS
54+
55+
--
56+
// SEE ALSO SECTION ENDS

Diff for: Language/Variables/Data Types/float.adoc

+10-9
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,20 @@ If doing math with floats, you need to add a decimal point, otherwise it will be
6565
y = x / 2; // y now contains 0, ints can't hold fractions
6666
z = (float)x / 2.0; // z now contains .5 (you have to use 2.0, not 2)
6767
----
68-
[%hardbreaks]
6968

7069

70+
--
71+
// HOW TO USE SECTION ENDS
72+
73+
74+
// SEE ALSO SECTION STARTS
75+
[#see_also]
76+
--
77+
7178
[float]
7279
=== See also
73-
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
74-
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
75-
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
76-
77-
[role="definition"]
78-
* #DEFINITION# link:../int[int] +
79-
* #DEFINITION# link:../double[double] +
8080

81+
[role="language"]
8182

8283
--
83-
// HOW TO USE SECTION ENDS
84+
// SEE ALSO SECTION ENDS

Diff for: Language/Variables/Data Types/int.adoc

+12-11
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,20 @@ The Arduino takes care of dealing with negative numbers for you, so that arithme
6161
=== Notes and Warnings
6262
When signed variables are made to exceed their maximum or minimum capacity they _overflow_. The result of an overflow is unpredictable so this should be avoided. A typical symptom of an overflow is the variable "rolling over" from its maximum capacity to its minimum or vice versa, but this is not always the case. If you want this behavior, use link:unsignedInt{ext-relative}[unsigned int].
6363

64-
[%hardbreaks]
64+
65+
--
66+
// HOW TO USE SECTION ENDS
67+
68+
69+
// SEE ALSO SECTION STARTS
70+
[#see_also]
71+
--
6572

6673
[float]
6774
=== See also
68-
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
69-
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
70-
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
71-
[role="definition"]
72-
* #DEFINITION# link:../byte[byte] +
73-
* #DEFINITION# link:../unsignedInt[unsigned int] +
74-
* #DEFINITION# link:../long[long] +
75-
* #DEFINITION# link:../unsignedLong[unsigned long] +
76-
* #DEFINITION# link:../../constants/integerConstants[Integer Constants] +
75+
76+
[role="language"]
77+
* #LANGUAGE# link:../../constants/integerconstants[Integer Constants]
7778

7879
--
79-
// HOW TO USE SECTION ENDS
80+
// SEE ALSO SECTION ENDS

Diff for: Language/Variables/Data Types/long.adoc

+9-11
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,19 @@ If doing math with integers, at least one of the numbers must be followed by an
5050
----
5151
long speedOfLight = 186000L; // see the Integer Constants page for explanation of the 'L'
5252
----
53-
[%hardbreaks]
5453

54+
--
55+
// HOW TO USE SECTION ENDS
56+
57+
// SEE ALSO SECTION STARTS
58+
[#see_also]
59+
--
5560

5661
[float]
5762
=== See also
58-
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
59-
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
60-
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
61-
[role="definition"]
62-
* #DEFINITION# link:../byte[byte] +
63-
* #DEFINITION# link:../int[int] +
64-
* #DEFINITION# link:../unsignedInt[unsigned int] +
65-
* #DEFINITION# link:../unsignedLong[unsigned long] +
66-
* #DEFINITION# link:../../constants/integerConstants[Integer Constants] +
6763

64+
[role="language"]
65+
* #LANGUAGE# link:../../constants/integerconstants[Integer Constants]
6866

6967
--
70-
// HOW TO USE SECTION ENDS
68+
// SEE ALSO SECTION ENDS

0 commit comments

Comments
 (0)