Docker2Gitbook

中文帮助?

Intro

Quickly set up the Gitbook Serve online & focus on creating knowledge.

The purpose of this project is to simplify the construction and online of Gitbook . So you need to know some basic knowledge about Gitbook data structure . (Like knowing the function of SUMMARY.md)

How to use

git clone git@github.com:copriwolf/Docker2Gitbook.git
cd Docker2Gitbook
mkdir docs
docker build . -t 'docker2gitbook'
docker run -d -p 4000:4000 docker2gitbook

Project Flow


中文说明

简介

快速构建gitbook服务容器,让你专注于创作本身。

本项目的意图在于把gitbook的构建与上线流程精简化,让用户专注与创作本身,所以你需要先了解Gitbook的数据结构基本知识(使用SUMMARY.md来规范层级关系等)。

使用方法

git clone git@github.com:copriwolf/Docker2Gitbook.git
cd Docker2Gitbook
mkdir docs
docker build . -t 'docker2gitbook'
docker run -d -p 4000:4000 docker2gitbook

项目流程

注意事项

docker ps | grep docker2gitbook
docker run -d -p 5500:4000 docker2gitbook
mv dockerfile-zh dockerfile
mv dockerfile-zh dockerfile