Hwaro::Models::VersionConfig
One documentation version ([[versions.list]]). Versions are
directory-based, modeled on languages: every content file under
content/<path>/ belongs to the version, and the build maps that
directory to a URL prefix (see url_dir).
Constructors
Instance methods
True when content_path (content-relative) lives inside this version.
Parent directory of path ("" for a top-level version directory).
content/docs/v2 → "docs"; content/v2 → "".
Content directory, relative to content/ (no leading/trailing
slash). Defaults to name.
Path of content_path relative to this version's directory, or nil
when the file is not inside it. docs/v2/install.md → "install.md".
Content-relative directory this version PUBLISHES under. The latest
version renders at its parent's natural location when
latest_at_root is on (docs/v2 → docs); every other version
keeps a /<name>/ segment under the parent (docs/v1 → docs/v1,
or docs/one when name != basename of path).