Giter Club home page Giter Club logo

gbook's Introduction

gbook

support gitbook 3.2.3, 其他版本自测, 解决 gitbook 太慢的问题

开启此项目初衷

gitbook 3.2.3 为历史项目,插件下载需要整体拉取,非常缓慢,也不支持单个拉取,这样gbook就应运而生了,

配置好后将有以下特性:

  • 拉取插件特别快
  • 不用频繁的切换 node 版本

依赖

  • node <= 10, 建议 Node 版本 10.24.1
  • gitbook-cli 必须
  • 请自行设置好 npm 加速镜像,如淘宝镜像,建议使用 nrm 设置

稳定运行 gbook

将 BOOK_NODE_HOME 变量设置为需要的 node 版本路径,加入到系统变量中, 这样gbook会使用对应 node 版本执行命令了,不再受全局其他版本 node 影响。

主要功能

gbook install将是核心功能,你只需关注该命令即可

docker compose 快速构建

version: "3.7"
services:
  gbook-doc:
    image: q9090960bnb3/gbook
    ports:
      - "4000:4000"
    volumes:
      - .:/doc
    working_dir: /doc
    command: bash -c "gbook install  && gbook serve"

以上可使用 docker 快速构建 gbook 文档, 如果自己写好了文档也可参考进行构建

如何使用

参考 https://gofulljs.github.io/gbook/

gbook's People

Contributors

q9090960bnb3 avatar gofulljs avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.