Documentation
ShipNow provides a powerful documentation system built with Fumadocs that supports MDX, search, and internationalization.
Overview
ShipNow's Document Feature enables you to:
- ๐ Create and manage documentation using Markdown and MDX
- ๐ Support multiple languages and translations
- ๐๏ธ Automatically generate navigation structure
- ๐ Provide full-text search capabilities
- ๐จ Customize styling and theming
Why Use Built-in Documentation?
Having built-in documentation in your application offers several key advantages:
- SEO Optimization: Enhances keyword presence and improves search engine rankings than subdomains.
- User Experience: Provides a unified experience matching the main site, reinforcing brand recognition.
- Product Integration: Seamlessly embed product capabilities into documentation to drive user productivity.
Create a New Page
-
Create an MDX file in the docs directory:
-
Add frontmatter metadata:
getting-started.mdx -
Write your content using Markdown and MDX:
getting-started.mdx
File Structure
Documentation is organized in directories:
Icons
You can use any Tabler icon in your documentation by specifying the icon name in the frontmatter:
Markdown Features
Images
You can add images to your documentation:
Code Blocks
You can create syntax-highlighted code blocks:
Callouts
Use callouts to highlight important information:
Lists
- Bullet points
- Are supported
- Like this
- Numbered lists
- Also work
- As expected
Check Fumadocs Markdown for more features.
Internationalization
You can create a Markdown file for specific language by adding .{locale}
to your file name, like page.zh-TW.mdx
.
Example:
-
Add the language to
config/locales.ts
:config/locales.ts -
Copy the content to the new file:
-
Ask AI to translate the content:
Search
The documentation includes a powerful search feature. Press โK
(Mac) or Ctrl+K
(Windows) to focus the search.
Need Help?
If you need assistance with the documentation system:
- Check the Fumadocs documentation
- Join our community Discord
- Open an issue on GitHub