Windows Gitbook associated with open source China Code cloud, and how to Gitbook to PDF

Source: Internet
Author: User

Gitbook can be easily associated with GitHub to achieve team collaboration. But the GitHub private library will pay for it. But open source China code Cloud can build a private library, so consider the Gitbook Association code Cloud, toss some, can visualize the association, the back will not continue in depth, After all, the intended purpose is basically achieved. The following is the practice of the proceeds, for your reference only!

Gitbook platform built under Windows

Reference: Gitbook installation and use of Windows build Gitbook platform, very detailed

associated with the code cloud

Tools to use: Gitbookeditor,git version Controller

1. First create a new project in the code cloud, and copy the address of the project, since the current gitbookeditor only support HTTPS mode, so do not copy the SSH address.

2 under the local Gitbook project folder, create a new folder (for aspect, named Testbook), used to create new books and versioning, first git clone the new item on the cloud to the folder, and then use cmd in that file Gitbook init a book ( First introduce the. git file, Gitbookeitor Open, when the push will know is the associated open source China Code cloud).

3 Open Gitbookeditor, under the local library open folder Testbook, it will find the new book you built (the difference between open and import is that import opens, you edit not Testbook, But it copied a copy of your book to operate, such as you gitbookeditor on the edit and save the new content, you can not see the change in the Testbook, it is saved in another folder, you need to push your content and Pull,testbook to update, And Open is the direct operation of the Testbook)

4 through Gitbookeditor to edit your new book, Save, in the Window Books toolbar Select Push, you can push your content to the code cloud, the first time you need to enter your code cloud account password, so also do not need to consider the HTTPS method need to enter the account password multiple times, This allows team collaboration to edit items in the private library of the code cloud.

Gitbook to PDF under Windows

Need to use the tool: CALIBRE,PHANTOMJS (this seemingly need to FQ, I download the time not FQ all failed);

1 Install the above 2, calibre default installation path C:\Program FILES\CALIBRE2,PHANTOMJS for you decompression path;

2 and add its directory to the system variable path, reference: Directory added to the system variable path;

3 in CMD Open the folder you need to go to PDF, enter Gitbook PDF;

Windows Gitbook associated with open source China Code cloud, and how to Gitbook to PDF

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.