init repo

This commit is contained in:
Sun-ZhenXing
2026-03-30 16:34:04 +08:00
commit d85ab53114
16 changed files with 2622 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# CLI Commands
## build
Build the documentation site for production.
```bash
rspress build
```
## dev
Start the development server.
```bash
rspress dev
```
+3
View File
@@ -0,0 +1,3 @@
# API Reference
This is the API documentation.
+11
View File
@@ -0,0 +1,11 @@
# Getting Started
## Installation
```bash
npm install rspress
```
## Quick Start
Create your first documentation site.
+7
View File
@@ -0,0 +1,7 @@
# Introduction
Welcome to the documentation!
## Getting Started
This is a sample documentation page.
+3
View File
@@ -0,0 +1,3 @@
# Code Blocks
Using code blocks in your documentation.
+3
View File
@@ -0,0 +1,3 @@
# Code Block Meta
Meta information for code blocks.
+3
View File
@@ -0,0 +1,3 @@
# Code Block Title
Adding titles to code blocks.
+3
View File
@@ -0,0 +1,3 @@
# Using Components
You can use React components in MDX.
+3
View File
@@ -0,0 +1,3 @@
# Container
Syntax for creating containers.
+26
View File
@@ -0,0 +1,26 @@
---
pageType: home
hero:
name: My Site
text: A cool website!
tagline: This is the tagline
link: /
actions:
- theme: brand
text: Quick Start
link: /guide/start/introduction
- theme: alt
text: GitHub
link: https://github.com/web-infra-dev/rspress
image:
src: /rspress-icon.png
alt: Logo
features:
- title: Blazing fast build speed
details: Fast build speed with Rust-based toolchain.
icon: 🏃🏻‍♀️
- title: Support for MDX
details: Write content with MDX.
icon: 📦
---