Skip to content

feat(docs): initialize fumadocs - #13

Merged
mezotv merged 11 commits into
mainfrom
feat/component-docs
Jul 18, 2025
Merged

feat(docs): initialize fumadocs#13
mezotv merged 11 commits into
mainfrom
feat/component-docs

Conversation

@mezotv

@mezotv mezotv commented Jul 17, 2025

Copy link
Copy Markdown
Member

Adds fumadocs and a simple example page.

Note: Not happy with the navbar might need to cook a better one in the future! (Maybe copy the wouldyoubot.gg one)

@mezotv
mezotv requested review from Copilot and tobias-hay July 17, 2025 20:29
@mezotv
mezotv enabled auto-merge (squash) July 17, 2025 20:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR initializes Fumadocs, a documentation framework, for the Discord Components project. It sets up a complete documentation site with MDX support, automatic sitemap generation, and OpenGraph image generation.

  • Adds Fumadocs dependencies and configuration for MDX-based documentation
  • Creates initial documentation structure with example content and routing
  • Implements SEO features including sitemap generation and OG image creation

Reviewed Changes

Copilot reviewed 19 out of 22 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
source.config.ts Configuration for Fumadocs MDX processing with docs and meta schemas
package.json Added Fumadocs dependencies and postinstall script
next.config.ts Integrated MDX processing with Fumadocs
mdx-components.tsx Configured MDX components for enhanced documentation features
lib/source.ts Source loader configuration for documentation pages
content/docs/index.mdx Initial documentation page with basic content
app/sitemap.ts Dynamic sitemap generation including documentation pages
app/og/[...slug]/ OpenGraph image generation for documentation pages
app/layout.tsx Updated root layout with Fumadocs provider and enhanced metadata
app/layout.config.tsx Shared layout configuration for documentation
app/globals.css Added Fumadocs styling and custom CSS variables
app/docs/ Documentation layout and dynamic page routing
app/api/search/route.ts Search API endpoint for documentation
app/(home)/ Updated home page layout and styling
.source/ Generated files from Fumadocs build process

Comment thread app/og/[...slug]/og.tsx
Comment thread app/og/[...slug]/route.tsx
Comment thread app/og/[...slug]/route.tsx
Comment thread app/layout.config.tsx
Comment thread .source/index.ts Outdated
tobias-hay
tobias-hay previously approved these changes Jul 18, 2025

@tobias-hay tobias-hay left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mezotv
mezotv disabled auto-merge July 18, 2025 06:28
@mezotv
mezotv merged commit 7bf1c4e into main Jul 18, 2025
2 checks passed
@mezotv
mezotv deleted the feat/component-docs branch July 18, 2025 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants