Add environment property to extension block
It should be possible to configure additional environment variables in the antora extension block using the environments
property. This setting is important for configuring integrations, such as a search client.
The property must accept a map (Map<String,String>
). The pairs will be appended to the current environment before the plugin adds its own environment variables.
The environment will only be active for the call to Antora.
Here's an example:
antora {
environment = [
'SEARCH_APP_ID': '123xyz',
'SEARCH_INDEX_NAME': 'docs-prod'
]
}
This properly could also be used to override settings in the playbook file.