Skip to content

Commit

Permalink
docs(book): add toc preprocessor
Browse files Browse the repository at this point in the history
  • Loading branch information
giusdp committed Jan 2, 2024
1 parent a7b7256 commit f9d048e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ multilingual = false
src = "src"
title = "Bevy Talks Documentation"

[preprocessor]
[preprocessor.toc]
command = "mdbook-toc"
renderer = ["html"]

[preprocessor.mermaid]
command = "mdbook-mermaid"

[output]

[output.html]
additional-js = ["mermaid.min.js", "mermaid-init.js"]
2 changes: 1 addition & 1 deletion docs/src/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*In this tutorial we will nstall Bevy Talks and do a quick overview on how to build and spawn a dialogue in your game.*

## Content
[toc]
<!-- toc -->

## 1. Installation

Expand Down

0 comments on commit f9d048e

Please sign in to comment.