Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

92 Commits

Folders and files

Repository files navigation

Deploy VitePress site to Pages

Logic's Site

A static knowledge site built with VitePress and published on GitHub Pages.

Prerequisites

  • Node.js v25.9.0
  • Bun 1.3.13

The repo is developed and checked against these versions. If yours differ, run bun install and the scripts below anyway; for exact dependency resolution, use bun.lock.

Tech stack

Area Notes
Docs / app shell VitePress ^1.6.3 (direct dependency in package.json)
Bundler Vite 5.4.x (pulled in by VitePress; see bun.lock)
UI runtime Vue 3.5.x (pulled in by VitePress)
Runtime / PM Bun as in Prerequisites

Patch versions of Vue and Vite follow VitePress and the lockfile; they may change when you upgrade dependencies.

  • Site config: docs/.vitepress/config.mts
  • Source docs: Markdown under docs/
  • Some content comes from Git submodules (see below)

Local development

bun install

# Dev server
bun run docs:dev

# Production build
bun run docs:build

# Preview the production build
bun run docs:preview

New VitePress project (reference)

bun add -d vitepress
bunx vitepress init

Git submodules

# Add submodules
git submodule add https://github.com/logic3579/logic3579.git docs/about
git submodule add https://github.com/logic3579/gitbook.git docs/gitbook
git add -A
git commit -m "Add submodule-repo as a submodule"
git push origin main

# Status
git submodule status

# Update submodules
git submodule update --remote [docs/gitbook]
git add -A
git commit -m "Update submodule xxx"
git push origin main

# Clone with submodules
git clone --recurse-submodules https://github.com/logic3579/logic3579.github.io

Links

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages