Simpler changelog
Build Successful The Ravenous rulebook, changelog, player books, master handbook, and balance reports were built successfully.
Ravenous/ravenous_typst/pipeline/head This commit looks good Details

This commit is contained in:
Dandaedre 2026-08-27 17:57:14 +02:00
parent 4aa2126c09
commit 9e180b0fc0
Signed by: Dandaedre
GPG Key ID: 440C6592E8A26D99
3 changed files with 23 additions and 3 deletions

4
Jenkinsfile vendored
View File

@ -114,7 +114,9 @@ pipeline {
typst compile "${SOURCE_FILE}" "${OUTPUT_FILE}"
echo "Building ${CHANGELOG_SOURCE_FILE} -> ${CHANGELOG_OUTPUT_FILE}"
typst compile "${CHANGELOG_SOURCE_FILE}" "${CHANGELOG_OUTPUT_FILE}"
typst compile \
--input changelog-hidden-categories=formatting,reporting \
"${CHANGELOG_SOURCE_FILE}" "${CHANGELOG_OUTPUT_FILE}"
echo "Building ${BALANCE_SOURCE_FILE} -> ${BALANCE_OUTPUT_FILE}"
typst compile "${BALANCE_SOURCE_FILE}" "${BALANCE_OUTPUT_FILE}"

View File

@ -1,9 +1,19 @@
// A deliberately compact, data-driven overview of notable content changes.
#import "/setup/setup.typ": theme, theme-var
#let entries = yaml("/data/config/changelog.yaml").filter(
entry => entry.at("display", default: true),
#let hidden-categories = (
sys.inputs.at(
"changelog-hidden-categories",
default: "",
)
.split(",")
.map(category => category.trim())
.filter(category => category != "")
)
#let entries = yaml("/data/config/changelog.yaml").filter(entry => (
entry.at("display", default: true)
and not hidden-categories.contains(entry.category)
))
#let category-order = (
"new rule",
"rework",

View File

@ -16,3 +16,11 @@ typst compile --input theme=steel changelog.typ changelog-steel.pdf
The changelog content is stored in `data/config/changelog.yaml` and rendered by
`chapters/changelog.typ`.
Categories can be omitted from a build with a comma-separated input. For example,
the CI publication excludes formatting and reporting entries with:
```sh
typst compile --input changelog-hidden-categories=formatting,reporting \
changelog.typ changelog.pdf
```