aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-11-19 02:58:31 -0800
committerFuwn <[email protected]>2023-11-19 02:58:31 -0800
commit494682b844c5c7208bf5cc133f207b302dd34bd4 (patch)
tree6681de2c54c70ec588746951892f51191efc5bbc
parentfeat(routes): remove simple headings (diff)
downloadfrontend-next-494682b844c5c7208bf5cc133f207b302dd34bd4.tar.xz
frontend-next-494682b844c5c7208bf5cc133f207b302dd34bd4.zip
feat(api): simplify
-rw-r--r--src/routes/api.svelte34
1 files changed, 16 insertions, 18 deletions
diff --git a/src/routes/api.svelte b/src/routes/api.svelte
index 7c5a231..08c811c 100644
--- a/src/routes/api.svelte
+++ b/src/routes/api.svelte
@@ -36,27 +36,25 @@ SPDX-License-Identifier: GPL-3.0-only -->
</svelte:head>
<section>
- <h1>API</h1>
-
- <p>This documentation is auto-generated, there may be errors.</p>
-
- <p>
- The Senpy Club API can be accessed at
- <a href="https://api.senpy.club" target="_blank">https://api.senpy.club</a>.
- </p>
-
- <p>
- The Senpy Club API can also be accessed through GraphQL:
- <a href="https://github.com/senpy-club/graphql-api" target="_blank">
- GitHub
- </a>,
- <a href="https://graphql.senpy.club/playground">Playground</a>
- </p>
+ <p>The Senpy Club API can be accessed at</p>
+
+ <ul>
+ <li>
+ <a href="https://api.senpy.club" target="_blank">REST</a>
+ </li>
+ <li>
+ <a href="https://github.com/senpy-club/graphql-api" target="_blank">
+ GraphQL,
+ </a>
+ <a href="https://graphql.senpy.club/playground" target="_blank"
+ >Playground</a
+ >
+ </li>
+ </ul>
{#if !complete}
- <p>Fetching API README...</p>
+ <p>Fetching API README ...</p>
{:else}
{@html rst2html(rst)}
- <p>Double rst_to_html_time = {rstTime}; /* ms */</p>
{/if}
</section>