How to Generate TOC
The jekyll-gitbook theme leverages jekyll-toc to generate the Contents for the page.
The TOC feature is not enabled by default. To use the TOC feature, modify the TOC
configuration in _config.yml
:
toc:
enabled: true
Why this repo
long contents …..
- a
- b
- c
- d
Why this repo
long contents …..
- 1
- 2
- 3
- 4
Why this repo
long contents …..
- e
- f
- g
- h
Why this repo
- 5
- 6
- 7
- 8
Why this repo
long contents …..
- a
- b
- c
- d
Why this repo
long contents …..
- 1
- 2
- 3
- 4
Why this repo
long contents …..
- e
- f
- g
- h
Why this repo
- 5
- 6
- 7
- 8
Why this repo
long contents …..
- a
- b
- c
- d
Why this repo
long contents …..
- 1
- 2
- 3
- 4
Why this repo
long contents …..
- e
- f
- g
- h
Why this repo
- 5
- 6
- 7
- 8
Why this repo
long contents …..
- a
- b
- c
- d
Why this repo
long contents …..
- 1
- 2
- 3
- 4
Why this repo
long contents …..
- e
- f
- g
- h
Why this repo
- 5
- 6
- 7
- 8