Skip to content

Commit a30db66

Browse files
authored
feat: add SEO configuration (#2)
- Add site-wide description, keywords, Open Graph, and Twitter card metadata via themeConfig.metadata, plus a default og:image pointing at the Mocha logo. - Inject robots meta, theme-color, canonical link, and a WebSite schema.org JSON-LD block via headTags. - Configure the sitemap plugin (weekly changefreq, lastmod from date, ignore /tags) and add a static robots.txt pointing at it. - Disable the unused blog preset so it no longer shows up in the sitemap. - Add per-page title, description, and keywords frontmatter to every tutorial, command, chat, room, web, and others page so each has its own snippet, OG tags, and search-engine title. - Add a three-column footer with docs, community, and external links for better site-level internal linking. - Enable showLastUpdateTime and trailingSlash:false.
1 parent 8100a6d commit a30db66

22 files changed

Lines changed: 290 additions & 11 deletions

docs/chat/messages.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
---
22
sidebar_position: 1
3+
title: Messages, Formatting, and Mentions
4+
description: How Mocha relays messages across Discord servers — supported formatting, images, links, stickers, edits, deletes, and the #(Server) and !tmp prefix tricks.
5+
keywords:
6+
- mocha messages
7+
- discord message formatting
8+
- discord cross server chat
9+
- temporary messages
10+
- server mentions
311
---
412

513
# Messages

docs/chat/reactions-replies.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
---
22
sidebar_position: 2
3+
title: Replies and Pins Across Servers
4+
description: How Mocha mirrors Discord replies with correct threading and pin actions across every channel in a room, plus the caveats around cache TTL and permissions.
5+
keywords:
6+
- discord reply threading
7+
- pinned messages
8+
- mocha replies
9+
- cross-server replies
310
---
411

512
# Replies & Pins

docs/chat/typing.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
---
22
sidebar_position: 3
3+
title: Typing Indicators
4+
description: Mocha forwards Discord typing indicators between every channel in a room so conversations feel native across servers. Here is exactly how it works and why loops don't form.
5+
keywords:
6+
- discord typing indicator
7+
- mocha typing
8+
- cross-server typing
39
---
410

511
# Typing Indicators

docs/commands/feedback.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
---
22
sidebar_position: 3
3+
title: "/feedback — Send Feedback to Mocha Developers"
4+
description: Use the /feedback slash command to send bug reports, suggestions, and feature requests directly to the Mocha developers from any Discord server.
5+
keywords:
6+
- /feedback command
7+
- mocha bug report
8+
- mocha feature request
9+
- discord bot feedback
310
---
411

512
# Feedback

docs/commands/help.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
---
22
sidebar_position: 1
3+
title: "/help — Mocha Bot Command"
4+
description: The /help slash command shows the list of available Mocha commands and a quick link to mocha-bot.xyz. Use it to verify the bot is alive and find command names.
5+
keywords:
6+
- /help command
7+
- mocha help
8+
- discord bot help
39
---
410

511
# Help

docs/commands/room.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
---
22
sidebar_position: 2
3+
title: "/room — Mocha Bot Commands Reference"
4+
description: Full reference for the /room slash command and its subcommands — create, join, disconnect, switch, info, and invite — with every parameter and option.
5+
keywords:
6+
- /room command
7+
- mocha room
8+
- room create
9+
- room join
10+
- room invite
11+
- discord slash command
312
---
413

514
# Room

docs/index.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
---
22
sidebar_position: 1
3+
title: Mocha Bot Documentation
4+
description: Mocha is a Discord bot that links channels across different servers into shared rooms. Start here to invite the bot, create your first room, and bridge servers in under five minutes.
5+
keywords:
6+
- mocha bot
7+
- discord bot
8+
- cross-server discord
9+
- discord bridge
10+
- discord rooms
311
---
412

513
# Introduction

docs/others/acknowledgement.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
---
22
sidebar_position: 1
3+
title: Acknowledgements
4+
description: Mocha is built on top of open-source projects including DiscordGo, Echo, GORM, Asynq, Meilisearch, Next.js, and Docusaurus. Thanks to every maintainer and contributor.
5+
keywords:
6+
- mocha credits
7+
- open source
8+
- acknowledgements
39
---
410

511
# Acknowledgement

docs/others/frequent-searches.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
---
22
sidebar_position: 2
3+
title: Mocha FAQ — Frequent Searches
4+
description: Answers to the most common Mocha questions — inviting the bot, creating private rooms, temporary messages, sync windows, invitations, and ratings.
5+
keywords:
6+
- mocha faq
7+
- frequent questions
8+
- mocha help
9+
- discord bot faq
310
---
411

512
# Frequent Searches

docs/rooms/invitations.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
---
22
sidebar_position: 2
3+
title: Room Invitations
4+
description: Everything about Mocha invitation codes — aliases, max usage, expiration choices, redemption flow, and the feature gates that control which options your plan unlocks.
5+
keywords:
6+
- room invitation
7+
- invitation code
8+
- room alias
9+
- mocha invite
310
---
411

512
# Invitations

0 commit comments

Comments
 (0)