Skip to content

Commit 326e506

Browse files
committed
[Install] Move the install swift via header outside of the box
1 parent 72a67c4 commit 326e506

File tree

7 files changed

+5
-3
lines changed

7 files changed

+5
-3
lines changed

_data/new-data/install/linux/releases.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ latest-release:
22
swiftly:
33
pre-code-text: |
44
The Swiftly installer manages Swift and its dependencies. It supports switching between different versions and downloading updates.
5-
headline: 1. Install Swift via Swiftly
65
tabs:
76
- label: Bash
87
code: |-

_data/new-data/install/macos/releases.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ latest-release:
22
swiftly:
33
pre-code-text: |
44
To download toolchains from Swift.org, use the Swiftly toolchain installer. Swift.org toolchains support Static Linux SDK, include experimental features like Embedded Swift and support for WebAssembly.
5-
headline: 1. Install Swift via Swiftly
65
tabs:
76
- label: Bash
87
code: |

_data/new-data/install/windows/releases.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ latest-release:
22
winget:
33
pre-code-text: |
44
Install Swift via the Windows Package Manager (also known as WinGet).
5-
headline: 1. Install Swift via WinGet
65
after-code-text: |
76
First, install Windows platform dependencies:
87
<pre><code>winget install --id Microsoft.VisualStudio.2022.Community --exact --force --custom "--add Microsoft.VisualStudio.Component.Windows11SDK.22000 --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.VC.Tools.ARM64"</code></pre>

assets/stylesheets/new-stylesheets/pages/_install.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
margin: 0 auto;
1414
box-sizing: border-box;
1515
border-radius: 22px;
16+
position: relative;
17+
z-index: 2;
1618

1719
@media only screen and (max-width: 1024px) {
1820
padding: 20px;

install/linux/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ title: Install Swift - Linux
66
---
77

88
<div class="content">
9+
<h3 id="swiftly" class="header-with-anchor">1. Install Swift via Swiftly</h3>
910
<div class="release-box section">
1011
<div class="content">
1112
{% include new-includes/components/code-box.html with-tabs = true content = site.data.new-data.install.linux.releases.latest-release.swiftly %}

install/macos/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ title: Install Swift - macOS
1010

1111

1212
<div class="content">
13+
<h3 id="swiftly" class="header-with-anchor">1. Install Swift via Swiftly</h3>
1314
<div class="release-box section">
1415
<div class="content">
1516
{% include new-includes/components/code-box.html with-tabs = true content = site.data.new-data.install.macos.releases.latest-release.swiftly%}

install/windows/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ title: Install Swift - Windows
1313
{% assign platform = site.data.builds.swift_releases.last.platforms | where: 'name', 'Windows 10' | first %}
1414

1515
<div class="content">
16+
<h3 id="winget" class="header-with-anchor">1. Install Swift via WinGet</h3>
1617
<div class="release-box section">
1718
<div class="content">
1819
{% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.winget %}

0 commit comments

Comments
 (0)