projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bugfixes: doc: show the correct branch names for all the Salt install
[arvados.git]
/
doc
/
_includes
/
_branchname.liquid
diff --git
a/doc/_includes/_branchname.liquid
b/doc/_includes/_branchname.liquid
index 44707e3f9a0fef83f097bee336ca4b6fb6ad3cd8..7180e09ce7286ba0d1793dfb649b7b877fdb3573 100644
(file)
--- a/
doc/_includes/_branchname.liquid
+++ b/
doc/_includes/_branchname.liquid
@@
-5,7
+5,7
@@
SPDX-License-Identifier: CC-BY-SA-3.0
{% endcomment %}
{% if site.current_version and site.current_version != 'main' %}
{% endcomment %}
{% if site.current_version and site.current_version != 'main' %}
-{% assign branchname = site.current_version | slice:
0
, 3 | append: '-dev' %}
+{% assign branchname = site.current_version | slice:
1
, 3 | append: '-dev' %}
{% else %}
{% assign branchname = 'main' %}
{% endif %}
{% else %}
{% assign branchname = 'main' %}
{% endif %}