mdbook/tests/testsuite/rendering/fontawesome_error/book.toml
cobyfrombrooklyn-bot d171e698fa Improve error message for invalid Font Awesome icons
When an invalid Font Awesome icon name is used (e.g. in git-repository-icon),
the error message now includes the icon name, the type that was searched,
valid prefix options (fas/fab/far), and a link to the FontAwesome icon gallery.

Before: Missing font github
After:  Unknown Font Awesome icon `github` for type `regular`. Hint: check
        the icon name and prefix (fas (solid), fab (brands), or far (regular))
        at https://fontawesome.com/v6/search?m=free

Fixes #3023
2026-02-24 08:58:05 -05:00

6 lines
139 B
TOML

[book]
title = "fontawesome_error"
[output.html]
git-repository-url = "https://github.com/example/test"
git-repository-icon = "fa-github"