Updated marmalade documentation.
This commit is contained in:
parent
e51002a42b
commit
00f595436a
3 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = "Canary lifecycle!"
|
||||
title = "Canary lifecycle."
|
||||
description = "This documents the lifecycle of canaries"
|
||||
weight = 3
|
||||
+++
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = "Getting started!"
|
||||
title = "Getting started."
|
||||
description = "This guide on getting started with the marmalade system"
|
||||
weight = 2
|
||||
+++
|
||||
|
|
Loading…
Reference in a new issue