✨ 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,2 @@
//! Empty on purpose: the examples of the guides are extracted into `examples/` and `tests/` by
//! `tools/doccheck.sh`. The translations in `src/locale` are the ones the localization chapter uses.

View file

@ -0,0 +1,14 @@
greeting = Hello!
welcome = Welcome, { $name }.
notices = { $total ->
[one] You have one notice
*[other] You have { $total } notices
}
# Used by the tour (tutorials/tour.md).
gardens = Community gardens
free-plots = { $count ->
[0] No free plots
[one] One free plot
*[other] { $count } free plots
}

View file

@ -0,0 +1,14 @@
greeting = ¡Hola!
welcome = Te damos la bienvenida, { $name }.
notices = { $total ->
[one] Tienes un aviso
*[other] Tienes { $total } avisos
}
# Used by the tour (tutorials/tour.md).
gardens = Huertos vecinales
free-plots = { $count ->
[0] Sin parcelas libres
[one] Una parcela libre
*[other] { $count } parcelas libres
}