Fumadocs keeps showing only content on one (index.mdx) file #527
Unanswered
piotr-kozlowski-reps
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Could you elaborate more? Only the content of index.mdx is shown, no matter which page you're on? You can send a screenshot of the site |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've got a problem I can't solve.
Help if possible, please, please :)
PROBLEM: whatever mdx files (or folder with mdx files) I put in content/instrukcja folder - whereever I click in side navigation - only content of one - index.mdx file is shown :(
I'm sending my file structure image (I may have messed something, 'couse I use /src folder):
![problem_screen1](https://cdn.statically.io/img/private-user-images.githubusercontent.com/78659380/343299082-a9ad56f3-1813-4ed5-8f80-859c56741eb2.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA3MzcxNzUsIm5iZiI6MTcyMDczNjg3NSwicGF0aCI6Ii83ODY1OTM4MC8zNDMyOTkwODItYTlhZDU2ZjMtMTgxMy00ZWQ1LThmODAtODU5YzU2NzQxZWIyLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzExVDIyMjc1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIxMWNhMjFlNDljNGZiYzM5OTllNjg1ZmQ2NTQwODk5NTI0ZDJjMDkyODU4OWFkZTZiMTQwM2VjN2U5MzJkZTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.nm4HHzQ4VPQjNrNjDzdLYSOvAv-956LZFhqmFvIb6l8)
next.config.mjs:
mdx-components.tsx:
source.ts:
layout.tsx:
page.tsx:
As you can see - mostly copy-paste from fumadoc's docs, despite of baseUrl and rootDir.
What am I doing wrong?
Looking forward to your help
Piotr
Beta Was this translation helpful? Give feedback.
All reactions