Skip to content

Latest commit

 

History

History
70 lines (51 loc) · 1.68 KB

File metadata and controls

70 lines (51 loc) · 1.68 KB

TESTO

Documentation

Documentation site for Testo - Modern PHP Testing Framework.

Built with VitePress.

Quick Start

# Install dependencies
npm install

# Start dev server
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview

Dev server runs at http://localhost:5173/

Project Structure

/
├── .vitepress/
│   └── config.mts       # VitePress configuration
├── docs/                # Documentation (English)
├── blog/                # Blog articles (English)
├── ru/
│   ├── docs/            # Documentation (Russian)
│   └── blog/            # Blog articles (Russian)
├── index.md             # Landing page (English)
├── ru/index.md          # Landing page (Russian)
└── public/              # Static assets (logo, images)

Adding Content

New documentation page

  1. Create docs/my-page.md and ru/docs/my-page.md
  2. Add to sidebar in .vitepress/config.mts

New blog post

  1. Create blog/my-post.md and ru/blog/my-post.md
  2. Add link to blog/index.md and ru/blog/index.md

Deployment

npm run build

Output is in .vitepress/dist/ - deploy to any static hosting.