Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to write Open Source Books with github

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article shows you how to use github to write open source books, concise and easy to understand, absolutely can make your eyes shine, through the detailed introduction of this article I hope you can gain something.

Writing books on github

Create a new warehouse

Create a new file, SUMMARY.md

Create a new file called SUMMARY.md and fill it with:

# Summary* [Preface](README.md)

1

2

1

2

Creating a book

First go to the official website of gitbook: https://www.gitbook.com/

Click the red part and log in with github.

After logging in, click +NewBook(or +NEW in the upper right corner, the page is slightly revised)

This page is currently synchronized. After synchronization is completed, you can see your own book (not for any reason, this interface will not jump, but in fact, you have received a notification email that has been created. You can see it when you open the homepage refresh).

Click edit, you can find that there is only one page inside, which is what we just wrote SUMMARY.md

add content

Let's step back and click edit.

You can see the following interface

Let's hit it.

Now we can complete our book entry, right-click in the directory area to create a new content page

Then you'll find another file on github, and that's the connection.

Let's look at SUMMARY again. There's an extra "first page" in it.

We double-click and find that it is a markdown hyperlink. It turns out that this is the way gitbook content is organized. Through hyperlinks, content is associated with files on github.

You can see that the directory structure has changed, and then the name has changed.

There's a trick to getting an address. Click on the file, email, rename it. Here you can see the full address of the file. Copy it.

Github binding domain name

The above is how to write open source books with github. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserves, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report