Skip to content
This repository was archived by the owner on Aug 10, 2025. It is now read-only.

Commit 35fcbd8

Browse files
Added some files
1 parent c7fa0f6 commit 35fcbd8

File tree

6 files changed

+26
-1
lines changed

6 files changed

+26
-1
lines changed

docs/usage/index.mdx

Whitespace-only changes.

docs/usage/selfhost.mdx

Whitespace-only changes.

generate-sidebar-css.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ const styles = [
1212
"feather",
1313
"start",
1414
"album",
15-
"replace"
15+
"replace",
16+
"usage"
1617
];
1718

1819
const output = [];

sidebars.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ const sidebars: SidebarsConfig = {
2525
label: 'Introduction',
2626
className: "style_album"
2727
},
28+
{
29+
type: 'doc',
30+
id: 'usage',
31+
label: 'Usage',
32+
className: "style_usage"
33+
},
2834
{
2935
type: 'doc',
3036
id: 'troubleshooting',

src/css/sidebar-style.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,3 +195,21 @@
195195
background-size: contain;
196196
background-repeat: no-repeat;
197197
}
198+
199+
200+
.style_usage .menu__link {
201+
position: relative;
202+
padding-left: 2em;
203+
}
204+
.style_usage .menu__link::before {
205+
content: "";
206+
position: absolute;
207+
top: 50%;
208+
left: 1%;
209+
transform: translateY(-50%);
210+
width: 1em;
211+
height: 1em;
212+
background-image: url("../../static/img/sidebar/usage.png");
213+
background-size: contain;
214+
background-repeat: no-repeat;
215+
}

static/img/sidebar/usage.png

436 Bytes
Loading

0 commit comments

Comments
 (0)