-
-
Notifications
You must be signed in to change notification settings - Fork 397
Open
Description
Bug Description
The README.md contains an incorrect command for running Mintlify documentation locally.
Current Issue
In README.md line 99-102:
cd docs
npx mintlify devThis fails with error: "error must be run in a directory where a docs.json file exists"
Root Cause
The docs.json file is actually located in docs/public/ directory, not docs/.
Evidence
- File location:
./docs/public/docs.json✅ - Command tries:
./docs/docs.json❌ (does not exist)
Suggested Fix
Update the command in README.md to:
cd docs/public
npx mintlify devImpact
- Users cannot easily preview documentation locally
- Reduces developer experience for contributors
- Affects documentation workflow
Environment
- File: README.md (lines 99-102)
- Affected section: Documentation → Local Preview
- Mintlify version: latest (via npx)
Steps to Reproduce
- Clone the repository
- Run
cd docs - Run
npx mintlify dev - Observe error about missing docs.json
Expected Behavior
The command should work and start the Mintlify dev server successfully.
Thank you for maintaining this great project! 🙏
🤖 Generated with Claude Code
Co-Authored-By: Claude [email protected]
Copilot
Metadata
Metadata
Assignees
Labels
No labels