✨ Serve the PageTop guides with pagetop-mdbook

Rebuild the website on the current PageTop API, with Bootsier as its
theme and edition 2024. Add the first Spanish guide (doc/v0.6/es) as an
mdBook book, built in build.rs and served with pagetop-mdbook, and the
/doc/latest/{lang} redirect.

Add `tools/doccheck.sh` to check the links of the guides and to compile,
run and test their examples against PageTop.

Move the configuration to config/common.toml and translate the README
to English.
This commit is contained in:
Manuel Cillero 2026-10-17 08:06:02 +02:00
parent e41e71cc78
commit 1a41a456d4
80 changed files with 14112 additions and 1218 deletions

View file

@ -0,0 +1,11 @@
# 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"