Bugfixes: doc: show the correct branch names for all the Salt install
authorWard Vandewege <ward@curii.com>
Thu, 6 Jan 2022 17:02:37 +0000 (12:02 -0500)
committerWard Vandewege <ward@curii.com>
Thu, 6 Jan 2022 17:03:42 +0000 (12:03 -0500)
methods.

No issue #

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

doc/_includes/_branchname.liquid
doc/install/salt-vagrant.html.textile.liquid

index 44707e3f9a0fef83f097bee336ca4b6fb6ad3cd8..7180e09ce7286ba0d1793dfb649b7b877fdb3573 100644 (file)
@@ -5,7 +5,7 @@ SPDX-License-Identifier: CC-BY-SA-3.0
 {% 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 %}
index 8ba4b324e56632a98d81240605673cbf1a2ace23..19a2cd5100550e297a62eb57a6ceeb64c16ef0ca 100644 (file)
@@ -18,7 +18,9 @@ SPDX-License-Identifier: CC-BY-SA-3.0
 
 h2(#vagrant). Vagrant
 
-This is a package-based installation method. The Salt scripts are available from the "tools/salt-install":https://github.com/arvados/arvados/tree/main/tools/salt-install directory in the Arvados git repository.
+{% include 'branchname' %}
+
+This is a package-based installation method. Start by cloning the @{{ branchname }}@ branch from "https://git.arvados.org/arvados.git":https://git.arvados.org/arvados.git . The Salt scripts are available in the @tools/salt-install@ directory.
 
 A @Vagrantfile@ is provided to install Arvados in a virtual machine on your computer using "Vagrant":https://www.vagrantup.com/.