-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from Endogen/main
Updated documentation
- Loading branch information
Showing
39 changed files
with
1,989 additions
and
1,298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,39 @@ | ||
# Docs Readme | ||
# Xian Documentation | ||
|
||
Documentation for the Xian blockchain platform. | ||
|
||
## Quick Start | ||
|
||
### Requirements | ||
- Node.js >= 18 | ||
- npm/yarn | ||
|
||
## Quickstart | ||
### Setup | ||
```bash | ||
git clone https://github.com/xian-network/vitepress.git | ||
cd vitepress | ||
``` | ||
git clone https://github.com/xian-network/docs.git | ||
cd docs | ||
npm install | ||
``` | ||
|
||
### Development | ||
```bash | ||
``` | ||
npm run dev | ||
``` | ||
Server starts at `http://localhost:5173` | ||
|
||
### Build | ||
- Github actions automatically builds & publishes | ||
- But if you must ... | ||
```bash | ||
npm run build | ||
npm run preview | ||
``` | ||
### Content Structure | ||
``` | ||
xian-docs/ | ||
├── .vitepress/ # Contains config.mts for navigation/sections | ||
└── src/ # Documentation source files | ||
``` | ||
**Note: New sections must be added to .vitepress/config.mts** | ||
|
||
### Building | ||
Documentation is auto-built and deployed via GitHub Actions on push to main. | ||
|
||
For local builds: | ||
``` | ||
npm run build # Build static site | ||
npm run preview # Preview built site | ||
``` |
Oops, something went wrong.