Skip to content

Commit fe4e0c4

Browse files
authored
website: use <div> instead of <p> (#503)
The following warning will occur, so replace it with `<div>`. ``` $ npm run build ... [WARNING] Docusaurus static site generation process emitted warnings for 5 paths This is non-critical and can be disabled with DOCUSAURUS_IGNORE_SSG_WARNINGS=true Troubleshooting guide: facebook/docusaurus#10580 - "/1.0/": - [HTML minifier diagnostic - error] No "p" element in scope but a "p" end tag seen - {"primary_spans":[{"end":13960,"start":13956}],"span_labels":[]} - "/1.0/purchase/": - [HTML minifier diagnostic - error] No "p" element in scope but a "p" end tag seen - {"primary_spans":[{"end":19822,"start":19818}],"span_labels":[]} - [HTML minifier diagnostic - error] No "p" element in scope but a "p" end tag seen - {"primary_spans":[{"end":20215,"start":20211}],"span_labels":[]} - "/hardware/openarm-2.0/general": - [HTML minifier diagnostic - error] No "p" element in scope but a "p" end tag seen - {"primary_spans":[{"end":14289,"start":14285}],"span_labels":[]} - "/hardware/openarm-cell/general": - [HTML minifier diagnostic - error] No "p" element in scope but a "p" end tag seen - {"primary_spans":[{"end":14533,"start":14529}],"span_labels":[]} - "/purchase/": - [HTML minifier diagnostic - error] No "p" element in scope but a "p" end tag seen - {"primary_spans":[{"end":19472,"start":19468}],"span_labels":[]} - [HTML minifier diagnostic - error] No "p" element in scope but a "p" end tag seen - {"primary_spans":[{"end":19865,"start":19861}],"span_labels":[]} ... ``` The display is the same even when using `<div>`.
1 parent 2ea0537 commit fe4e0c4

5 files changed

Lines changed: 14 additions & 14 deletions

File tree

website/docs/hardware/openarm-2.0/general.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ import BlockImage from '@site/src/components/BlockImage';
1717

1818
<div style={{padding: '20px', border: '2px solid #e1e8ed', borderRadius: '8px', textAlign: 'center'}}>
1919
<h3>📁 3DCAD and BOM</h3>
20-
<p>
20+
<div>
2121
3D CAD data required for manufacturing and customization,
2222
along with a bill of materials (BOM) containing purchasing information for each component.
23-
</p>
23+
</div>
2424
<a href="https://drive.google.com/drive/folders/1xxUdRus6mLwiBF3Q8xM0EPuFHIoYix0A" style={{
2525
display: 'inline-block',
2626
padding: '10px 20px',

website/docs/hardware/openarm-cell/general.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ By defining not only the robot arm itself, but also all other elements that affe
2020

2121
<div style={{padding: '20px', border: '2px solid #e1e8ed', borderRadius: '8px', textAlign: 'center'}}>
2222
<h3>📁 3DCAD and BOM</h3>
23-
<p>
23+
<div>
2424
3D CAD data required for manufacturing and customization,
2525
along with a bill of materials (BOM) containing purchasing information for each component.
26-
</p>
26+
</div>
2727
<a href="https://drive.google.com/drive/folders/1HzonRqvZ_1FZSTvcW09gT69bLr4alACN" style={{
2828
display: 'inline-block',
2929
padding: '10px 20px',

website/docs/purchase/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,12 @@ Official Manufacturing Partners and Certified Manufacturers work closely with th
201201
color: '#374151'
202202
}}>
203203
<strong>From the Manufacturer:</strong>
204-
<p style={{ marginTop: '0.5rem' }}>
204+
<div style={{ marginTop: '0.5rem' }}>
205205
At WowRobo, we bring commercial-grade reliability and manufacturing standards to open-source robotics. With extensive experience in commercial robot production, we handle the assembly and testing of OpenArm with the same rigor applied to industrial robots.
206-
</p>
207-
<p style={{ marginTop: '0.5rem' }}>
206+
</div>
207+
<div style={{ marginTop: '0.5rem' }}>
208208
As the official manufacturer of the SO-ARM101, we're proud to have refined our processes even further for OpenArm, achieving an even higher level of precision, reliability, and overall build quality. Our philosophy is simple: deliver the finest craftsmanship with minimal profit, and grow together with the OpenArm project and its global community.
209-
</p>
209+
</div>
210210
</div>
211211
<a
212212
href="https://shop.wowrobo.com/products/openarm-open-source-humanoid-robot-arm-by-enactic"

website/versioned_docs/version-1.0/getting-started/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ We're in continuous development and actively seeking contributors, research part
5353
}}>
5454
📦 Purchase Your OpenArm!
5555
</h3>
56-
<p style={{
56+
<div style={{
5757
marginTop: '1rem',
5858
marginBottom: '1.5rem',
5959
fontSize: '1rem',
@@ -62,7 +62,7 @@ We're in continuous development and actively seeking contributors, research part
6262
}}>
6363
Get your OpenArm, assembled or DIY, and join the global community!<br/>
6464
Browse verified and certified manufacturers worldwide.
65-
</p>
65+
</div>
6666
<a href="../purchase" style={{
6767
display: 'inline-block',
6868
padding: '10px 20px',

website/versioned_docs/version-1.0/purchase/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,12 @@ Official Manufacturing Partners and Certified Manufacturers work closely with th
201201
color: '#374151'
202202
}}>
203203
<strong>From the Manufacturer:</strong>
204-
<p style={{ marginTop: '0.5rem' }}>
204+
<div style={{ marginTop: '0.5rem' }}>
205205
At WowRobo, we bring commercial-grade reliability and manufacturing standards to open-source robotics. With extensive experience in commercial robot production, we handle the assembly and testing of OpenArm with the same rigor applied to industrial robots.
206-
</p>
207-
<p style={{ marginTop: '0.5rem' }}>
206+
</div>
207+
<div style={{ marginTop: '0.5rem' }}>
208208
As the official manufacturer of the SO-ARM101, we're proud to have refined our processes even further for OpenArm, achieving an even higher level of precision, reliability, and overall build quality. Our philosophy is simple: deliver the finest craftsmanship with minimal profit, and grow together with the OpenArm project and its global community.
209-
</p>
209+
</div>
210210
</div>
211211
<a
212212
href="https://shop.wowrobo.com/products/openarm-open-source-humanoid-robot-arm-by-enactic"

0 commit comments

Comments
 (0)