Install Node.js + npm (version 18 or higher)
# Clone the repository
git clone https://github.com/NeoSigniOS/wiki neosign-docs
cd neosign-docs
# Install dependencies
npm install# Start development server
npm run docs:dev
# Start with network access (for testing on other devices)
npm run docs:dev -- --hostThe site will be available at http://localhost:5173/
# Build for production
npm run docs:build
# Preview production build
npm run docs:previewThis site is configured for GitHub Pages deployment. To deploy:
- Enable GitHub Pages in your repository settings
- Set source to "GitHub Actions"
- Push to main branch - The site will automatically deploy using the included workflow
- Netlify: Connect your repo and set build command to
npm run docs:buildand publish directory todocs/.vitepress/dist - Vercel: Import project and it will auto-detect VitePress configuration
├── docs/
│ ├── .vitepress/
│ │ └── config.mjs # VitePress configuration
│ ├── guide/ # Documentation pages
│ └── index.md # Homepage
├── package.json
└── README.md
VitePress configuration is located in docs/.vitepress/config.mjs. You can customize:
- Site metadata (title, description)
- Navigation and sidebar
- Theme settings
- Plugins and extensions
- Create
.mdfiles in thedocs/directory - Use frontmatter for page configuration
- Leverage Vue components in Markdown
- Organize content with folders for better structure
- Fork the repository
- Create a feature branch
- Make your changes
- Test locally with
npm run docs:dev - Submit a pull request
ISC License - see package.json for details