✨ 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

29
config/common.toml Normal file
View file

@ -0,0 +1,29 @@
# Settings common to all environments.
#
# Load order (all optional):
# 1. config/common.toml <- this file
# 2. config/{run_mode}.toml <- according to PAGETOP_RUN_MODE (default: "default")
# 3. config/local.{run_mode}.toml
# 4. config/local.toml <- local overrides, do not track in git
#
# Configuration is only read from these files: there are no environment variables that override
# individual keys. The only variables that are consulted are PAGETOP_RUN_MODE (see above) and
# CONFIG_DIR (an alternative to the "config" directory).
# **< Application >*********************************************************************************
[app]
name = "PageTop"
theme = "Bootsier"
# Interface language: "es" (default) or "en".
language = "es"
# **< Theme >***************************************************************************************
[bootsier]
max_width = "1520px"
# **< Trace logging >*******************************************************************************
[log]
rolling = "Daily"