Skip to content

Commit

Permalink
update docs theme + fix guide sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
notunderctrl committed Dec 15, 2024
1 parent 4add8b3 commit 7852488
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 9 deletions.
2 changes: 1 addition & 1 deletion apps/docs/content/guide/buttonkit.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: ButtonKit
title: Using ButtonKit
description: ButtonKit is an enhanced version of the native Discord.js ButtonBuilder, designed to simplify the process of creating and handling button interactions in your Discord bot.
---

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/guide/command-file-setup.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Command File Setup
title: Commands setup
description: Learn how to set up commands in CommandKit.
---

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/guide/commandkit-config.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: CommandKit Configuration
title: CommandKit config file
description: Learn how to configure CommandKit CLI for your project.
---

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/guide/commandkit-setup.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: CommandKit Setup
title: CommandKit setup
description: A simple overview of how to set up CommandKit with all the available options.
---

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/guide/create-commandkit.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Create CommandKit
title: create-commandkit
description: Create a new CommandKit application with the command-line utility.
---

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/guide/event-file-setup.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Events Setup
title: Events setup
description: A simple overview of how to set up event functions.
---

Expand Down
19 changes: 19 additions & 0 deletions apps/docs/content/guide/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"title": "CommandKit",
"description": "The CommandKit library",
"icon": "Building2",
"root": true,
"pages": [
"---Guide---",
"installation",
"create-commandkit",
"commandkit-setup",
"command-file-setup",
"event-file-setup",
"validation-file-setup",
"buttonkit",
"using-cli",
"commandkit-config",
"migrating-from-djs-commander"
]
}
2 changes: 1 addition & 1 deletion apps/docs/content/guide/migrating-from-djs-commander.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Migrating from djs-commander
description: A guide on migrating from DJS-Commander to CommandKit.
---

# Migrating from `DJS-Commander`
# Migrating from DJS-Commander

If you're trying to use CommandKit as a drop-in replacement for DJS-Commander, you'll need to make a few changes to your code.

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/guide/validation-file-setup.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Validations Setup
title: Validations setup
description: Learn how to set up validations for your commands.
---

Expand Down
6 changes: 5 additions & 1 deletion apps/docs/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@ export default {
'./node_modules/fumadocs-ui/dist/**/*.js',
'../../node_modules/fumadocs-ui/dist/**/*.js',
],
presets: [createPreset()],
presets: [
createPreset({
preset: 'vitepress',
}),
],
};

0 comments on commit 7852488

Please sign in to comment.