Welcome to the official documentation repository for Shapes Inc! This repository contains all user guides, getting started materials, and help documentation for the Shapes platform.
This documentation is built with Mintlify and automatically deploys to our documentation site when changes are merged to the main branch.
- Install Node.js (version 19 or higher)
- Install the Mintlify CLI globally:
npm i -g mintlify
- Clone this repository
- Navigate to the documentation folder
- Run the development server:
mintlify dev
- Open your browser to
http://localhost:3000to preview changes
-
Create the MDX file in the root directory using kebab-case naming:
my-new-guide.mdx -
Add proper frontmatter to your MDX file:
--- title: 'My New Guide' description: 'A helpful description of what this guide covers.' --- # My New Guide Your content here...
-
Update docs.json to include your new page in the navigation:
{ "group": "User Guides", "pages": [ "existing-page", "my-new-guide" // Add your new page here ] }
- Find the
.mdxfile you want to edit - Make your changes using Markdown syntax
- Test locally with
mintlify dev - Commit and push your changes
- Delete the MDX file
- Remove from docs.json - This is critical! Remove the page reference from the navigation structure
- Update any internal links that pointed to the deleted page
The docs.json file controls the site configuration and navigation. Always update this file when adding, removing, or reorganizing pages.
{
"navigation": {
"groups": [
{
"group": "Getting Started",
"pages": [
"introduction",
"welcome-to-shapes",
"make-or-recover-account"
]
},
{
"group": "User Guides",
"pages": [
"user-guide",
"how-to-make-a-shape",
"how-to-make-high-quality-shape"
]
}
]
}
}- File Naming: Use kebab-case for all file names (
my-guide.mdx, notMy Guide.mdx) - Always Update Navigation: When adding/removing files, update
docs.jsonimmediately - Test Locally: Run
mintlify devto test changes before committing - Clear Titles: Use descriptive titles in frontmatter
- Consistent Structure: Follow the existing page structure and formatting
- Don't create files without adding them to
docs.json - Don't use spaces or special characters in file names
- Don't leave empty placeholder files (they'll be removed)
- Don't reference deleted files in
docs.jsonnavigation - Don't commit broken links or 404s
- Use clear, concise language
- Write in second person ("you")
- Include helpful examples and screenshots
- Break content into digestible sections
We support all standard Markdown plus Mintlify components:
<Card>components for call-to-action sections<CardGroup>for organizing multiple cards<Accordion>for collapsible content- Code blocks with syntax highlighting
- Images and media embeds
- Create a branch for your changes
- Make your updates following the guidelines above
- Test locally with
mintlify dev - Create a Pull Request to the main branch
- Review and merge - Changes auto-deploy to production
- Getting Started - Introduction, welcome, and account setup
- User Guides - How-to guides and tutorials for using Shapes
- Mintlify dev not working: Run
mintlify installto reinstall dependencies - 404 errors: Check that all files referenced in
docs.jsonactually exist - Build fails: Verify
docs.jsonsyntax is valid JSON - Navigation missing: Ensure new pages are added to
docs.jsonnavigation
- For documentation issues: Create an issue in this repository
- For Shapes platform support: Email hi@shapes.inc
- For technical questions: Check our User Guide
Made with ❤️ by the Shapes Inc team