

The directory structure corresponding to this configuration is as follows: It represents the parent-child relationship of the file through the list syntax in Markdown. This file mainly determines the chapter directory of GitBook. Specify the file names for Readme, Summary, Glossary, and LanguagesĪdd link information to the left navigation barĬonfigure the properties of the plug-in SUMMARY.md The language of this book can be set as "zh Hans" in Chinese I believe that many nodes can also guess what it means. "appleTouch": "./source/images/apple-touch-icon.jpg", "bookmark": "./source/images/favicon.jpg", "shortcut": "./source/images/favicon.jpg", "google", "facebook", "weibo", "twitter", I will release my configuration file first. This file is mainly used to store configuration information. Let's talk about it book.json And SUMMARY.md Documents. The basic directory structure of GitBook is as follows: Let's introduce the GitBook directory structure and related files in detail. We can use the following command to generate web pages without opening the server. Running this command generates a_ The content in the book folder is the generated html file. Next, enter the $gitbook serve command and enter it in the browser address bar to preview the book. You can see that he will create README.md And SUMMARY.md These two documents, README.md It should not be unfamiliar, that is, documentation, and SUMMARY.md In fact, it is the chapter directory of the book, and its default content is as follows: be all eagerness to see itĪfter getting ready for GitBook, let's go to a directory where you want to write the book and type the following command. You can use VsCode, Typora and other things you like to edit.
#Gitbook editor configuration file install
GitBook is based on Node.js Command line tool, download and install Node.js After the installation, you can use the following command to verify that the installation is successful.Įnter the following command to install GitBook.Īfter the installation, you can use the following command to verify that the installation is successful.įor more details, please refer to GitBook installation documentation To install GitBook. Get ready for GitBook Installation Node.js backgroundīecause I wrote all the scattered knowledge in the Gist The search is not very systematic, so I plan to move to GitBook Come up for unified management, and GitBook After writing and compiling, you can generate a static page and publish it to the blog.

First of all My GitBook address, can be in my Blog Navigation bar to find, the following related to the introduction.
