Skip to content

Commit 4bce76e

Browse files
committed
Add missing "See also" sections
When the "See also" section is missing, the automatically generated links to the other pages within the same subsection are added to a section titled "undefined".
1 parent b0791f1 commit 4bce76e

File tree

29 files changed

+329
-10
lines changed

29 files changed

+329
-10
lines changed

Language/Functions/Advanced IO/noTone.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,14 @@ If you want to play different pitches on multiple pins, you need to call noTone(
5050

5151
--
5252
// HOW TO USE SECTION ENDS
53+
54+
55+
// SEE ALSO SECTION
56+
[#see_also]
57+
--
58+
59+
[float]
60+
=== See also
61+
62+
--
63+
// SEE ALSO SECTION ENDS

Language/Functions/Advanced IO/pulseIn.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,14 @@ void loop()
7474

7575
--
7676
// HOW TO USE SECTION ENDS
77+
78+
79+
// SEE ALSO SECTION
80+
[#see_also]
81+
--
82+
83+
[float]
84+
=== See also
85+
86+
--
87+
// SEE ALSO SECTION ENDS

Language/Functions/Advanced IO/pulseInLong.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,14 @@ This function relies on micros() so cannot be used in link:../../interrupts/noin
7878

7979
--
8080
// HOW TO USE SECTION ENDS
81+
82+
83+
// SEE ALSO SECTION
84+
[#see_also]
85+
--
86+
87+
[float]
88+
=== See also
89+
90+
--
91+
// SEE ALSO SECTION ENDS

Language/Functions/Advanced IO/shiftIn.adoc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,15 @@ Note: this is a software implementation; Arduino also provides an link:https://w
4444
the value read (byte)
4545

4646
--
47-
// OVERVIEW SECTION ENDS
47+
// OVERVIEW SECTION ENDS
48+
49+
50+
// SEE ALSO SECTION
51+
[#see_also]
52+
--
53+
54+
[float]
55+
=== See also
56+
57+
--
58+
// SEE ALSO SECTION ENDS

Language/Functions/Advanced IO/shiftOut.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,14 @@ shiftOut(dataPin, clock, LSBFIRST, (data >> 8));
121121

122122
--
123123
// HOW TO USE SECTION ENDS
124+
125+
126+
// SEE ALSO SECTION
127+
[#see_also]
128+
--
129+
130+
[float]
131+
=== See also
132+
133+
--
134+
// SEE ALSO SECTION ENDS

Language/Functions/Bits and Bytes/bit.adoc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,15 @@ Computes the value of the specified bit (bit 0 is 1, bit 1 is 2, bit 2 is 4, etc
3535
The value of the bit.
3636

3737
--
38-
// OVERVIEW SECTION ENDS
38+
// OVERVIEW SECTION ENDS
39+
40+
41+
// SEE ALSO SECTION
42+
[#see_also]
43+
--
44+
45+
[float]
46+
=== See also
47+
48+
--
49+
// SEE ALSO SECTION ENDS

Language/Functions/Bits and Bytes/bitClear.adoc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,15 @@ Clears (writes a 0 to) a bit of a numeric variable.
3737
Nothing
3838

3939
--
40-
// OVERVIEW SECTION ENDS
40+
// OVERVIEW SECTION ENDS
41+
42+
43+
// SEE ALSO SECTION
44+
[#see_also]
45+
--
46+
47+
[float]
48+
=== See also
49+
50+
--
51+
// SEE ALSO SECTION ENDS

Language/Functions/Bits and Bytes/bitRead.adoc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,15 @@ Reads a bit of a number.
3838
the value of the bit (0 or 1).
3939

4040
--
41-
// OVERVIEW SECTION ENDS
41+
// OVERVIEW SECTION ENDS
42+
43+
44+
// SEE ALSO SECTION
45+
[#see_also]
46+
--
47+
48+
[float]
49+
=== See also
50+
51+
--
52+
// SEE ALSO SECTION ENDS

Language/Functions/Bits and Bytes/bitSet.adoc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,15 @@ Sets (writes a 1 to) a bit of a numeric variable.
3737
Nothing
3838

3939
--
40-
// OVERVIEW SECTION ENDS
40+
// OVERVIEW SECTION ENDS
41+
42+
43+
// SEE ALSO SECTION
44+
[#see_also]
45+
--
46+
47+
[float]
48+
=== See also
49+
50+
--
51+
// SEE ALSO SECTION ENDS

Language/Functions/Bits and Bytes/bitWrite.adoc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,15 @@ Writes a bit of a numeric variable.
3939
Nothing
4040

4141
--
42-
// OVERVIEW SECTION ENDS
42+
// OVERVIEW SECTION ENDS
43+
44+
45+
// SEE ALSO SECTION
46+
[#see_also]
47+
--
48+
49+
[float]
50+
=== See also
51+
52+
--
53+
// SEE ALSO SECTION ENDS

Language/Functions/External Interrupts/attachInterrupt.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,14 @@ For Uno WiFiRev.2, Due, Zero, MKR Family and 101 boards the *interrupt number =
135135

136136
--
137137
// HOW TO USE SECTION ENDS
138+
139+
140+
// SEE ALSO SECTION
141+
[#see_also]
142+
--
143+
144+
[float]
145+
=== See also
146+
147+
--
148+
// SEE ALSO SECTION ENDS

Language/Functions/External Interrupts/detachInterrupt.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,14 @@ Nothing
3939

4040
--
4141
// OVERVIEW SECTION ENDS
42+
43+
44+
// SEE ALSO SECTION
45+
[#see_also]
46+
--
47+
48+
[float]
49+
=== See also
50+
51+
--
52+
// SEE ALSO SECTION ENDS

Language/Functions/Interrupts/noInterrupts.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,14 @@ void loop()
6464

6565
--
6666
// HOW TO USE SECTION ENDS
67+
68+
69+
// SEE ALSO SECTION
70+
[#see_also]
71+
--
72+
73+
[float]
74+
=== See also
75+
76+
--
77+
// SEE ALSO SECTION ENDS

Language/Functions/Math/abs.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,14 @@ a++; // keep other math outside the function
6161

6262
--
6363
// HOW TO USE SECTION ENDS
64+
65+
66+
// SEE ALSO SECTION
67+
[#see_also]
68+
--
69+
70+
[float]
71+
=== See also
72+
73+
--
74+
// SEE ALSO SECTION ENDS

Language/Functions/Math/constrain.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,14 @@ sensVal = constrain(sensVal, 10, 150); // limits range of sensor values to be
6262

6363
--
6464
// HOW TO USE SECTION ENDS
65+
66+
67+
// SEE ALSO SECTION
68+
[#see_also]
69+
--
70+
71+
[float]
72+
=== See also
73+
74+
--
75+
// SEE ALSO SECTION ENDS

Language/Functions/Math/map.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,14 @@ As previously mentioned, the map() function uses integer math. So fractions migh
105105

106106
--
107107
// HOW TO USE SECTION ENDS
108+
109+
110+
// SEE ALSO SECTION
111+
[#see_also]
112+
--
113+
114+
[float]
115+
=== See also
116+
117+
--
118+
// SEE ALSO SECTION ENDS

Language/Functions/Math/max.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,14 @@ a--; // keep other math outside the function
7272

7373
--
7474
// HOW TO USE SECTION ENDS
75+
76+
77+
// SEE ALSO SECTION
78+
[#see_also]
79+
--
80+
81+
[float]
82+
=== See also
83+
84+
--
85+
// SEE ALSO SECTION ENDS

Language/Functions/Math/min.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,14 @@ a++; // use this instead - keep other math outside the function
7373

7474
--
7575
// HOW TO USE SECTION ENDS
76+
77+
78+
// SEE ALSO SECTION
79+
[#see_also]
80+
--
81+
82+
[float]
83+
=== See also
84+
85+
--
86+
// SEE ALSO SECTION ENDS

Language/Functions/Math/sq.adoc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,15 @@ Calculates the square of a number: the number multiplied by itself.
3535
The square of the number. (double)
3636

3737
--
38-
// OVERVIEW SECTION ENDS
38+
// OVERVIEW SECTION ENDS
39+
40+
41+
// SEE ALSO SECTION
42+
[#see_also]
43+
--
44+
45+
[float]
46+
=== See also
47+
48+
--
49+
// SEE ALSO SECTION ENDS

Language/Functions/Math/sqrt.adoc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,15 @@ Calculates the square root of a number.
3535
The number's square root. (double)
3636

3737
--
38-
// OVERVIEW SECTION ENDS
38+
// OVERVIEW SECTION ENDS
39+
40+
41+
// SEE ALSO SECTION
42+
[#see_also]
43+
--
44+
45+
[float]
46+
=== See also
47+
48+
--
49+
// SEE ALSO SECTION ENDS

Language/Functions/Random Numbers/random.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,14 @@ The `max` parameter should be chosen according to the data type of the variable
9090

9191
--
9292
// HOW TO USE SECTION ENDS
93+
94+
95+
// SEE ALSO SECTION
96+
[#see_also]
97+
--
98+
99+
[float]
100+
=== See also
101+
102+
--
103+
// SEE ALSO SECTION ENDS

Language/Functions/Random Numbers/randomSeed.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,14 @@ void loop(){
7070

7171
--
7272
// HOW TO USE SECTION ENDS
73+
74+
75+
// SEE ALSO SECTION
76+
[#see_also]
77+
--
78+
79+
[float]
80+
=== See also
81+
82+
--
83+
// SEE ALSO SECTION ENDS

Language/Functions/Time/delayMicroseconds.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,14 @@ As of Arduino 0018, delayMicroseconds() no longer disables interrupts.
7878

7979
--
8080
// HOW TO USE SECTION ENDS
81+
82+
83+
// SEE ALSO SECTION
84+
[#see_also]
85+
--
86+
87+
[float]
88+
=== See also
89+
90+
--
91+
// SEE ALSO SECTION ENDS

Language/Functions/Time/micros.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,14 @@ There are 1,000 microseconds in a millisecond and 1,000,000 microseconds in a se
7272

7373
--
7474
// HOW TO USE SECTION ENDS
75+
76+
77+
// SEE ALSO SECTION
78+
[#see_also]
79+
--
80+
81+
[float]
82+
=== See also
83+
84+
--
85+
// SEE ALSO SECTION ENDS

Language/Structure/Sketch/loop.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,14 @@ void loop()
5656

5757
--
5858
// HOW TO USE SECTION ENDS
59+
60+
61+
// SEE ALSO SECTION
62+
[#see_also]
63+
--
64+
65+
[float]
66+
=== See also
67+
68+
--
69+
// SEE ALSO SECTION ENDS

0 commit comments

Comments
 (0)