Skip to content

Commit

Permalink
docs: Change wording for prerelease caveat (#2029)
Browse files Browse the repository at this point in the history
Currently, the prerelease docs have a note warning that you're looking
at "a previous version". This changes it to say "an as-yet unreleased
version".

Signed-off-by: Andrew Haines <haines@cerbos.dev>
  • Loading branch information
haines committed Mar 7, 2024
1 parent 1ca9c9b commit da2754b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/modules/ROOT/partials/attributes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,12 @@
:tutorial-base: {app-github-url}/tree/main/docs/modules/ROOT/examples/tutorial

ifndef::page-component-version-is-latest[]
NOTE: This documentation is for a previous version of Cerbos. Choose {page-component-latest-version} from the version picker at the top right or navigate to https://docs.cerbos.dev for the latest version.
NOTE: This documentation is for
ifeval::["{page-component-version}" > "{page-component-latest-version}"]
an as-yet unreleased
endif::[]
ifeval::["{page-component-version}" < "{page-component-latest-version}"]
a previous
endif::[]
version of Cerbos. Choose {page-component-latest-version} from the version picker at the top right or navigate to https://docs.cerbos.dev for the latest version.
endif::page-component-version-is-latest[]

0 comments on commit da2754b

Please sign in to comment.