Skip to content

Conversation

@recrwplay
Copy link
Collaborator

Requires pre-release versions to be marked as prerelease so Antora doesn't consider them as 'latest'.

Pre-release versions will be included in the version selector, unless page-nav-selectors-hide-prerelease is set to true.

This PR also modifies page.canonicalUrl. After it is set by Antora, a helper in the ui-bundle checks the value, and if it contains the version name that is the latest version of the page's component, the url is updated by replacing the version name with 'current'. This ensures that all our canonicals point to current (except where there is no equivalent of a page in the latest release. In that case the canonical is self-referencing).

@netlify
Copy link

netlify bot commented Mar 6, 2025

Deploy Preview for neo4j-docs-ui ready!

Name Link
🔨 Latest commit a5c96fc
🔍 Latest deploy log https://app.netlify.com/sites/neo4j-docs-ui/deploys/67c9e7f9699d780008e5a7bc
😎 Deploy Preview https://deploy-preview-300--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.

@recrwplay recrwplay merged commit 21e5514 into master Mar 12, 2025
5 checks passed
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.

2 participants