Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MUYSC
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jorge Alfredo Jaimes Teherán
MUYSC
Commits
8fe3ff41
Unverified
Commit
8fe3ff41
authored
4 years ago
by
Lex Nederbragt
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
DOCS: Explain use of `title:` for url entry (#1356)
parent
ff51015f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/customize/toc.md
+13
-0
13 additions, 0 deletions
docs/customize/toc.md
with
13 additions
and
0 deletions
docs/customize/toc.md
+
13
−
0
View file @
8fe3ff41
...
...
@@ -62,6 +62,19 @@ Here is a quick overview:
`url:`
: An external link to a website (starting with
`http`
or
`https`
).
This will be inserted into your book's Table of Contents, though it will not affect your book's structure (like numbering).
When a
`title:`
entry is provided its text is used instead of the full URL.
Here is an example to show all three types:
```
yaml
format
:
jb-book
root
:
index
chapters
:
-
file
:
path/to/chapter1
-
url
:
https://example.com
title
:
Example website
-
glob
:
subfolder/other*
```
## Use chapter sub-sections
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment