Problem description
When we use Gitbook pdF.pdf.pdf to package our Gitbook project output PDF files, we will find that the Table of Contents column of the generated PDF is always fixed. We do not allow such problems to appear in our PDF files, we need to describe and replace the original word in the way of title, here will help you solve this problem.
The solution
- In general
gitbook
The installation files will be in ourUsers
In the directory.gitbook
In the directory - its
.gitbook/versions
The corresponding version number folder will be found in the directory - Modify the specified file in the corresponding version number folder, if you have installed and use it
v3.0.0
Version packaging:# locate file. Gitbook/version / 3.0.0 / node_modules/gitbook - plugin - theme - the default / _i18n/en. JsonCopy the code
- About the
en.json
Of the fileLine 7
有"SUMMARY": "Table of Contents"
- will
"Table of Contents"
Replace it with the character you need to describe, such as:"User operation Manual"
- Specify a version number for packaging:
Gitbook --gitbook=3.0.0 PDFCopy the code
- Continue to modify the field value of this file when you use it next time
Other problems click here for solutions
Life is often like this, you think hope, in fact, let you fall deeper into despair; and you think endless despair, but in a corner full of hope. Life is often like this, you think hope, actually let you sink deeper despair; And you think of endless despair, but around the corner is full of hope.