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
Steps to reproduce:
Set expiryVersion to 0.10.0 and base_version to 0.9.0 in one of md files.
Run make site-server.
We will not see the doc part inside the shortcode:
While {{% feature expiryVersion="0.9.1" %}} works as expected.
The reason seems to be lexicographic comparison between strings, we should split the version into parts and compare them separately.
The text was updated successfully, but these errors were encountered:
aLekSer
changed the title
Feature shortcode does not behave correctly for versions > "0.10.0" (2 digits minor version))
Feature shortcode does not behave correctly for versions > "0.10.0" (2 digits minor version)
Mar 14, 2019
aLekSer
changed the title
Feature shortcode does not behave correctly for versions > "0.10.0" (2 digits minor version)
Feature shortcode does not behave correctly for versions > "0.10.0" (2 digit minor version)
Mar 14, 2019
Steps to reproduce:
Set
expiryVersion
to0.10.0
andbase_version
to 0.9.0 in one of md files.Run
make site-server
.We will not see the doc part inside the shortcode:
While
{{% feature expiryVersion="0.9.1" %}}
works as expected.The reason seems to be lexicographic comparison between strings, we should split the version into parts and compare them separately.
The text was updated successfully, but these errors were encountered: