feat(docs): initialize fumadocs - #13
Merged
Merged
Conversation
mezotv
enabled auto-merge (squash)
July 17, 2025 20:29
Contributor
There was a problem hiding this comment.
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 |
…t/discord-components into feat/component-docs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)