Skip to content

Commit

Permalink
add TOC to FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
wiz0u committed Jul 23, 2024
1 parent a668ab1 commit d72269c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
tool: mdbook,cargo-binstall
- name: Install mdbook extensions
run: cargo binstall -y mdbook-mermaid mdbook-alerts
run: cargo binstall -y mdbook-mermaid mdbook-alerts mdbook-toc

# - name: Setup mdBook
# uses: peaceiris/actions-mdbook@v2
Expand Down
4 changes: 4 additions & 0 deletions book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ git-repository-url = "https://github.com/TelegramBots/book"
additional-css = ["theme/custom.css"]

[preprocessor.alerts]

[preprocessor.toc]
command = "mdbook-toc"
renderer = ["html"]
2 changes: 2 additions & 0 deletions src/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

I recommend you read all of these as you will learn many interesting things. Or you can use Ctrl-F to search for a specific topic.

<!-- toc -->

### _1. Can you give me documentation/examples links?_
- Follow [this installation guide](https://telegrambots.github.io/book/#-installation) to install the latest versions of the library.
- Here is on the [main documentation website](https://telegrambots.github.io/book/).
Expand Down

0 comments on commit d72269c

Please sign in to comment.