Updated marmalade documentation.

This commit is contained in:
Toastie 2024-07-22 22:32:15 +12:00
parent e51002a42b
commit 00f595436a
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
3 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,5 @@
+++
title = "Canary lifecycle!"
title = "Canary lifecycle."
description = "This documents the lifecycle of canaries"
weight = 3
+++

View file

@ -1,5 +1,5 @@
+++
title = "Creating a marmalade!"
title = "Creating a marmalade."
description = "This will hopefully guide you on how to create a marmalade"
weight = 1
+++
@ -158,7 +158,7 @@ This section will guide you through how to create a simple custom marmalade. You
<ItemGroup>
<!-- Base marmalade package. You MUST reference this in order to have a working marmalade -->
<!-- Also, this package comes from Toastielab, which requires you to have a NuGet.Config file next to your .csproj -->
<PackageReference Include="Ellie.Marmalade" Version="4.3.9">
<PackageReference Include="Ellie.Marmalade" Version="5.*">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
@ -182,8 +182,7 @@ This section will guide you through how to create a simple custom marmalade. You
```
- Create a `MyCanary.cs` file and add the following contents
```cs
using Ellie.Canary;
using EllieBot;
using EllieBot.Marmalade;
using Discord;
public sealed class MyCanary : Canary
@ -202,6 +201,7 @@ public sealed class MyCanary : Canary
}
```
- Create `res.yml` and `cmds.yml` files with the following contents
`res.yml`
```yml
marmalade.description: "This is my marmalade's description"

View file

@ -1,5 +1,5 @@
+++
title = "Getting started!"
title = "Getting started."
description = "This guide on getting started with the marmalade system"
weight = 2
+++