📝 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/`.
This commit is contained in:
Manuel Cillero 2026-11-02 17:29:37 +01:00
parent 4e007feec8
commit f42f5e9b89
13 changed files with 1118 additions and 8 deletions

View file

@ -9,3 +9,13 @@ max_pool_size = 1
# 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"