Skip to content

Commit daae587

Browse files
Deploy
1 parent bbfd492 commit daae587

File tree

12 files changed

+431
-0
lines changed

12 files changed

+431
-0
lines changed

categories/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ <h4 class="brand-color">Powercore v2.0</h4>
4141

4242
</ul>
4343

44+
<h4 class="brand-color">Powercore v3.0</h4>
45+
<ul>
46+
47+
<li><a href="https://rack-robotics.github.io/docs/powercore-v3.0/user-manual/">User manual</a></li>
48+
49+
</ul>
50+
4451
<h4 class="brand-color">Wire tool v1.0</h4>
4552
<ul>
4653

index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ <h4 class="brand-color">Powercore v2.0</h4>
4242

4343
</ul>
4444

45+
<h4 class="brand-color">Powercore v3.0</h4>
46+
<ul>
47+
48+
<li><a href="https://rack-robotics.github.io/docs/powercore-v3.0/user-manual/">User manual</a></li>
49+
50+
</ul>
51+
4552
<h4 class="brand-color">Wire tool v1.0</h4>
4653
<ul>
4754

index.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
<guid>https://rack-robotics.github.io/docs/powercore-v2.0/user-manual/</guid>
1515
<description>Powercore V2.0 User Manual What is the Powercore V2.0? The Powercore V2.0 is an open-source wire EDM (electrical discharge machining) power supply developed by Rack Robotics. It aims to provide a cost-effective and easily replicable solution for wire EDM enthusiasts and professionals.&#xA;What is wire EDM? Wire Electrical Discharge Machining (Wire EDM) is a manufacturing process used to cut intricate shapes and contours in electrically conductive materials, such as metals. It operates by generating a series of rapid electrical discharges between a thin, electrically charged wire (usually made of brass) and the workpiece, which is submerged in a dielectric fluid (usually water).</description>
1616
</item>
17+
<item>
18+
<title></title>
19+
<link>https://rack-robotics.github.io/docs/powercore-v3.0/user-manual/</link>
20+
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
21+
<guid>https://rack-robotics.github.io/docs/powercore-v3.0/user-manual/</guid>
22+
<description>Powercore V3.0 User Manual [UNDER CONTRUCTION] What is the Powercore V3.0? What is wire EDM? Safety DANGER The Powercore V3.0 operates at a potentially hazardous voltage of XXX - XXX VDC, and supplies high-power waveforms POTENTIAL FOR DAMAGE&#xA;Help If you find that there&amp;rsquo;s something unclear in this documentation, please submit a ticket on Github.&#xA;If you have questions, please join our discord.&#xA;Powercore V3.0 IO Ports Port Description Best Practices Avoid short circuits.</description>
23+
</item>
1724
<item>
1825
<title></title>
1926
<link>https://rack-robotics.github.io/docs/wire-tool-v1.0/user-manual/</link>

powercore-v2.0/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ <h4 class="brand-color">Powercore v2.0</h4>
4141

4242
</ul>
4343

44+
<h4 class="brand-color">Powercore v3.0</h4>
45+
<ul>
46+
47+
<li><a href="https://rack-robotics.github.io/docs/powercore-v3.0/user-manual/">User manual</a></li>
48+
49+
</ul>
50+
4451
<h4 class="brand-color">Wire tool v1.0</h4>
4552
<ul>
4653

powercore-v2.0/user-manual/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ <h4 class="brand-color">Powercore v2.0</h4>
4141

4242
</ul>
4343

44+
<h4 class="brand-color">Powercore v3.0</h4>
45+
<ul>
46+
47+
<li><a href="https://rack-robotics.github.io/docs/powercore-v3.0/user-manual/">User manual</a></li>
48+
49+
</ul>
50+
4451
<h4 class="brand-color">Wire tool v1.0</h4>
4552
<ul>
4653

powercore-v3.0/index.html

Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Rack Robotics Docs</title>
7+
<meta content="powercore-v3.0 - Rack Robotics Docs" property="og:title">
8+
<meta name="theme-color" content="#FF4F00">
9+
<link rel="icon" type="image/svg+xml" href=https://rack-robotics.github.io/docs/logo.svg />
10+
11+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
12+
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap" rel="stylesheet">
13+
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&display=swap" rel="stylesheet">
14+
<link rel="stylesheet" href=https://rack-robotics.github.io/docs/css/type.css>
15+
<link rel="stylesheet" href=https://rack-robotics.github.io/docs/css/style.css>
16+
</head>
17+
<body>
18+
<header class="site-header">
19+
<div class="logo">Rack Robotics Docs</div>
20+
<nav class="navbar">
21+
<ul class="nav-list">
22+
<li><a href="https://rackrobo.io/">Store</a></li>
23+
24+
</ul>
25+
</nav>
26+
<div class="mobile-menu" onclick="toggleMenu()">&#9776;</div>
27+
</header>
28+
29+
<div class="container">
30+
<aside class="sidebar">
31+
<div class="sidebar-header">
32+
<input type="text" placeholder="Search..." class="sidebar-search">
33+
</div>
34+
<nav class="sidebar-nav">
35+
<ul>
36+
37+
<h4 class="brand-color">Powercore v2.0</h4>
38+
<ul>
39+
40+
<li><a href="https://rack-robotics.github.io/docs/powercore-v2.0/user-manual/">User manual</a></li>
41+
42+
</ul>
43+
44+
<h4 class="brand-color">Powercore v3.0</h4>
45+
<ul>
46+
47+
<li><a href="https://rack-robotics.github.io/docs/powercore-v3.0/user-manual/">User manual</a></li>
48+
49+
</ul>
50+
51+
<h4 class="brand-color">Wire tool v1.0</h4>
52+
<ul>
53+
54+
<li><a href="https://rack-robotics.github.io/docs/wire-tool-v1.0/user-manual/">User manual</a></li>
55+
56+
</ul>
57+
58+
</ul>
59+
</nav>
60+
<div class="sidebar-footer">
61+
<div class="theme-switch-wrapper" onclick="toggleTheme()">
62+
<label class="theme-switch" for="theme-mode">
63+
<input type="checkbox" id="theme-mode" />
64+
<div class="slider round"></div>
65+
</label>
66+
<div class="moon-icon">
67+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 40"><path fill="currentColor" d="M27.492 18.66a10.736 10.736 0 0 1-2.187.22 11.012 11.012 0 0 1-11-11 10.674 10.674 0 0 1 .557-3.439 1 1 0 0 0-1.143-1.3 13 13 0 1 0 14.927 16.81 1 1 0 0 0-1.154-1.291Z"/></svg>
68+
</div>
69+
</div>
70+
</div>
71+
</aside>
72+
<main class="content">
73+
74+
</main>
75+
<aside class="content-overview">
76+
<h2>On This Page</h2>
77+
<ul></ul>
78+
</aside>
79+
</div>
80+
<script>
81+
function toggleMenu() {
82+
document.querySelector('.sidebar').classList.toggle('open');
83+
}
84+
85+
const themeMode = document.querySelector('#theme-mode');
86+
const currentTheme = localStorage.getItem('theme') || 'dark';
87+
document.documentElement.setAttribute('data-theme', currentTheme);
88+
themeMode.checked = currentTheme === 'dark';
89+
function toggleTheme() {
90+
themeMode.checked = !themeMode.checked;
91+
var theme = themeMode.checked ? 'dark' : 'light';
92+
document.documentElement.setAttribute('data-theme', theme);
93+
localStorage.setItem('theme', theme);
94+
}
95+
96+
97+
const headerSelector = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].map((tag) => '.content ' + tag).join(', ');
98+
const headers = document.querySelectorAll(headerSelector);
99+
const headerTree = { parent: null, children: [], level: 0 };
100+
let currentLevel = null;
101+
let currentLevelRef = headerTree;
102+
headers.forEach((header) => {
103+
const level = parseInt(header.tagName[1]);
104+
const node = { text: header.textContent, el: header, children: [], level };
105+
if (currentLevel == null) {
106+
node.parent = headerTree;
107+
headerTree.children.push(node);
108+
currentLevel = level;
109+
} else if (level == currentLevel) {
110+
node.parent = currentLevelRef;
111+
currentLevelRef.children.push(node);
112+
} else if (level > currentLevel) {
113+
currentLevelRef = currentLevelRef.children[currentLevelRef.children.length - 1];
114+
node.parent = currentLevelRef;
115+
currentLevelRef.children.push(node);
116+
currentLevel = level;
117+
} else if (level < currentLevel) {
118+
while (currentLevelRef.level != level) {
119+
currentLevelRef = currentLevelRef.parent;
120+
}
121+
currentLevelRef = currentLevelRef.parent;
122+
node.parent = currentLevelRef;
123+
currentLevelRef.children.push(node);
124+
currentLevel = level;
125+
}
126+
});
127+
128+
129+
const contentOverview = document.querySelector('.content-overview ul');
130+
function createContentOverview(node, parent) {
131+
const li = document.createElement('li');
132+
const a = document.createElement('a');
133+
a.href = '#' + node.el.id;
134+
a.textContent = node.text;
135+
a.onclick = () => {
136+
node.el.scrollIntoView({ behavior: 'smooth' });
137+
};
138+
li.appendChild(a);
139+
if (node.children.length > 0) {
140+
const ul = document.createElement('ul');
141+
ul.classList.add('nest');
142+
node.children.forEach((child) => {
143+
createContentOverview(child, ul);
144+
});
145+
li.appendChild(ul);
146+
}
147+
parent.appendChild(li);
148+
}
149+
150+
headerTree.children.forEach((child) => {
151+
createContentOverview(child, contentOverview);
152+
});
153+
154+
155+
if (headers.length <= 1) {
156+
document.querySelector('.content-overview').style.display = 'none';
157+
}
158+
</script>
159+
</body>
160+
</html>

powercore-v3.0/index.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
2+
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
3+
<channel>
4+
<title>Rack Robotics Docs</title>
5+
<link>https://rack-robotics.github.io/docs/powercore-v3.0/</link>
6+
<description>Recent content on Rack Robotics Docs</description>
7+
<generator>Hugo</generator>
8+
<language>en-us</language>
9+
<atom:link href="https://rack-robotics.github.io/docs/powercore-v3.0/index.xml" rel="self" type="application/rss+xml" />
10+
<item>
11+
<title></title>
12+
<link>https://rack-robotics.github.io/docs/powercore-v3.0/user-manual/</link>
13+
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
14+
<guid>https://rack-robotics.github.io/docs/powercore-v3.0/user-manual/</guid>
15+
<description>Powercore V3.0 User Manual [UNDER CONTRUCTION] What is the Powercore V3.0? What is wire EDM? Safety DANGER The Powercore V3.0 operates at a potentially hazardous voltage of XXX - XXX VDC, and supplies high-power waveforms POTENTIAL FOR DAMAGE&#xA;Help If you find that there&amp;rsquo;s something unclear in this documentation, please submit a ticket on Github.&#xA;If you have questions, please join our discord.&#xA;Powercore V3.0 IO Ports Port Description Best Practices Avoid short circuits.</description>
16+
</item>
17+
</channel>
18+
</rss>

0 commit comments

Comments
 (0)