Skip to content

feat(vm_workload_showroom, ocp4_workload_showroom): Add support for enabling Antora dev mode#23

Open
andrew-jones wants to merge 2 commits into
mainfrom
showroom-dev-mode
Open

feat(vm_workload_showroom, ocp4_workload_showroom): Add support for enabling Antora dev mode#23
andrew-jones wants to merge 2 commits into
mainfrom
showroom-dev-mode

Conversation

@andrew-jones
Copy link
Copy Markdown
Collaborator

@andrew-jones andrew-jones commented Feb 12, 2026

This PR introduces a new variable showroom_enable_dev_mode to the vm_workload_showroom role to control the development mode in the Antora builder.

When set to true, this variable passes the ANTORA_ENABLE_DEV_MODE environment variable to the showroom container. This triggers the injection of dev-mode.js and enables the development extension in the underlying showroom image, which is useful for content development and debugging.

Changes:

  • Added showroom_enable_dev_mode to defaults/main.yml (default: false).
  • Updated tasks/40-showroom-render.yml to pass ANTORA_ENABLE_DEV_MODE to the container environment.

If true the antora builder will inject dev-mode.js and enable the extension.
@andrew-jones andrew-jones changed the title [vm_workload_showroom] Add showroom_enable_dev_mode: false feat(vm_workload_showroom): Add support for enabling Antora dev mode Feb 12, 2026
@andrew-jones andrew-jones changed the title feat(vm_workload_showroom): Add support for enabling Antora dev mode feat(vm_workload_showroom, ocp4_workload_showroom): Add support for enabling Antora dev mode Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant