This article is a mirror article of machine translation, please click here to jump to the original article.

View: 16393|Reply: 2

Remove or hide "Published with Gitbook"

[Copy link]
Posted on 11/26/2018 10:37:23 AM | | | |
Use gitbook to compile and output it into html code, and the information "Published with Gitbook" will be displayed at the bottom of the left menu.

How do you get rid of this information?



Option 1:

For each generated HTML file type, delete the following code:

If there are too many html pages, it is more troublesome to generate and delete them every time, and a small number of html pages are fine, but all this solution is not very good.

Option 2:

Create a stylesheet file "styles/website.css" and add the following code:




Edit the book.json file and add the following code:

We compiled the output and found that the page did not display the information, mainly because the div was hidden with CSS.






Previous:GitBook cannot detect the "Chinese" string
Next:Determine whether the assembly is a debug or release version
Posted on 12/5/2018 12:51:12 PM |
Hello, can you elaborate on the second method? For example, where to create a CSS?
 Landlord| Posted on 10/28/2019 1:37:12 PM |
swordsjia posted on 2018-12-5 12:51
Hello, can you elaborate on the second method? For example, where to create a CSS?

"website": "styles/website.css"

Create a new styles directory, and then create a new website.css file
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com