adds API docs
This commit is contained in:
@@ -12,6 +12,11 @@
|
||||
<div>
|
||||
<h5 class="font-semibold">Resources</h5>
|
||||
<ul class="mt-4 text-sm">
|
||||
<li>
|
||||
<a href="/docs/api/index.html"
|
||||
>API {$_("documentation")}</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/Flomp/wanderer/wiki"
|
||||
>{$_("documentation")}</a
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
|
||||
searchDropdownItems = result.hits.map((h: Record<string, any>) => ({
|
||||
text: h.name,
|
||||
description: `${h.division} | ${
|
||||
description: `${h.division ? `${h.division} | ` : ""}${
|
||||
country_codes[h["country code"] as keyof typeof country_codes]
|
||||
}`,
|
||||
value: h,
|
||||
|
||||
Reference in New Issue
Block a user