Skip to content

Getting Started

Welcome to HyperSynapse Network Docs — a VitePress documentation site.

Quick Start

bash
npm install
npm run dev       # → http://localhost:5173
npm run build     # → .vitepress/dist/
npm run preview   # → http://localhost:4173

Project Structure

HSN-Docs/
├── .vitepress/
│   ├── config.mts            # Main config
│   └── theme/
│       ├── index.ts           # Theme customization
│       └── components/
│           └── GitMeta.vue    # Git info footer
├── guide/                     # Chinese docs
├── en/                        # English docs
├── public/logo.svg            # Logo (tilted + glow)
├── scripts/git-info.mjs       # Git history extractor
└── index.md                   # Home page

Customization

Edit .vitepress/config.mts to customize:

KeyDescription
title / descriptionSite title & meta
themeConfig.logoLogo path
themeConfig.nav / sidebarNavigation
localesi18n config
sitemap.hostnameProduction domain

See the Chinese guide for a complete walkthrough.

Deployment

Push to main → GitHub Actions builds and deploys via Rsync over SSH.

Required Secrets: DEPLOY_SSH_KEY, SERVER_HOST, SERVER_USER.

Default deploy path: /var/www/hypersynapse-docs (overridable via DEPLOY_TARGET_PATH variable).


Last modified byFireflyF09on2026-06-24 13:37

Built with VitePress