pagetop-website/tools/doccheck/config/common.toml
Manuel Cillero f42f5e9b89 📝 Add mail and file upload guides
Document pagetop-mail (configuration, templates, layout, previews,
queue and tests with the outbox) and file uploads (`web::Upload`,
`form::File`, `web::Download` and the [upload] settings). doccheck
enables the mail queue, keeps mail in memory and saves uploads under
`target/`.
2026-11-02 17:29:37 +01:00

21 lines
787 B
TOML

# Settings for the examples and tests of the guides that start an application. Those that use a
# database get a new in-memory SQLite one on every run (one connection, so all queries share it).
[database]
db_type = "sqlite"
db_name = "doccheck?mode=memory"
max_pool_size = 1
# Only errors: the expected warnings (such as [database] in an application without a database)
# would hide the result of the checks.
[log]
tracing = "Error"
# Mail is kept in memory (see how-to/mail.md), and its links point to a fixed public URL.
[mail]
transport = "memory"
from = "Community garden <garden@example.com>"
base_url = "https://garden.example.com"
# Uploaded files go to the build directory, which git ignores (see how-to/uploads.md).
[upload]
dir = "target/doccheck-uploads"