Skip to content

Commit c7e426e

Browse files
authored
Integrate mdbook-toc plugin (#127)
To allow for the handy `<!-- toc -->` short code
1 parent a29d98d commit c7e426e

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/gh-pages.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
curl -LSfs https://japaric.github.io/trust/install.sh | \
2222
sh -s -- --git badboy/mdbook-open-on-gh
2323
24+
- name: Install mdbook-toc
25+
run: |
26+
curl -LSfs https://japaric.github.io/trust/install.sh | \
27+
sh -s -- --git badboy/mdbook-toc
28+
2429
- run: mdbook build
2530

2631
- name: Deploy

book.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ create-missing = false
1212
command = "mdbook-open-on-gh"
1313
renderer = ["html"]
1414

15+
[preprocessor.toc]
16+
command = "mdbook-toc"
17+
renderer = ["html"]
18+
1519
[output.html]
1620
git-repository-url = "https://github.com/mayadata-io/culture"
1721
additional-css = ["css/open-in.css"]

tools/calendar.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
Google Calendar is an essential tool for planning time, thus for allowing people to schedule calls and meet each other. But also to allow for keeping your work-life balance in check.
44

5+
This chapter consists of the following sections:
6+
<!-- toc -->
7+
58
## Allow access to your calendar
69

710
Go to Settings and click on your calendar:

0 commit comments

Comments
 (0)