added content
This commit is contained in:
@@ -1,16 +1,44 @@
|
||||
---
|
||||
import Layout from "../layouts/Layout.astro";
|
||||
const unsortedDocs = await Astro.glob("./docs/*/*.mdx");
|
||||
const docs = unsortedDocs
|
||||
.sort(
|
||||
(a, b) => +new Date(b.frontmatter.date) - +new Date(a.frontmatter.date),
|
||||
)
|
||||
.filter((doc) => !doc.frontmatter.draft);
|
||||
import "../styles/docs.scss";
|
||||
const unsortedDocs = await Astro.glob("./docs/*/index.mdx");
|
||||
const docs = unsortedDocs.sort(
|
||||
(a, b) => +new Date(b.frontmatter.date) - +new Date(a.frontmatter.date)
|
||||
);
|
||||
---
|
||||
|
||||
<Layout
|
||||
title="Docs"
|
||||
description="This is my personal website with my projects, docs and other useful stuff."
|
||||
title="Docs"
|
||||
description="This is my personal website with my projects, docs and other useful stuff."
|
||||
>
|
||||
<main><div class="content">Docs (not finished yet)</div></main>
|
||||
<main>
|
||||
<div class="content">
|
||||
<h1>Docs</h1>
|
||||
{
|
||||
docs.map((doc) => (
|
||||
<div class="second-content">
|
||||
<a href={doc.url}>
|
||||
<h2>{doc.frontmatter.title}</h2>
|
||||
</a>
|
||||
<p>{doc.frontmatter.subtitle}</p>
|
||||
<a href={"https://github.com/vaporvee/" + doc.frontmatter.repo}>
|
||||
<img
|
||||
src="/github-mark.svg"
|
||||
style="margin-bottom: -10px; margin-right:3px;"
|
||||
/>
|
||||
<p>Respository</p>
|
||||
</a>
|
||||
{doc.frontmatter.has_thumbnail ? (
|
||||
<a href={doc.url}>
|
||||
<img
|
||||
width="800vh"
|
||||
src={"/img/docs/thumbnails/" + doc.frontmatter.repo + ".webp"}
|
||||
/>
|
||||
</a>
|
||||
) : null}
|
||||
</div>
|
||||
))
|
||||
}
|
||||
</div>
|
||||
</main>
|
||||
</Layout>
|
||||
|
@@ -2,7 +2,6 @@
|
||||
layout: ../../../layouts/DocsLayout.astro
|
||||
repo: discord-sdk-godot
|
||||
title: Activities
|
||||
draft: true
|
||||
---
|
||||
|
||||
# Variables
|
||||
|
@@ -2,7 +2,6 @@
|
||||
layout: ../../../layouts/DocsLayout.astro
|
||||
repo: discord-sdk-godot
|
||||
title: Building
|
||||
draft: true
|
||||
---
|
||||
# How to build
|
||||
1. Clone the project
|
||||
|
@@ -2,7 +2,6 @@
|
||||
layout: ../../../layouts/DocsLayout.astro
|
||||
repo: discord-sdk-godot
|
||||
title: Debug
|
||||
draft: true
|
||||
---
|
||||
The `DiscordSDKDebug` Node shows the current status of the SDK and its values.<br/>
|
||||
You can also print the `current_user` Dictionary or the whole friendslist Array on the console and manage invites with the Button and input LineEdits. You can also disable and enable the Activity with the button switch.
|
||||
|
@@ -2,7 +2,6 @@
|
||||
layout: ../../../layouts/DocsLayout.astro
|
||||
repo: discord-sdk-godot
|
||||
title: Editor Presence
|
||||
draft: true
|
||||
---
|
||||
<img width="550px" src="https://raw.githubusercontent.com/vaporvee/discord-sdk-godot/main/project/assets/GodotEditorPresenceBanner.svg" />
|
||||
<br/>
|
||||
|
@@ -1,8 +1,17 @@
|
||||
---
|
||||
layout: ../../../layouts/DocsLayout.astro
|
||||
repo: discord-sdk-godot
|
||||
has_thumbnail: true
|
||||
title: Discord SDK plugin for Godot
|
||||
draft: true
|
||||
subtitle: Discord Game SDK support for GDScript in Godot Engine 4.2. with the easiest code pattern!
|
||||
features: |
|
||||
- Activities (Make people see what you are playing)
|
||||
- Invites
|
||||
- Steam and launch command registering
|
||||
- User information
|
||||
- Relationship Manager (Get friendlist and its updates)
|
||||
- Overlay management
|
||||
- Editor Presence (optional)
|
||||
---
|
||||
|
||||
:::note{title="Important Discord Game SDK information"}
|
||||
|
@@ -2,7 +2,6 @@
|
||||
layout: ../../../layouts/DocsLayout.astro
|
||||
repo: discord-sdk-godot
|
||||
title: Relationship Manager
|
||||
draft: true
|
||||
---
|
||||
# Variables
|
||||
|
||||
|
@@ -2,7 +2,6 @@
|
||||
layout: ../../../layouts/DocsLayout.astro
|
||||
repo: discord-sdk-godot
|
||||
title: Users
|
||||
draft: true
|
||||
---
|
||||
# Methods
|
||||
|
||||
|
@@ -2,7 +2,6 @@
|
||||
layout: ../../../layouts/DocsLayout.astro
|
||||
repo: discord-sdk-godot
|
||||
title: Utillity or other stuff
|
||||
draft: true
|
||||
---
|
||||
# Methods
|
||||
## Run callbacks
|
||||
|
Reference in New Issue
Block a user