init repo
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# CLI Commands
|
||||
|
||||
## build
|
||||
|
||||
Build the documentation site for production.
|
||||
|
||||
```bash
|
||||
rspress build
|
||||
```
|
||||
|
||||
## dev
|
||||
|
||||
Start the development server.
|
||||
|
||||
```bash
|
||||
rspress dev
|
||||
```
|
||||
@@ -0,0 +1,3 @@
|
||||
# API Reference
|
||||
|
||||
This is the API documentation.
|
||||
@@ -0,0 +1,11 @@
|
||||
# Getting Started
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
npm install rspress
|
||||
```
|
||||
|
||||
## Quick Start
|
||||
|
||||
Create your first documentation site.
|
||||
@@ -0,0 +1,7 @@
|
||||
# Introduction
|
||||
|
||||
Welcome to the documentation!
|
||||
|
||||
## Getting Started
|
||||
|
||||
This is a sample documentation page.
|
||||
@@ -0,0 +1,3 @@
|
||||
# Code Blocks
|
||||
|
||||
Using code blocks in your documentation.
|
||||
@@ -0,0 +1,3 @@
|
||||
# Code Block Meta
|
||||
|
||||
Meta information for code blocks.
|
||||
@@ -0,0 +1,3 @@
|
||||
# Code Block Title
|
||||
|
||||
Adding titles to code blocks.
|
||||
@@ -0,0 +1,3 @@
|
||||
# Using Components
|
||||
|
||||
You can use React components in MDX.
|
||||
@@ -0,0 +1,3 @@
|
||||
# Container
|
||||
|
||||
Syntax for creating containers.
|
||||
@@ -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: 📦
|
||||
---
|
||||
Reference in New Issue
Block a user