/Documents

Documents

Primary LanguageCSS

Documents for building eayun doc

Install

On ubuntu

$ sudo apt-get -y install publican

Setup and build

克隆项目

$ git clone git@github.com:eayun/Documents.git

建立文档

$ cd Documents
$ publican create --name=FAQ --version=0.1 --product=eayun-documents --brand=eayun --lang=zh-CN --type=article

编译: (use FAQ as a example)

$ cd FAQ
$ publican build --formats=html,pdf,html-single,html-desktop,txt,epub --langs=zh-CN --brand_dir=[your-doc-path]

安装到web站点

$ publican build --publish --formats=html,html-single --langs=zh-CN --brand_dir=[your-doc-path]
$ sudo publican install_book --site_config=[configure-file*.cfg] --lang=zh-CN