Skip to content

Commit b0bbff8

Browse files
jaapiolinawolf
authored andcommitted
[TASK] update guides
In this update the list nodes of markdown are stripped down to contain only a single node when number of children is 1.
1 parent e189561 commit b0bbff8

File tree

3 files changed

+43
-87
lines changed

3 files changed

+43
-87
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"phpdocumentor/guides": "^1.6",
1111
"phpdocumentor/guides-cli": "^1.5",
1212
"phpdocumentor/guides-graphs": "^1.0",
13-
"phpdocumentor/guides-markdown": "^1.5",
14-
"phpdocumentor/guides-restructured-text": "^1.5",
13+
"phpdocumentor/guides-markdown": "^1.6",
14+
"phpdocumentor/guides-restructured-text": "^1.6",
1515
"phpdocumentor/guides-theme-bootstrap": "^1.0",
1616
"symfony/clock": "^6.4",
1717
"symfony/finder": "^6.4",

composer.lock

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/Integration/tests/markdown/expected/README.html

Lines changed: 22 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,11 @@ <h2>Table of Contents<a class="headerlink" href="#table-of-contents" data-bs-tog
99

1010

1111
<ul>
12-
<li class="dash">
13-
<p><a href="#installation">Installation</a></p>
14-
</li>
15-
<li class="dash">
16-
<p><a href="#usage">Usage</a></p>
17-
</li>
18-
<li class="dash">
19-
<p><a href="#safety-guidelines">Safety Guidelines</a></p>
20-
</li>
21-
<li class="dash">
22-
<p><a href="#maintenance">Maintenance</a></p>
23-
</li>
24-
<li class="dash">
25-
<p><a href="#troubleshooting">Troubleshooting</a></p>
26-
</li>
12+
<li class="dash"><a href="#installation">Installation</a></li>
13+
<li class="dash"><a href="#usage">Usage</a></li>
14+
<li class="dash"><a href="#safety-guidelines">Safety Guidelines</a></li>
15+
<li class="dash"><a href="#maintenance">Maintenance</a></li>
16+
<li class="dash"><a href="#troubleshooting">Troubleshooting</a></li>
2717
</ul>
2818

2919
<hr />
@@ -36,15 +26,9 @@ <h2>Installation<a class="headerlink" href="#installation" data-bs-toggle="modal
3626

3727

3828
<ol>
39-
<li>
40-
<p><strong>Choose a Sturdy Location:</strong> Select a location with a sturdy beam or swing set structure capable of supporting the weight of the swing and the child.</p>
41-
</li>
42-
<li>
43-
<p><strong>Securely Attach the Swing:</strong> Use strong and reliable <a href="https://example.com/ropes">ropes</a>  or chains to securely attach the swing to the chosen location. Double-check the knots or hardware to ensure they are tight and safe.</p>
44-
</li>
45-
<li>
46-
<p><strong>Adjust the Height:</strong> Adjust the height of the swing to a level that is comfortable for your child. Ensure that it is not too high or too low.</p>
47-
</li>
29+
<li><strong>Choose a Sturdy Location:</strong> Select a location with a sturdy beam or swing set structure capable of supporting the weight of the swing and the child.</li>
30+
<li><strong>Securely Attach the Swing:</strong> Use strong and reliable <a href="https://example.com/ropes">ropes</a>  or chains to securely attach the swing to the chosen location. Double-check the knots or hardware to ensure they are tight and safe.</li>
31+
<li><strong>Adjust the Height:</strong> Adjust the height of the swing to a level that is comfortable for your child. Ensure that it is not too high or too low.</li>
4832
</ol>
4933

5034
</section>
@@ -53,12 +37,8 @@ <h2>Usage<a class="headerlink" href="#usage" data-bs-toggle="modal" data-bs-targ
5337

5438

5539
<ol>
56-
<li>
57-
<p><strong>Place the Child in the Swing:</strong> Gently place your child in the swing seat, ensuring they are properly seated and secure.</p>
58-
</li>
59-
<li>
60-
<p><strong>Hold onto the Swing:</strong> Provide support and hold onto the swing until your child is comfortably seated and ready to swing.</p>
61-
</li>
40+
<li><strong>Place the Child in the Swing:</strong> Gently place your child in the swing seat, ensuring they are properly seated and secure.</li>
41+
<li><strong>Hold onto the Swing:</strong> Provide support and hold onto the swing until your child is comfortably seated and ready to swing.</li>
6242
<li>
6343
<p><strong>Start Swinging:</strong> Give a gentle push to start the swinging motion. Observe your child&#039;s comfort level and adjust the swinging speed accordingly.</p>
6444
<div class="code-block-wrapper" translate="no">
@@ -78,9 +58,7 @@ <h2>Usage<a class="headerlink" href="#usage" data-bs-toggle="modal" data-bs-targ
7858
<span class="code-block-check-tooltip code-block-hide" aria-live="polite">Copied!</span>
7959
</div>
8060
</div></li>
81-
<li>
82-
<p><strong>Supervise Always:</strong> Always supervise your child while they are using the swing. Ensure they are using it safely and within the recommended age and weight limits.</p>
83-
</li>
61+
<li><strong>Supervise Always:</strong> Always supervise your child while they are using the swing. Ensure they are using it safely and within the recommended age and weight limits.</li>
8462
</ol>
8563

8664
<blockquote>
@@ -91,12 +69,8 @@ <h3>Additional Tips:<a class="headerlink" href="#additional-tips" data-bs-toggle
9169

9270

9371
<ul>
94-
<li class="dash">
95-
<p>Bring your child&#039;s favorite toys to make swinging even more enjoyable.</p>
96-
</li>
97-
<li class="dash">
98-
<p>Consider creating a soft landing area with cushions or grass underneath the swing.</p>
99-
</li>
72+
<li class="dash">Bring your child&#039;s favorite toys to make swinging even more enjoyable.</li>
73+
<li class="dash">Consider creating a soft landing area with cushions or grass underneath the swing.</li>
10074
</ul>
10175

10276
</section>
@@ -106,18 +80,10 @@ <h2>Safety Guidelines<a class="headerlink" href="#safety-guidelines" data-bs-tog
10680

10781

10882
<ol>
109-
<li>
110-
<p><strong>Check Hardware Regularly:</strong> Periodically inspect the ropes or chains, as well as any hardware used to attach the swing. Replace any damaged or worn-out parts immediately.</p>
111-
</li>
112-
<li>
113-
<p><strong>Set Age and Weight Limits:</strong> Follow the manufacturer&#039;s recommended age and weight limits for the swing. Do not exceed these limits to ensure safety.</p>
114-
</li>
115-
<li>
116-
<p><strong>Use Proper Attire:</strong> Encourage your child to wear appropriate clothing, including closed-toe shoes, to prevent any injuries.</p>
117-
</li>
118-
<li>
119-
<p><strong>No Rough Play:</strong> Instruct your child not to engage in rough play or attempt to stand up in the swing.</p>
120-
</li>
83+
<li><strong>Check Hardware Regularly:</strong> Periodically inspect the ropes or chains, as well as any hardware used to attach the swing. Replace any damaged or worn-out parts immediately.</li>
84+
<li><strong>Set Age and Weight Limits:</strong> Follow the manufacturer&#039;s recommended age and weight limits for the swing. Do not exceed these limits to ensure safety.</li>
85+
<li><strong>Use Proper Attire:</strong> Encourage your child to wear appropriate clothing, including closed-toe shoes, to prevent any injuries.</li>
86+
<li><strong>No Rough Play:</strong> Instruct your child not to engage in rough play or attempt to stand up in the swing.</li>
12187
</ol>
12288

12389
</section>
@@ -126,15 +92,9 @@ <h2>Maintenance<a class="headerlink" href="#maintenance" data-bs-toggle="modal"
12692

12793

12894
<ol>
129-
<li>
130-
<p><strong>Clean the Swing:</strong> Wipe down the swing seat regularly to keep it clean and free from dirt or debris.</p>
131-
</li>
132-
<li>
133-
<p><strong>Inspect for Wear:</strong> Check the swing&#039;s components for signs of wear or damage. Replace any worn-out parts promptly.</p>
134-
</li>
135-
<li>
136-
<p><strong>Tighten Loose Hardware:</strong> Ensure that all nuts and bolts are securely tightened to maintain stability.</p>
137-
</li>
95+
<li><strong>Clean the Swing:</strong> Wipe down the swing seat regularly to keep it clean and free from dirt or debris.</li>
96+
<li><strong>Inspect for Wear:</strong> Check the swing&#039;s components for signs of wear or damage. Replace any worn-out parts promptly.</li>
97+
<li><strong>Tighten Loose Hardware:</strong> Ensure that all nuts and bolts are securely tightened to maintain stability.</li>
13898
</ol>
13999

140100
</section>
@@ -143,17 +103,13 @@ <h2>Troubleshooting<a class="headerlink" href="#troubleshooting" data-bs-toggle=
143103

144104

145105
<ul>
146-
<li class="dash">
147-
<p><strong>Swing Doesn&#039;t Move Smoothly:</strong> Check for any knots or tangles in the ropes or chains. Untangle and ensure a smooth swinging motion.</p>
148-
</li>
106+
<li class="dash"><strong>Swing Doesn&#039;t Move Smoothly:</strong> Check for any knots or tangles in the ropes or chains. Untangle and ensure a smooth swinging motion.</li>
149107
<li class="dash">
150108
<p><strong>Unusual Sounds:</strong> If you hear any creaking or unusual sounds, inspect the hardware for any loose or damaged parts.</p>
151109

152110
<p>If you hear screaming or crying, untangle the child.</p>
153111
</li>
154-
<li class="dash">
155-
<p><strong>Uneven Swinging:</strong> Adjust the height of the swing to achieve a balanced and even swinging motion.</p>
156-
</li>
112+
<li class="dash"><strong>Uneven Swinging:</strong> Adjust the height of the swing to achieve a balanced and even swinging motion.</li>
157113
</ul>
158114

159115

0 commit comments

Comments
 (0)