Skip to content
项目

关于

Chain Core

商业与金融

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
0
1个月
-1

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Documentation

Development

To view docs with their associated HTML, styles and fonts, we use a tool called md2html.

Make sure all Chain Core commands have been installed by following the installation instructions in the repo README.

Once installed, run md2html from the root directory of the rep:

$ cd $CHAIN
$ go install ./cmd/md2html && md2html

The converted documentation is served at http://localhost:8080/docs.

Deployment

Web

Prerequisites

Prepare the following:

  • Install AWS CLI
  • Have AWS credentials with access to the appropriate buckets

Log into aws with the command:

$ aws configure

Checking out the right version of docs

Before uploading documentation, make sure your local state reflects the correct documentation. The main branch is generally not safe for this purpose, since it may contain documentation updates that reflect changes that have yet to make it into an official release.

The state of production documentation is tracked in the <major>.<minor>-stable family of release branches. Each such branch reflects the last known safe version of the documentation for the corresponding major/minor version pair.

For the time being, only the most recent version of the documentation is published online. Please make sure you are on the most recent release branch before uploading.

Uploading the docs

Staging:

cd $CHAIN
git checkout <major>.<minor>-stable
./bin/upload-docs <major>.<minor>

Production:

cd $CHAIN
git checkout <major>.<minor>-stable
./bin/upload-docs <major>.<minor> prod

探索相关项目

加载中…