SIGN IN SIGN UP

website: resolve "latest" to latest version in shortcodes (#3436)

This came up in the discussion of #3426.

Note that there's two ways to access the current "latest" version:

https://www.openpolicyagent.org/docs/latest/http-api-authorization/
https://www.openpolicyagent.org/docs/v0.28.0/http-api-authorization/

For both sites, the shortcodes now resolve to "0.28.0". Before, the
first one would show "latest", the second "0.28.0".

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
S
Stephan Renatus committed
e1c803e57eb0bcf08c73ec6f65ff3fef313d3a70
Parent: d3dd4cf
Committed by GitHub <noreply@github.com> on 5/6/2021, 3:09:59 PM