✨ 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

7
tools/doccheck/build.rs Normal file
View file

@ -0,0 +1,7 @@
// Bundle named "app", so that the examples using `serve_static_files!(router, [app] => ...)`
// compile like they would in an application.
fn main() -> std::io::Result<()> {
pagetop_build::StaticFilesBundle::from_dir("./bundle", None)
.with_name("app")
.build()
}