The documentation of iost
Install dependencies:
cd website/
npm install
Run the local server for development:
cd website/
npm start
To create a static build of your website, run the following script:
cd website/
npm run build
This will generate a build
directory inside the website
directory containing the .html
files from all of your docs and other pages included in pages
.
Release a new version:
cd website/
npm run version 3.5.0
# edit version in sync.sh
bash sync.sh
Update without new version:
# better read the script before running, and git diff after running
bash iost-docs/update.sh
Complete the deployment by publishing the website/build directory with nginx or github page.
- docs: All documents are here
- docs/assets: All document assets are here
- website/blog: All blogs are here
- website/blog/assets: All blog assets are here
The use of assets can refer to: docs/2-intro-of-iost/Database.md