docs: generate correct doc links to master github branch
The latest docs should link to the master examples on github. Only the docs were renamed to latest, but not the github branch. Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
This commit is contained in:
1 file changed
+1
-1
@@ -3,5 +3,5 @@
|
||||
{% if currentVersion != 'latest' %}
|
||||
{% assign branchName = currentVersion | replace: 'v', '' | prepend: 'release-' %}
|
||||
{% else %}
|
||||
{% assign branchName = currentVersion %}
|
||||
{% assign branchName = 'master' %}
|
||||
{% endif %}
|
||||
Reference in new issue
Block a user