neo4j-documentation / docs-ui

Mozilla Public License 2.0
4 stars 23 forks source link

Select custom label or hide label in selectors #256

Closed recrwplay closed 1 month ago

recrwplay commented 1 month ago

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:

Two attributes are available to control the text that is displayed:

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
netlify[bot] commented 1 month ago

Deploy Preview for neo4j-docs-ui ready!

Name Link
Latest commit bd7f29c5da55a058208a4949290a12515a7122de
Latest deploy log https://app.netlify.com/sites/neo4j-docs-ui/deploys/66cdeb6a13091000087924ca
Deploy Preview https://deploy-preview-256--neo4j-docs-ui.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.