You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Select custom label or hide label in selectors (#256)
In the version selector we currently prepend the version name (usually a
number) with the word 'Version'.
This PR extends the version selector to allow a choice of:
- custom text
- no text
Two attributes are available to control the text that is displayed:
- `page-selector-label`
- `page-selector-hide-label`
These attributes should be set in the usual way by defining in a
playbook, antora.yml, or in a page header.
To set custom text:
```
:page-selector-label: Custom version label
```
To have no text, ie just the version name:
```
:page-selector-hide-label: true
```
0 commit comments