Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 832 Bytes

INSTALL.md

File metadata and controls

38 lines (29 loc) · 832 Bytes

Weex Document Site Build Process

Get Latest Document Source

we maintain latest weex document in doc branch , please checkout this branch & pull latest content.

$git checkout doc
$git pull origin doc

Install Gitbook

we use gitbook for document site building,so you need install gitbook first

  • Install Node.js 4.0+
  • Install gitbook-cli
$npm install -g gitbook-cli
  • check gitbook template version in book.json(“gitbook” attribute)
  • install gitbook template
$gitbook fetch [GITBOOK_TEMPLATE_VERSION_IN_book.json];
$gitbook install;

Build Document Site

$gitbook build

build result will be exist in _book directory.

Preview

$gitbook serve