# run cargo install mdbook mdbook-toc mdbook-linkcheck2
[book]
authors = ["Cliff Brake"]
language = "en"
src = "."
title = "Simple IoT"
#[preprocessor.toc]
[output.html]
git-repository-url = "https://github.com/simpleiot/simpleiot"
edit-url-template = "https://github.com/simpleiot/simpleiot/edit/master/{path}"
# docs/theme (inside the docs/ mount used by the Docker build) overrides the
# favicon; missing theme files fall back to the built-in themes.
theme = "docs/theme"
# docs/theme/siot.css restyles the built-in "coal" theme to match the palette
# and typography of simpleiot.org, so coal serves as both the default and the
# preferred dark theme. The other built-in themes stay available in the picker.
additional-css = ["docs/theme/siot.css"]
# docs/theme/siot.js turns the book title in the menu bar into a link back to
# the main site at simpleiot.org.
additional-js = ["docs/theme/siot.js"]
default-theme = "coal"
preferred-dark-theme = "coal"
# [output.linkcheck2]
# follow-web-links = true
# exclude = [
# 'localhost*',
# '192*',
# 'modbus*',
# 'shelly*'
# ]