Skip to content

Commit bfd5cf3

Browse files
committed
fixes
1 parent e286ab7 commit bfd5cf3

File tree

5 files changed

+52
-3417
lines changed

5 files changed

+52
-3417
lines changed

.github/workflows/deploy-website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Setup Pages
3838
uses: actions/configure-pages@v5
3939
- name: Install dependencies
40-
run: yarn install --frozen-lockfile --force
40+
run: yarn install --frozen-lockfile
4141
- name: Build with VitePress
4242
run: |
4343
yarn docs:build

docs/.vitepress/config.ts

Lines changed: 1 addition & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -28,80 +28,9 @@ export default defineConfig({
2828
},
2929
],
3030
],
31-
transformHead: ({ pageData }) => {
32-
const head: HeadConfig[] = [];
33-
34-
if (pageData.frontmatter.description) {
35-
head.push([
36-
"meta",
37-
{
38-
property: "og:description",
39-
content: pageData.frontmatter.description,
40-
},
41-
]);
42-
}
43-
44-
if (pageData.frontmatter.image) {
45-
head.push([
46-
"meta",
47-
{ property: "og:image", content: pageData.frontmatter.image },
48-
]);
49-
}
50-
51-
head.push([
52-
"meta",
53-
{
54-
property: "og:url",
55-
content: `https://mmrl.dev${pageData.relativePath}`,
56-
},
57-
]);
58-
59-
head.push(["meta", { property: "og:type", content: "website" }]);
60-
61-
head.push(["meta", { property: "og:site_name", content: "MMRL" }]);
62-
63-
head.push(["meta", { property: "og:locale", content: "en_US" }]);
64-
65-
head.push(["meta", { name: "twitter:card", content: "summary" }]);
66-
67-
head.push(["meta", { name: "twitter:site", content: "@Der_Googler" }]);
68-
69-
head.push(["meta", { name: "twitter:creator", content: "@Der_Googler" }]);
70-
71-
head.push([
72-
"meta",
73-
{ name: "twitter:title", content: pageData.frontmatter.title },
74-
]);
75-
76-
head.push([
77-
"meta",
78-
{
79-
name: "twitter:description",
80-
content: pageData.frontmatter.description,
81-
},
82-
]);
83-
84-
if (pageData.frontmatter.image) {
85-
head.push([
86-
"meta",
87-
{ name: "twitter:image", content: pageData.frontmatter.image },
88-
]);
89-
90-
head.push([
91-
"meta",
92-
{ name: "twitter:image:alt", content: pageData.frontmatter.title },
93-
]);
94-
}
95-
96-
return head;
97-
},
9831
buildEnd: async (config: SiteConfig) => {
9932
const publicApi = resolve(config.outDir, "api");
100-
// const repositoriesYaml = resolve(publicApi, "repositories.yaml");
101-
const publicRepoList = resolve(publicApi, "gg");
102-
103-
// const readContent = await readFile(repositoriesYaml, "utf8");
104-
// const par = parse(readContent);
33+
const publicRepoList = resolve(publicApi, "repositories.json");
10534

10635
console.log("Writing repositories.json");
10736
await writeFile(publicRepoList, repositoriesJSONstringify);

docs/data/repositories.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
[
2+
{
3+
"slug": "gmr",
4+
"name": "Googlers Magisk Repo",
5+
"maintainers": [],
6+
"url": "https://gr.dergoogler.com/gmr/"
7+
},
8+
{
9+
"slug": "mmar",
10+
"name": "Magisk Modules Alternative Repo",
11+
"maintainers": [],
12+
"url": "https://magisk-modules-alt-repo.github.io/json-v2/"
13+
},
14+
{
15+
"slug": "imr",
16+
"name": "IzzyOnDroid Magisk Repository",
17+
"maintainers": [],
18+
"url": "https://apt.izzysoft.de/magisk/"
19+
},
20+
{
21+
"slug": "mmrr",
22+
"name": "Magisk Modules Rikj000 Repo",
23+
"maintainers": [],
24+
"url": "https://rikj000.github.io/Magisk-Modules-Rikj000-Repo/"
25+
},
26+
{
27+
"slug": "cmmr",
28+
"name": "Celica Magisk Modules Repo",
29+
"maintainers": [],
30+
"url": "https://natsumerinchan.github.io/celica-magisk-modules-repo/"
31+
},
32+
{
33+
"slug": "mfcr",
34+
"name": "Magisk Font Collection Repository",
35+
"maintainers": [],
36+
"url": "https://codeberg.org/fruitsnack/magisk-font-repo/raw/branch/main/"
37+
},
38+
{
39+
"slug": "lmr",
40+
"name": "LelouBil Magisk Repo",
41+
"maintainers": [],
42+
"url": "https://leloubil.github.io/magisk-repo/"
43+
},
44+
{
45+
"slug": "m-mr",
46+
"name": "Misaki-Modules Repo",
47+
"maintainers": [],
48+
"url": "https://misak10.github.io/mmrl-repo/"
49+
}
50+
]

0 commit comments

Comments
 (0)