final-docusarus

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

CoLearning Python Documentation Site

This website is built using Docusaurus, a modern static website generator for the CoLearning Python book project.

Quick Setup

  1. Install dependencies:
npm install
  1. Start local development server:
npm start

This command starts a local development server and opens up a browser window at http://localhost:3000. Most changes are reflected live without having to restart the server.

Available Scripts

Development

npm start

Starts the development server with hot reload.

Build

npm run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Serve Build

npm run serve

Serves the built site locally for testing the production build.