File tree 5 files changed +25
-4
lines changed
lang/en/docs/_installations
5 files changed +25
-4
lines changed Original file line number Diff line number Diff line change @@ -270,6 +270,7 @@ install_os_alpine: Alpine
270
270
install_os_arch : Arch Linux
271
271
install_os_centos : CentOS / Fedora / RHEL
272
272
install_os_debian : Debian / Ubuntu
273
+ install_os_gentoo : Gentoo Linux
273
274
install_os_mac : macOS
274
275
install_os_opensuse : openSUSE
275
276
install_os_solus : Solus
Original file line number Diff line number Diff line change 27
27
{% include_relative _ci/solano.md %}
28
28
{% endcapture %}
29
29
{% capture gitlab %}
30
- {% capture exists %}{%file_exists _ci/gitlab.md%}{% endcapture %}
30
+ {% capture exists %}{% file_exists _ci/gitlab.md %}{% endcapture %}
31
31
{% if exists == "true" %}
32
32
{% include_relative _ci/gitlab.md %}
33
33
{% endif %}
Original file line number Diff line number Diff line change 8
8
- arch
9
9
- centos
10
10
- debian
11
+ - gentoo
11
12
- mac
12
13
- solus
13
14
- windows
46
47
< div id ="install-instructions ">
47
48
< div class ="install-os-instructions "> Loading...</ div >
48
49
{% for os in layout.operating_systems %}
49
- {% capture info %}{% include_relative _installations/{{os}}.md %}{% endcapture %}
50
50
< div id ="{{os}} " class ="install-os-instructions " style ="display: none ">
51
51
{% capture os_i18n %}install_os_{{os}}{% endcapture %}
52
52
< h3 > {{i18n[os_i18n]}}</ h3 >
53
- {{info | markdownify}}
53
+ {% capture exists %}{% file_exists _installations/{{os}}.md %}{% endcapture %}
54
+ {% if exists == "true" %}
55
+ {% capture info %}{% include_relative _installations/{{os}}.md %}{% endcapture %}
56
+ {{info | markdownify}}
57
+ {% endif %}
54
58
</ div >
55
59
{% endfor %}
56
60
</ div >
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def render(context)
14
14
# Adds the site source, so that it also works with a custom one
15
15
site_source = context . registers [ :site ] . config [ 'source' ]
16
16
dir_name = File . dirname ( context . environments . first [ "page" ] [ "path" ] )
17
- file_path = File . join ( site_source , dir_name , url )
17
+ file_path = File . join ( site_source , dir_name , url . strip )
18
18
19
19
# Check if file exists (returns true or false)
20
20
"#{ File . exist? ( file_path ) } "
Original file line number Diff line number Diff line change
1
+ <div class =" install-only-stable " markdown =" 1 " >
2
+ On Gentoo Linux, you can install Yarn with portage.
3
+ ``` sh
4
+ sudo emerge --ask sys-apps/yarn
5
+ ```
6
+ </div >
7
+
8
+ <div class =" install-only-rc install-only-nightly " markdown =" 1 " >
9
+ Currently, there are no Gentoo packages available for RC or nightly builds of Yarn. Please use the tarball:
10
+ {% include_relative _ installations/tarball.md %}
11
+ </div >
12
+
13
+ ### Path Setup
14
+
15
+ <!-- prettier-ignore -->
16
+ {% include_relative _ installations/unix_path_setup.md %}
You can’t perform that action at this time.
0 commit comments