Skip to content

Commit 2075f8f

Browse files
author
Exploding Labs Bot
committed
Update site from docs source repo
1 parent 9050324 commit 2075f8f

File tree

5 files changed

+195
-51
lines changed

5 files changed

+195
-51
lines changed

sku-generator/assets/extra.css

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
:root {
2+
/* ✅ Fonts */
3+
--md-text-font: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted",
4+
"Segoe UI", "Liberation Sans", sans-serif;
5+
--md-code-font: "SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono",
6+
Menlo, Consolas, monospace;
7+
8+
/* ✅ Light Mode Text Colors */
9+
--md-default-fg-color: #111;
10+
}
11+
12+
[data-md-color-scheme="slate"] {
13+
/* ✅ Dark Mode Text Colors */
14+
--md-default-fg-color: #e9e9e9;
15+
}
16+
17+
/* Fix a horizontal scroll isue */
18+
.md-typeset * {
19+
margin-left: 0 !important;
20+
margin-right: 0 !important;
21+
}
22+
23+
.md-typeset {
24+
margin-left: 0 !important;
25+
margin-right: 0 !important;
26+
27+
p,
28+
h1,
29+
h2,
30+
h3,
31+
h4,
32+
h5,
33+
h6 {
34+
margin: 0;
35+
padding: 0;
36+
padding-left: 20px;
37+
padding-right: 20px;
38+
}
39+
40+
/* Change header fonts */
41+
h1, h2, h3, h4, h5, h6 {
42+
font-weight: 700;
43+
font-style: normal;
44+
letter-spacing: -0.5px;
45+
line-height: 140%;
46+
}
47+
48+
h1 {
49+
color: var(--md-default-fg-color);
50+
font-size: 1.2rem;
51+
margin-bottom: 1em;
52+
}
53+
54+
h2 {
55+
font-size: 1rem;
56+
}
57+
58+
h3 {
59+
font-size: 0.9rem;
60+
}
61+
62+
p, ul, ol, pre {
63+
font-size: 17px;
64+
margin-top: 1em;
65+
margin-bottom: 1em;
66+
}
67+
68+
ul, ol {
69+
margin-left: 3rem;
70+
padding-left: 3rem;
71+
}
72+
73+
blockquote {
74+
border-left: 0 !important;
75+
border-radius: 0;
76+
margin: 0;
77+
margin-bottom: 1em;
78+
padding: 1px;
79+
background-color: rgba(255, 87, 34, 0.05);
80+
81+
[data-md-color-scheme="slate"] {
82+
background-color: rgba(255, 204, 0, 0.1);
83+
}
84+
}
85+
86+
pre {
87+
line-height: 150%;
88+
}
89+
pre > code {
90+
padding-left: 20px;
91+
}
92+
}
93+
94+
.md-content__inner {
95+
/* Target only the page title (first H1 in the article) */
96+
.md-typeset {
97+
h1:first-of-type {
98+
padding-left: 20px;
99+
}
100+
}
101+
}
102+
103+
article {
104+
padding-bottom: 3rem;
105+
}
106+

sku-generator/format/index.html

Lines changed: 85 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -529,19 +529,19 @@ <h1 id="how-to-create-a-sku-format">How to Create a SKU Format</h1>
529529
<h2 id="1-referencing-columns">1. Referencing Columns</h2>
530530
<p>Each column in your CSV can be referenced by a <strong>letter</strong>:</p>
531531
<ul>
532-
<li><code>A</code> = first column</li>
533-
<li><code>B</code> = second column</li>
534-
<li><code>C</code> = third column</li>
532+
<li><code>{A}</code> = first column</li>
533+
<li><code>{B}</code> = second column</li>
534+
<li><code>{C}</code> = third column</li>
535535
<li>…and so on.</li>
536-
<li>After <code>Z</code>, it continues as <code>AA</code>, <code>AB</code>, <code>AC</code></li>
536+
<li>After <code>{Z}</code>, it continues as <code>{AA}</code>, <code>{AB}</code>, <code>{AC}</code></li>
537537
</ul>
538538
<hr />
539539
<h2 id="2-basic-format">2. Basic Format</h2>
540540
<p>You can combine text and column references inside <strong>braces <code>{ }</code></strong>.</p>
541541
<div class="highlight"><pre><span></span><code>{A}-{B}-{C}
542542
</code></pre></div>
543543
<ul>
544-
<li>If <code>A = "Shirt"</code> and <code>B = "Red"</code>, the SKU will be:</li>
544+
<li>If <code>A = "Shirt"</code> and <code>B = "Red"</code>, the <code>{A}-{B}</code> SKU will be:</li>
545545
</ul>
546546
<div class="highlight"><pre><span></span><code>Shirt-Red
547547
</code></pre></div>
@@ -556,52 +556,90 @@ <h2 id="3-transformations">3. Transformations</h2>
556556
<p>You can apply <strong>transformations</strong> to change how the column text is used. Add
557557
them after a colon <code>:</code> inside the braces.</p>
558558
<h3 id="common-transformations">Common Transformations</h3>
559-
<ul>
560-
<li>
561-
<p><code>U</code> → Uppercase
562-
<code>{A:U}</code><code>SHIRT</code></p>
563-
</li>
564-
<li>
565-
<p><code>L</code> → Lowercase
566-
<code>{A:L}</code><code>shirt</code></p>
567-
</li>
568-
<li>
569-
<p><code>I</code> → Initials (first letter of each word)
570-
<code>{A:I}</code><code>S</code> (from “Shirt”)
571-
<code>{A:I}</code><code>BLT</code> (from “Blue Long Trousers”)</p>
572-
</li>
573-
<li>
574-
<p><code>W</code> → First word only
575-
<code>{A:W}</code><code>Blue</code> (from “Blue Long Trousers”)</p>
576-
</li>
577-
<li>
578-
<p><code>C</code> → Consonants only
579-
<code>{A:C}</code><code>blngtrss</code> (from “Blue Long Trousers”)</p>
580-
</li>
581-
<li>
582-
<p><code>S</code> → Slug (clean up spaces and symbols with <code>_</code>)
583-
<code>{A:S}</code><code>blue_long_trousers</code></p>
584-
</li>
585-
<li>
586-
<p><code>n</code> (number) → Take first <em>n</em> characters (letters/numbers only)
587-
<code>{A:3}</code><code>Blu</code> (from “Blue”)
588-
<code>{B:2}</code><code>Rd</code> (from “Red”)</p>
589-
</li>
590-
<li>
591-
<p><code>nP</code> → Pad or trim to <em>n</em> characters
592-
<code>{B:5P}</code><code>RedXX</code> (pads with X if too short)</p>
593-
</li>
594-
<li>
595-
<p><code>nZ</code> → Zero-pad a number to <em>n</em> digits
596-
<code>{C:4Z}</code><code>0042</code> (if column C = 42)</p>
597-
</li>
598-
</ul>
559+
<table>
560+
<thead>
561+
<tr>
562+
<th>Code</th>
563+
<th>Description</th>
564+
<th>Example Input</th>
565+
<th>Example Output</th>
566+
</tr>
567+
</thead>
568+
<tbody>
569+
<tr>
570+
<td><code>1-9</code></td>
571+
<td>Trim</td>
572+
<td><code>{A:3}</code> from <code>Blue Long Trousers</code></td>
573+
<td><code>Blu</code></td>
574+
</tr>
575+
<tr>
576+
<td><code>C</code></td>
577+
<td>Consonants</td>
578+
<td><code>{A:C}</code> from <code>Blue Long Trousers</code></td>
579+
<td><code>BlLngTrsrs</code></td>
580+
</tr>
581+
<tr>
582+
<td><code>I</code></td>
583+
<td>Initials</td>
584+
<td><code>{A:I}</code> from <code>Blue Long Trousers</code></td>
585+
<td><code>BLT</code></td>
586+
</tr>
587+
<tr>
588+
<td><code>L</code></td>
589+
<td>Lowercase</td>
590+
<td><code>{A:L}</code> from <code>Blue Long Trousers</code></td>
591+
<td><code>blue long trousers</code></td>
592+
</tr>
593+
<tr>
594+
<td><code>P</code></td>
595+
<td>Pad to 3 chars (with 'X')</td>
596+
<td><code>{A:P}</code> from <code>M</code></td>
597+
<td><code>MXX</code></td>
598+
</tr>
599+
<tr>
600+
<td><code>5P</code></td>
601+
<td>Trim and pad to n characters (with 'X')</td>
602+
<td><code>{A:5P}</code> from <code>M</code></td>
603+
<td><code>MXXXX</code></td>
604+
</tr>
605+
<tr>
606+
<td><code>Z</code></td>
607+
<td>Zero-pad number to 3 digits</td>
608+
<td><code>{A:4Z}</code> from <code>42</code></td>
609+
<td><code>042</code></td>
610+
</tr>
611+
<tr>
612+
<td><code>5Z</code></td>
613+
<td>Zero-pad number to n digits</td>
614+
<td><code>{A:4Z}</code> from <code>42</code></td>
615+
<td><code>00042</code></td>
616+
</tr>
617+
<tr>
618+
<td><code>S</code></td>
619+
<td>Slug (replace spaces/symbols with <code>_</code>)</td>
620+
<td><code>{A:S}</code> from <code>Blue Long Trousers</code></td>
621+
<td><code>blue_long_trousers</code></td>
622+
</tr>
623+
<tr>
624+
<td><code>U</code></td>
625+
<td>Uppercase</td>
626+
<td><code>{A:U}</code> from <code>Blue Long Trousers</code></td>
627+
<td><code>BLUE LONG TROUSERS</code></td>
628+
</tr>
629+
<tr>
630+
<td><code>W</code></td>
631+
<td>First word only</td>
632+
<td><code>{A:W}</code> from <code>Blue Long Trousers</code></td>
633+
<td><code>Blue</code></td>
634+
</tr>
635+
</tbody>
636+
</table>
599637
<hr />
600638
<h2 id="4-combining-multiple-transforms">4. Combining Multiple Transforms</h2>
601639
<p>You can chain multiple transformations together:</p>
602-
<div class="highlight"><pre><span></span><code>{A:U3} → Take first 3 letters, then uppercase
640+
<div class="highlight"><pre><span></span><code>{A:U3} → Uppercase, then take the first 3 letters
603641
</code></pre></div>
604-
<p>If <code>A = "trousers"</code>, result is:</p>
642+
<p>If <code>A = "trousers"</code>, the result is:</p>
605643
<div class="highlight"><pre><span></span><code>TRO
606644
</code></pre></div>
607645
<hr />
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"Home","text":""},{"location":"#sku-generator","title":"SKU Generator","text":"<p>SKU Generator is a simple tool that helps you automatically create clean, consistent Stock Keeping Units (SKUs) from your product data.</p> <p>Instead of manually typing codes into spreadsheets, you can upload a product list and let SKU Generator build SKUs for you based on your chosen format.</p> <p>It\u2019s designed for sellers, store owners, and makers who want to save time, reduce errors, and keep their product catalogs organized across platforms like Shopify, Etsy, or Amazon.</p>"},{"location":"#whats-next","title":"\ud83d\udcda What's next?","text":"<p>\ud83d\udc49 Getting Started \u2013 a guide to using SKU Generator.</p>"},{"location":"format/","title":"How to Create a SKU Format","text":"<p>A SKU format is a simple recipe that tells the app how to build SKUs (Stock Keeping Units) from the columns in your CSV file. You don\u2019t need to know programming \u2014 just follow the rules below.</p>"},{"location":"format/#1-referencing-columns","title":"1. Referencing Columns","text":"<p>Each column in your CSV can be referenced by a letter:</p> <ul> <li><code>A</code> = first column</li> <li><code>B</code> = second column</li> <li><code>C</code> = third column</li> <li>\u2026and so on.</li> <li>After <code>Z</code>, it continues as <code>AA</code>, <code>AB</code>, <code>AC</code>\u2026</li> </ul>"},{"location":"format/#2-basic-format","title":"2. Basic Format","text":"<p>You can combine text and column references inside braces <code>{ }</code>.</p> <pre><code>{A}-{B}-{C}\n</code></pre> <ul> <li>If <code>A = \"Shirt\"</code> and <code>B = \"Red\"</code>, the SKU will be:</li> </ul> <pre><code>Shirt-Red\n</code></pre> <p>You can also add your own fixed text:</p> <pre><code>SKU-{A}-{B}\n</code></pre> <p>Gives:</p> <pre><code>SKU-Shirt-Red\n</code></pre>"},{"location":"format/#3-transformations","title":"3. Transformations","text":"<p>You can apply transformations to change how the column text is used. Add them after a colon <code>:</code> inside the braces.</p>"},{"location":"format/#common-transformations","title":"Common Transformations","text":"<ul> <li> <p><code>U</code> \u2192 Uppercase <code>{A:U}</code> \u2192 <code>SHIRT</code></p> </li> <li> <p><code>L</code> \u2192 Lowercase <code>{A:L}</code> \u2192 <code>shirt</code></p> </li> <li> <p><code>I</code> \u2192 Initials (first letter of each word) <code>{A:I}</code> \u2192 <code>S</code> (from \u201cShirt\u201d) <code>{A:I}</code> \u2192 <code>BLT</code> (from \u201cBlue Long Trousers\u201d)</p> </li> <li> <p><code>W</code> \u2192 First word only <code>{A:W}</code> \u2192 <code>Blue</code> (from \u201cBlue Long Trousers\u201d)</p> </li> <li> <p><code>C</code> \u2192 Consonants only <code>{A:C}</code> \u2192 <code>blngtrss</code> (from \u201cBlue Long Trousers\u201d)</p> </li> <li> <p><code>S</code> \u2192 Slug (clean up spaces and symbols with <code>_</code>) <code>{A:S}</code> \u2192 <code>blue_long_trousers</code></p> </li> <li> <p><code>n</code> (number) \u2192 Take first n characters (letters/numbers only) <code>{A:3}</code> \u2192 <code>Blu</code> (from \u201cBlue\u201d) <code>{B:2}</code> \u2192 <code>Rd</code> (from \u201cRed\u201d)</p> </li> <li> <p><code>nP</code> \u2192 Pad or trim to n characters <code>{B:5P}</code> \u2192 <code>RedXX</code> (pads with X if too short)</p> </li> <li> <p><code>nZ</code> \u2192 Zero-pad a number to n digits <code>{C:4Z}</code> \u2192 <code>0042</code> (if column C = 42)</p> </li> </ul>"},{"location":"format/#4-combining-multiple-transforms","title":"4. Combining Multiple Transforms","text":"<p>You can chain multiple transformations together:</p> <pre><code>{A:U3} \u2192 Take first 3 letters, then uppercase\n</code></pre> <p>If <code>A = \"trousers\"</code>, result is:</p> <pre><code>TRO\n</code></pre>"},{"location":"format/#5-examples","title":"5. Examples","text":"CSV Row (A=Name, B=Color, C=ID) Format Result Shirt, Red, 42 <code>{A}-{B}-{C}</code> <code>Shirt-Red-42</code> Shirt, Red, 42 <code>{A:U}-{B:U}</code> <code>SHIRT-RED</code> Blue Long Trousers, Navy, 7 <code>{A:I}-{B:3}-{C:3Z}</code> <code>BLT-Nav-007</code> Hat, Black, 1234 <code>SKU-{C:5P}</code> <code>SKU-01234</code>"},{"location":"format/#6-tips","title":"6. Tips","text":"<ul> <li>Always wrap column references in <code>{ }</code>.</li> <li>Use plain text outside braces for fixed words.</li> <li>Combine transformations to shorten, clean, or format values.</li> <li>If a column is empty, the SKU part will also be empty.</li> </ul> <p>\u2705 With these rules, you can create SKU formats that match your business needs \u2014 simple or advanced!</p>"}]}
1+
{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"Home","text":""},{"location":"#sku-generator","title":"SKU Generator","text":"<p>SKU Generator is a simple tool that helps you automatically create clean, consistent Stock Keeping Units (SKUs) from your product data.</p> <p>Instead of manually typing codes into spreadsheets, you can upload a product list and let SKU Generator build SKUs for you based on your chosen format.</p> <p>It\u2019s designed for sellers, store owners, and makers who want to save time, reduce errors, and keep their product catalogs organized across platforms like Shopify, Etsy, or Amazon.</p>"},{"location":"#whats-next","title":"\ud83d\udcda What's next?","text":"<p>\ud83d\udc49 Getting Started \u2013 a guide to using SKU Generator.</p>"},{"location":"format/","title":"How to Create a SKU Format","text":"<p>A SKU format is a simple recipe that tells the app how to build SKUs (Stock Keeping Units) from the columns in your CSV file. You don\u2019t need to know programming \u2014 just follow the rules below.</p>"},{"location":"format/#1-referencing-columns","title":"1. Referencing Columns","text":"<p>Each column in your CSV can be referenced by a letter:</p> <ul> <li><code>{A}</code> = first column</li> <li><code>{B}</code> = second column</li> <li><code>{C}</code> = third column</li> <li>\u2026and so on.</li> <li>After <code>{Z}</code>, it continues as <code>{AA}</code>, <code>{AB}</code>, <code>{AC}</code>\u2026</li> </ul>"},{"location":"format/#2-basic-format","title":"2. Basic Format","text":"<p>You can combine text and column references inside braces <code>{ }</code>.</p> <pre><code>{A}-{B}-{C}\n</code></pre> <ul> <li>If <code>A = \"Shirt\"</code> and <code>B = \"Red\"</code>, the <code>{A}-{B}</code> SKU will be:</li> </ul> <pre><code>Shirt-Red\n</code></pre> <p>You can also add your own fixed text:</p> <pre><code>SKU-{A}-{B}\n</code></pre> <p>Gives:</p> <pre><code>SKU-Shirt-Red\n</code></pre>"},{"location":"format/#3-transformations","title":"3. Transformations","text":"<p>You can apply transformations to change how the column text is used. Add them after a colon <code>:</code> inside the braces.</p>"},{"location":"format/#common-transformations","title":"Common Transformations","text":"Code Description Example Input Example Output <code>1-9</code> Trim <code>{A:3}</code> from <code>Blue Long Trousers</code> <code>Blu</code> <code>C</code> Consonants <code>{A:C}</code> from <code>Blue Long Trousers</code> <code>BlLngTrsrs</code> <code>I</code> Initials <code>{A:I}</code> from <code>Blue Long Trousers</code> <code>BLT</code> <code>L</code> Lowercase <code>{A:L}</code> from <code>Blue Long Trousers</code> <code>blue long trousers</code> <code>P</code> Pad to 3 chars (with 'X') <code>{A:P}</code> from <code>M</code> <code>MXX</code> <code>5P</code> Trim and pad to n characters (with 'X') <code>{A:5P}</code> from <code>M</code> <code>MXXXX</code> <code>Z</code> Zero-pad number to 3 digits <code>{A:4Z}</code> from <code>42</code> <code>042</code> <code>5Z</code> Zero-pad number to n digits <code>{A:4Z}</code> from <code>42</code> <code>00042</code> <code>S</code> Slug (replace spaces/symbols with <code>_</code>) <code>{A:S}</code> from <code>Blue Long Trousers</code> <code>blue_long_trousers</code> <code>U</code> Uppercase <code>{A:U}</code> from <code>Blue Long Trousers</code> <code>BLUE LONG TROUSERS</code> <code>W</code> First word only <code>{A:W}</code> from <code>Blue Long Trousers</code> <code>Blue</code>"},{"location":"format/#4-combining-multiple-transforms","title":"4. Combining Multiple Transforms","text":"<p>You can chain multiple transformations together:</p> <pre><code>{A:U3} \u2192 Uppercase, then take the first 3 letters\n</code></pre> <p>If <code>A = \"trousers\"</code>, the result is:</p> <pre><code>TRO\n</code></pre>"},{"location":"format/#5-examples","title":"5. Examples","text":"CSV Row (A=Name, B=Color, C=ID) Format Result Shirt, Red, 42 <code>{A}-{B}-{C}</code> <code>Shirt-Red-42</code> Shirt, Red, 42 <code>{A:U}-{B:U}</code> <code>SHIRT-RED</code> Blue Long Trousers, Navy, 7 <code>{A:I}-{B:3}-{C:3Z}</code> <code>BLT-Nav-007</code> Hat, Black, 1234 <code>SKU-{C:5P}</code> <code>SKU-01234</code>"},{"location":"format/#6-tips","title":"6. Tips","text":"<ul> <li>Always wrap column references in <code>{ }</code>.</li> <li>Use plain text outside braces for fixed words.</li> <li>Combine transformations to shorten, clean, or format values.</li> <li>If a column is empty, the SKU part will also be empty.</li> </ul> <p>\u2705 With these rules, you can create SKU formats that match your business needs \u2014 simple or advanced!</p>"}]}

sku-generator/sitemap.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>https://explodinglabs.com/sku-generator/</loc>
5-
<lastmod>2025-08-26</lastmod>
5+
<lastmod>2025-09-02</lastmod>
66
</url>
77
<url>
88
<loc>https://explodinglabs.com/sku-generator/format/</loc>
9-
<lastmod>2025-08-26</lastmod>
9+
<lastmod>2025-09-02</lastmod>
1010
</url>
1111
<url>
1212
<loc>https://explodinglabs.com/sku-generator/gettingstarted/</loc>
13-
<lastmod>2025-08-26</lastmod>
13+
<lastmod>2025-09-02</lastmod>
1414
</url>
1515
</urlset>

sku-generator/sitemap.xml.gz

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)