Book Layout
The book feature is designed for knowledge sharing. It can be used to create multi-page content such as online courses, software documentation, knowledge bases, books, notebooks, and tutorials.
Organization
The book
feature can be used to create courses, tutorials, and documentation in the following file structure:
|
|
File and folder names should use hyphens instead of spaces, for example creating a course folder named my-course
.
The course
folder in the example above may be renamed. For example:
- we can rename it to
book
for writing a book docs
for software/project documentationnotes
for creating a notebooktutorials
for creating multi-page “how to” guides.
Metadata
To create a course material:
|
|
Then edit the newly created file content/course/tutorial/intro.md
with your full title and content.
You can create as many pages as your need. Each page should have a title
, and a page type
of book
.
|
|
Menus
You can order your book menus using weight: 10
in the front matter of pages, where the number defines the order.
users recommend using weights that are increments of 10 so that it’s easy to reorder a page in the future without needing to change the weight of all the other pages
alipay
Author Houmin Wei
Publish February 9, 2023
LastMod July 11, 2023 (8d68658)
License 本作品采用 CC BY-NC-ND 4.0 许可协议进行许可,转载时请注明原文链接
如果你在浏览博客的过程中发现了任何问题,欢迎在对应文章下评论。如果你有其他事情想要咨询,可以通过邮件联系我。
-
No backlinks found.