mirror-cockpit-project-cockpit/antora-playbook.yml
Freya Gustavsson d9ba262e51 doc: Add cockpit-version from playbook
We had set the cockpit-version attribute from the antora file which is
used by playbooks. This makes the attribute become locked and can't be
modified beforehand (that easily).

Proper usage, for us at least, is to update the cockpit-version through
an extension in cockpit-docs repo instead. This is only really a hack we
have to do due to publishing through tags instead of branches.

Signed-off-by: Freya Gustavsson <freya@venefilyn.se>
2026-07-20 13:07:14 +02:00

18 lines
393 B
YAML

site:
title: Cockpit
start_page: cockpit-guide:guide:index.adoc
content:
sources:
# Cockpit
- url: .
branches: HEAD
start_path: doc
ui:
bundle:
url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable
snapshot: true
output:
dir: ./doc/output/antora
asciidoc:
attributes:
cockpit-version: latest+git