# Rustelo Manifest — Single Source of Truth for Path Resolution
# PAP-Compliant: configuration-driven, no hardcoding, language-agnostic

[manifest]
version = "1.0"
schema = "https://rustelo.dev/schemas/manifest/v1"

[project]
name = "website"
type = "rustelo-app"
description = "Bilingual EN/ES website built on the Rustelo framework"

[paths]
# All paths relative to manifest location
content      = "site/content"
config       = "site/config"
routes       = "site/config/routes"
i18n         = "site/i18n"
assets       = "public"
ui           = "site/config"
build_output = "target/site"
wasm_output  = "target/site/pkg"

[discovery]
default_lang  = "en"
languages     = "auto"
content_types = "auto"

[deployment]
base_url     = "${BASE_URL:-http://localhost:3030}"
content_url  = "/r"
content_root = "r"
cache_path   = "rustelo-cache"
api_endpoint = "${API_ENDPOINT:-/api}"
database_url = "${DATABASE_URL:-sqlite:data/dev.db}"

[build]
leptos_output_name = "website"
site_addr          = "127.0.0.1:3030"
reload_port        = 3031
debug              = 0
cache_build_path   = "rustelo-cache"
