Giter Club home page Giter Club logo

book-refactoring2's Introduction

book-refactoring2

更新在线书籍

《重构 改善既有代码的设计第二版》中文版

资源获取

构建自己的站点/电子书

准备

  1. 请保证 构建环境 章节的要求
  2. 克隆并安装依赖
$ git clone https://github.com/MwumLi/book-refactoring2.git
$ npm i

静态站点

运行下面命令前, 请保证 构建环境 章节的要求, 并先使用 npm install 去初始化依赖

执行下面命令:

$ npm run build

构建后的结果放在 _book/ 目录下, 你可以用来静态部署

电子书

执行下面命令, 你将得到 mobi, epub 以及 pdf 三种电子书:

$ npm run ebook

注意: 构建电子书之前需要安装 calibre, 这是 gitbook 构建电子书的必须软件。

构建环境

  • Node.js ^10.x - ^11.x LTS 版本
  • gitbook ^3.x: 因为要支持中文搜索

贡献

本文还有很多文案不准确或源码格式乱的问题, 如有发现欢迎可以提 pr 进行贡献

感谢

本书源码来自 NxeedGoto/Refactoring2-zh, 由于为了构建电子书籍, 所以改造成了 gitbook 格式。

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.