Remove guides, they moved to the minecraft wiki

This commit is contained in:
Misode
2023-11-23 01:35:58 +01:00
parent 27e5ea707b
commit 1394711d08
30 changed files with 143 additions and 1716 deletions

View File

@@ -1,20 +0,0 @@
export interface Guide {
id: string,
title: string,
versions?: string[],
tags?: string[],
}
declare var __GUIDES__: Guide[]
export function getGuides() {
return __GUIDES__
}
export function getGuide(id: string): Guide {
const guide = getGuides().find(g => g.id === id)
if (guide === undefined) {
return { id, title: 'Unknown Guide' }
}
return guide
}