This directory contains the VitePress-powered documentation for DataInsight AI.
docs/
├── .vitepress/
│ └── config.ts # VitePress configuration
├── index.md # Documentation home page
├── guide/ # Getting started guides
│ ├── what-is-csv-visualizer.md
│ ├── getting-started.md
│ └── quick-start.md
├── features/ # Feature documentation
│ ├── overview.md
│ ├── data-upload.md
│ ├── ai-analysis.md
│ ├── chart-types.md
│ ├── natural-language.md
│ └── export.md
├── charts/ # Chart type guides (placeholder)
└── advanced/ # Advanced topics
├── data-requirements.md
├── best-practices.md
├── troubleshooting.md
└── faq.md
Start the documentation development server:
npm run docs:devThe docs will be available at http://localhost:5173/docs/
Build the documentation for production:
npm run docs:buildOutput will be in docs/.vitepress/dist/
Preview the production build:
npm run docs:previewVitePress supports:
- Standard Markdown
- GitHub Flavored Markdown
- Custom containers (tip, warning, danger)
- Code syntax highlighting
- Frontmatter
::: tip
This is a tip
:::
::: warning
This is a warning
:::
::: danger
This is a danger notice
:::
::: info
This is an info box
:::```typescript
const hello = "world";
### Links
Internal links:
```markdown
[Getting Started](/guide/getting-started)
[Features](/features/overview)
External links:
[Anthropic](https://anthropic.com)- Create a new
.mdfile in the appropriate directory - Add frontmatter (optional):
--- title: Page Title description: Page description ---
- Write your content
- Update
.vitepress/config.tsto add to sidebar navigation
Main configuration is in .vitepress/config.ts:
- Title & Description: Set site metadata
- Theme Config: Customize theme settings
- Navigation: Define top navigation links
- Sidebar: Configure sidebar menu structure
- Search: Built-in local search enabled
The documentation can be deployed as static files. The built files are in docs/.vitepress/dist/.
- GitHub Pages: Push
dist/to gh-pages branch - Vercel: Connect repository and set build command
- Netlify: Connect repository and set build command
- Static hosting: Upload
dist/contents
When adding or updating documentation:
- Follow the existing structure
- Use clear, concise language
- Include examples where helpful
- Add screenshots for UI features
- Test locally before committing
- Update table of contents if needed
- VitePress Documentation
- Markdown Guide
- Vue.js (powers VitePress)