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.
33 lines
858 B
TOML
33 lines
858 B
TOML
[package]
|
|
name = "pagetop-website"
|
|
version = "0.0.1"
|
|
edition = "2024"
|
|
description = "Official PageTop website, to introduce this development environment to the community."
|
|
publish = false
|
|
repository = "https://git.cillero.es/manuelcillero/pagetop-website"
|
|
homepage = "https://pagetop.cillero.es"
|
|
license = "MIT OR Apache-2.0"
|
|
authors = ["Manuel Cillero <manuel@cillero.es>"]
|
|
|
|
[[bin]]
|
|
name = "pagetop-website"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
pagetop = { path = "../pagetop" }
|
|
pagetop-bootsier = { path = "../pagetop/extensions/pagetop-bootsier" }
|
|
pagetop-mdbook = { path = "../pagetop-mdbook" }
|
|
|
|
[build-dependencies]
|
|
pagetop-mdbook = { path = "../pagetop-mdbook" }
|
|
|
|
[profile.dev]
|
|
opt-level = 0
|
|
debug = true
|
|
split-debuginfo = "unpacked"
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = "fat"
|
|
codegen-units = 1
|
|
strip = true
|