Skip to content

Fix slug path to render content#255

Merged
torn4dom4n merged 4 commits into
mainfrom
fix/slug-path-rendering-12514049415260517855
Jun 5, 2026
Merged

Fix slug path to render content#255
torn4dom4n merged 4 commits into
mainfrom
fix/slug-path-rendering-12514049415260517855

Conversation

@torn4dom4n
Copy link
Copy Markdown
Member

The parameter name in app/[[...slug]]/page.tsx was incorrectly set to mdxPath, causing a mismatch with the directory name and preventing content from rendering. Updated it to slug to align with the file system routing.

I have:

  1. Modified app/[[...slug]]/page.tsx to use slug instead of mdxPath in Page and generateMetadata.
  2. Verified the fix by running pnpm install and pnpm build, which successfuly generated static pages for all files in the content/ directory.
  3. Ran pnpm check to ensure code style consistency.

PR created automatically by Jules for task 12514049415260517855 started by @torn4dom4n

The parameter name in `app/[[...slug]]/page.tsx` was incorrectly set to `mdxPath`, causing a mismatch with the directory name and preventing content from rendering. Updated it to `slug` to align with the file system routing.

Verified with `pnpm build` which now correctly generates static pages for all content.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@torn4dom4n torn4dom4n marked this pull request as ready for review June 5, 2026 11:46
- Fixed `app/[[...slug]]/page.tsx` to use correct `slug` parameter name.
- Renamed `fumadocs.com` to `fumadocs.dev` for corrected links.
- Improved `Steps` component usage by using standard markdown headings (`###`).
- Added custom `Image` component to `mdx-components.tsx` for optimized images.
- Refactored content MDX files to use the improved `Steps` and `Image` components.
- Verified changes with a production build and Biome checks.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
- Replaced generic "Step 1", "Step 2" headings with descriptive step titles within the `<Steps>` component.
- Applied these changes to `content/230302_0215.mdx` and `content/230304_2057.mdx`.
- Verified changes with a production build.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
- Corrected `slug` parameter in `[[...slug]]` route.
- Updated all links to `fumadocs.dev`.
- Enhanced `Steps` component by using the explicit `<Step>` component for better semantics and styling.
- Integrated `next/image` via a custom `<Image />` component for better performance and optimized images.
- Refactored all MDX content to use the improved components.
- Verified with a full production build and Biome linting.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@torn4dom4n torn4dom4n merged commit 490511b into main Jun 5, 2026
4 checks passed
@torn4dom4n torn4dom4n deleted the fix/slug-path-rendering-12514049415260517855 branch June 5, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant