Skip to content

Commit ca33f0b

Browse files
committed
add new docs
1 parent 305988a commit ca33f0b

File tree

4 files changed

+48
-0
lines changed

4 files changed

+48
-0
lines changed

docs/.vitepress/config/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ function sidebarGuide() {
9696
{ text: "What is MMRL", link: "/guide/" },
9797
{ text: "Anti-Features", link: "/guide/antifeatures" },
9898
{ text: "Installer API", link: "/guide/installer" },
99+
{ text: "How a Module Card Works", link: "/guide/how-a-module-card-works" },
99100
{
100101
text: "WebUI",
101102
collapsed: true,
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: How a Module Card Works
3+
descriptions: Here will you learn how the module card works in MMRL
4+
---
5+
6+
# How a Module Card Works
7+
8+
You'll see two differnet module cards below, what do you notice?
9+
10+
<table tabindex="0">
11+
<thead>
12+
<tr>
13+
<th>Module that uses Action and WebUI</th>
14+
<th>Module that not uses Action or WebUI</th>
15+
</tr>
16+
</thead>
17+
<tbody>
18+
<tr>
19+
<td>
20+
<img src="/assets/general/Module-Card-1.webp">
21+
</td>
22+
<td>
23+
<img src="/assets/general/Module-Card-2.webp">
24+
</td>
25+
</tr>
26+
<tr>
27+
<td>
28+
<ol>
29+
<li>Action button. By clicking this button you run the modules' action script</li>
30+
<li>The button to update your module</li>
31+
<li>The button to remove your module</li>
32+
<li>The button to disable your module</li>
33+
<li>This icon indicates if a module has a WebUI. By clicking the card you'll enter the modules' WebUI</li>
34+
</ol>
35+
</td>
36+
<td>
37+
<ol>
38+
<s :style="{color: 'var(--vp-code-line-number-color)'}"><li>Action button. By clicking this button you run the modules' action script</li></s>
39+
<li>The button to update your module</li>
40+
<li>The button to remove your module</li>
41+
<li>The button to disable your module</li>
42+
<s :style="{color: 'var(--vp-code-line-number-color)'}"><li>This icon indicates if a module has a WebUI. By clicking the card you'll enter the modules' WebUI</li></s>
43+
</ol>
44+
</td>
45+
</tr>
46+
</tbody>
47+
</table>
40.2 KB
Loading
38.2 KB
Loading

0 commit comments

Comments
 (0)