Skip to content

Commit 46b8cc1

Browse files
committed
add blacklist
1 parent f9da393 commit 46b8cc1

File tree

2 files changed

+80
-0
lines changed

2 files changed

+80
-0
lines changed

docs/.vitepress/config/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ function nav() {
4646
return [
4747
{ text: "Guide", link: "/guide" },
4848
{ text: "Repositories", link: "/repository" },
49+
{ text: "Blacklist", link: "/blacklist" },
4950
{ text: "Legal", link: "/legal/privacy" },
5051
];
5152
}

docs/en/blacklist/index.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
---
2+
title: Blacklist
3+
descriptions: A list of blacklisted modules in MMRL
4+
editLink: false
5+
prev: false
6+
next: false
7+
---
8+
9+
<script setup>
10+
import blacklist from '../../data/blacklist.yaml'
11+
12+
const openUrl = (url) => {
13+
window.open(url);
14+
};
15+
</script>
16+
17+
# Blacklist
18+
19+
A list of blacklisted modules
20+
21+
<div v-for="module in blacklist">
22+
23+
## {{ module.id }}
24+
25+
<a :href="module.source" target="_blank" :class="[$style.VPButton, $style.VPButton_medium, $style.VPButton_alt]">{{ module.source }}</a>
26+
27+
<template v-if="module.notes && module.note !== ''">
28+
29+
> [!NOTE]
30+
> {{ module.notes }}
31+
32+
</template>
33+
34+
35+
<template v-if="module.antifeatures && module.antifeatures.length !== 0">
36+
<ul v-for="af in module.antifeatures">
37+
<li>
38+
<a href="/guide/antifeatures">
39+
{{ af }}
40+
</a>
41+
</li>
42+
</ul>
43+
</template>
44+
45+
</div>
46+
47+
48+
49+
<style module>
50+
.VPButton {
51+
display: inline-block;
52+
border: 1px solid transparent;
53+
text-align: center;
54+
font-weight: 600;
55+
white-space: nowrap;
56+
color: unset !important;
57+
text-decoration: unset !important;
58+
transition: color 0.25s, border-color 0.25s, background-color 0.25s;
59+
}
60+
61+
.VPButton_medium {
62+
border-radius: 20px;
63+
padding: 0 20px;
64+
line-height: 38px;
65+
font-size: 14px;
66+
}
67+
68+
.VPButton_alt {
69+
border-color: var(--vp-button-alt-border);
70+
color: var(--vp-button-alt-text);
71+
background-color: var(--vp-button-alt-bg);
72+
}
73+
74+
.VPButton_brand {
75+
border-color: var(--vp-button-brand-border);
76+
color: var(--vp-button-brand-text);
77+
background-color: var(--vp-button-brand-bg);
78+
}
79+
</style>

0 commit comments

Comments
 (0)