Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
latest-release:
docker:
pre-code-text: |
The official Docker images for Swift.
headline: Docker
If you prefer a containerized environment, you can download the official container images for compiling and running Swift on a variety of distributions.
headline: Container
links:
- href: 'https://hub.docker.com/_/swift'
copy: '6.1-amazonlinux2'
Expand Down
4 changes: 2 additions & 2 deletions _data/new-data/install/linux/debian/debian-12/releases.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
latest-release:
docker:
pre-code-text: |
The official Docker images for Swift.
headline: Docker
If you prefer a containerized environment, you can download the official container images for compiling and running Swift on a variety of distributions.
headline: Container
links:
- href: 'https://hub.docker.com/_/swift'
copy: '6.1-debian12'
Expand Down
4 changes: 2 additions & 2 deletions _data/new-data/install/linux/fedora/fedora-39/releases.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
latest-release:
docker:
pre-code-text: |
The official Docker images for Swift.
headline: Docker
If you prefer a containerized environment, you can download the official container images for compiling and running Swift on a variety of distributions.
headline: Container
links:
- href: 'https://hub.docker.com/_/swift'
copy: '6.1.1-fedora39'
Expand Down
4 changes: 3 additions & 1 deletion _data/new-data/install/linux/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ latest-release:
swiftly:
pre-code-text: |
The Swiftly installer manages Swift and its dependencies. It supports switching between different versions and downloading updates.
headline: Swiftly (recommended)
headline: Swiftly
tabs:
- label: Bash
code: |-
Expand All @@ -18,6 +18,8 @@ latest-release:
copy: 'PGP: Signature'
- href: 'https://www.swift.org/install/linux/swiftly'
copy: 'Instructions'
- href: "https://www.swift.org/tools/#editors"
copy: "Editors"
container:
pre-code-text: |-
If you prefer a containerized environment, you can download the official container images for compiling and running Swift on a variety of distributions.
Expand Down
4 changes: 2 additions & 2 deletions _data/new-data/install/linux/ubi/ubi-9/releases.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
latest-release:
docker:
pre-code-text: |
The official Docker images for Swift.
headline: Docker
If you prefer a containerized environment, you can download the official container images for compiling and running Swift on a variety of distributions.
headline: Container
links:
- href: 'https://hub.docker.com/_/swift'
copy: '6.1.1-rhel-ubi9'
Expand Down
4 changes: 2 additions & 2 deletions _data/new-data/install/linux/ubuntu/ubuntu-20-04/releases.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
latest-release:
docker:
pre-code-text: |
The official Docker images for Swift.
headline: Docker
If you prefer a containerized environment, you can download the official container images for compiling and running Swift on a variety of distributions.
headline: Container
links:
- href: 'https://hub.docker.com/_/swift'
copy: '6.1.1-focal'
Expand Down
4 changes: 2 additions & 2 deletions _data/new-data/install/linux/ubuntu/ubuntu-22-04/releases.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
latest-release:
docker:
pre-code-text: |
The official Docker images for Swift.
headline: Docker
If you prefer a containerized environment, you can download the official container images for compiling and running Swift on a variety of distributions.
headline: Container
links:
- href: 'https://hub.docker.com/_/swift'
copy: '6.1.1-jammy'
Expand Down
4 changes: 2 additions & 2 deletions _data/new-data/install/linux/ubuntu/ubuntu-24-04/releases.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
latest-release:
docker:
pre-code-text: |
The official Docker images for Swift.
headline: Docker
If you prefer a containerized environment, you can download the official container images for compiling and running Swift on a variety of distributions.
headline: Container
links:
- href: 'https://hub.docker.com/_/swift'
copy: '6.1.1-noble'
Expand Down
2 changes: 2 additions & 0 deletions _data/new-data/install/macos/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ latest-release:
copy: 'License: Apache-2.0'
- href: 'https://www.swift.org/install/macos/swiftly'
copy: 'Instructions'
- href: "https://www.swift.org/tools/#editors"
copy: "Editors"
xcode:
pre-code-text: To develop with Swift for Apple platforms, download the latest version of Xcode, which is regularly refreshed with the latest Swift toolchain.
headline: Xcode
Expand Down
8 changes: 5 additions & 3 deletions _data/new-data/install/windows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ latest-release:
winget:
pre-code-text: |
Install Swift via the Windows Package Manager (also known as WinGet).
headline: WinGet (recommended)
headline: WinGet
after-code-text: |
First, install Windows platform dependencies:
<pre><code>winget install --id Microsoft.VisualStudio.2022.Community --exact --force
Expand All @@ -16,6 +16,8 @@ latest-release:
links:
- href: "/install/windows/winget/"
copy: "Instructions"
- href: "https://www.swift.org/tools/#editors"
copy: "Editors"
manual:
pre-code-text: |
Download the Swift installer (.exe).
Expand All @@ -29,8 +31,8 @@ latest-release:
copy: 'Instructions'
docker:
pre-code-text: |
The official Docker images for Swift.
headline: Docker
If you prefer a containerized environment, you can download the official container images for compiling and running Swift on a variety of distributions.
headline: Container
links:
- href: 'https://hub.docker.com/_/swift'
copy: '6.1-windowsservercore-ltsc2022'
Expand Down
2 changes: 1 addition & 1 deletion _includes/new-includes/components/callout.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h3 class="callout-title">{{ include.title }}</h3>
{% endif %} {% assign links = include.links %} {% if links %}
<div class="links">
{% for link in links %}
<a href="{{ link.link }}">{{ link.text }} <i></i></a>
<a href="{{ link.link }}">{{ link.text }}</a>
{% endfor %}
</div>
{% endif %}
Expand Down
6 changes: 3 additions & 3 deletions _includes/new-includes/components/card-grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h2>{{ include.content.title }}</h2>
<div>
<span class="name">{{ card.name }}</span>
<span class="text">{{ card.text }}</span>
<a href="{{ card.link }}">{{ card.link_text }} <i></i></a>
<a href="{{ card.link }}">{{ card.link_text }}</a>
</div>
</li>
{% endfor %}
Expand All @@ -30,7 +30,7 @@ <h2>{{ include.content.title }}</h2>
<div>
<span class="name">{{ card.name }}</span>
<span class="text">{{ card.text }}</span>
<a href="{{ card.link }}">{{ card.link_text }} <i></i></a>
<a href="{{ card.link }}">{{ card.link_text }}</a>
</div>
</li>
{% endfor %}
Expand All @@ -45,7 +45,7 @@ <h2>{{ include.content.title }}</h2>
<div>
<span class="name">{{ card.name }}</span>
<span class="text">{{ card.text }}</span>
<a href="{{ card.link }}">{{ card.link_text }} <i></i></a>
<a href="{{ card.link }}">{{ card.link_text }}</a>
</div>
</li>
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion _includes/new-includes/components/code-box.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h2>{{include.content.headline}}</h2>
{% endif %}{% if include.content.links %}
<div class="link-wrapper">
{% for link in include.content.links %}
<a class="body-copy" href="{{ link.href }}"> {{ link.copy }} <i></i> </a>
<a class="body-copy" href="{{ link.href }}"> {{ link.copy }}</a>
{% endfor %}
</div>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion _includes/new-includes/components/linux-os-selection.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="os-selection-navigation">
<h2>Alternate installation options</h2>
<h2>Alternate Install Options</h2>

{% assign platforms = site.data.new-data.install.linux.os-names %} {% assign
url_parts = page.url | split: '/' %} {% assign selected_os = url_parts[3] %}
Expand Down
7 changes: 3 additions & 4 deletions _includes/new-includes/components/linux-releases.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<div class="content">
<h2>Latest release</h2>
<div class="releases-grid">
<div class="release-box section">
<div class="content">
Expand Down Expand Up @@ -38,12 +37,12 @@ <h2>Development Snapshots</h2>
</div>
<div>
<p class="content-copy">
<a class="content-link" href="https://www.swift.org/install/linux/tarball">Instructions (Tarball) <i></i></a>
<a class="content-link" href="https://www.swift.org/install/linux/tarball">Instructions (Tarball)</a>
</p>
</div>
<div>
<p class="content-copy">
<a class="content-link" href="https://www.swift.org/install/linux/docker">Instructions (Docker) <i></i></a>
<a class="content-link" href="https://www.swift.org/install/linux/docker">Instructions (Docker)</a>
</p>
</div>
<div class="releases-grid">
Expand All @@ -61,7 +60,7 @@ <h2>Development Snapshots</h2>
<h3>Static Linux SDK</h3>
<div>
<p class="content-copy">
<a class="content-link" href="https://www.swift.org/documentation/articles/static-linux-getting-started.html">Instructions <i></i></a>
<a class="content-link" href="https://www.swift.org/documentation/articles/static-linux-getting-started.html">Instructions</a>
</p>
</div>
<div class="releases-grid">
Expand Down
1 change: 0 additions & 1 deletion assets/stylesheets/new-stylesheets/pages/_get-started.scss
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,6 @@
ul {
white-space: nowrap;
width: calc(100% - 59px);
overflow: scroll;
}
}
}
Expand Down
8 changes: 5 additions & 3 deletions assets/stylesheets/new-stylesheets/pages/_install.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@
@include link-with-right-arrow;
margin-top: 10px;
display: flex;
text-decoration: underline;

&.centered {
&.block {
justify-content: center;
font-size: 2em;
}

i {
Expand Down Expand Up @@ -185,8 +187,8 @@

table tr {
display: block;
margin-bottom: 20px;
border: 1px solid #f2f2f2;
margin-bottom: 6px;
border-bottom: 1px solid #f2f2f2;
}

table td {
Expand Down
2 changes: 1 addition & 1 deletion get-started/storybook/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ title: Storybook
{% include new-includes/components/code-box.html content = site.data.new-data.get-started.storybook.code-box-with-tabs with-tabs = true %}

<div class="stand-alone-link">
<a class="link">Stand alone link<i></i></a>
<a class="link">Stand alone link</a>
</div>

</div>
4 changes: 1 addition & 3 deletions install/linux/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ title: Install Swift - Linux
---

<div class="content">
<h2>Latest release</h2>
<div class="release-box section">
<div class="content">
{% include new-includes/components/code-box.html content = site.data.new-data.install.linux.releases.latest-release.swiftly %}
Expand All @@ -18,10 +17,9 @@ title: Install Swift - Linux
</div>
</div>
<div class="callout">
<h2>Looking for alternate installation options?</h2>
<div>
<p class="content-copy">
<a class="content-link centered" href="/install/linux/amazonlinux/2">Check them out <i></i></a>
<a class="content-link block" href="/install/linux/amazonlinux/2">Alternate Install Options</a>
</p>
</div>
</div>
Expand Down
6 changes: 2 additions & 4 deletions install/macos/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ title: Install Swift - macOS
{% assign xcode_6_2_builds = site.data.builds.swift-6_2-branch.xcode | sort: 'date' | reverse %}

<div class="content">
<h2>Latest release</h2>
<div class="release-box section">
<div class="content">
{% include new-includes/components/code-box.html content = site.data.new-data.install.macos.releases.latest-release.swiftly%}
Expand All @@ -20,7 +19,6 @@ title: Install Swift - macOS
{% include new-includes/components/code-box.html content = site.data.new-data.install.macos.releases.latest-release.xcode%}
</div>
</div>
<h2>Other install options</h2>
<div class="releases-grid">
<div class="release-box section">
<div class="content">
Expand Down Expand Up @@ -49,7 +47,7 @@ title: Install Swift - macOS
<h3>Toolchain</h3>
<div>
<p class="content-copy">
<a class="content-link" href="/install/macos/package_installer">Instructions <i></i></a>
<a class="content-link" href="/install/macos/package_installer">Instructions</a>
</p>
</div>
<div class="releases-grid">
Expand All @@ -67,7 +65,7 @@ title: Install Swift - macOS
<h3>Static Linux SDK</h3>
<div>
<p class="content-copy">
<a class="content-link" href="/documentation/articles/static-linux-getting-started.html">Instructions <i></i></a>
<a class="content-link" href="/documentation/articles/static-linux-getting-started.html">Instructions</a>
</p>
</div>
<div class="releases-grid">
Expand Down
3 changes: 1 addition & 2 deletions install/windows/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ title: Install Swift - Windows
{% assign windows10_arm64_6_1_builds = site.data.builds.swift-6_1-branch.windows10-arm64 | sort: 'date' | reverse %}

<div class="content">
<h2>Latest release</h2>
<div class="release-box section">
<div class="content">
{% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.winget %}
Expand Down Expand Up @@ -48,7 +47,7 @@ title: Install Swift - Windows
</div>
<div>
<p class="content-copy">
<a class="content-link" href="/install/windows/manual/">Instructions <i></i></a>
<a class="content-link" href="/install/windows/manual/">Instructions</a>
</p>
</div>
<div class="releases-grid">
Expand Down
6 changes: 3 additions & 3 deletions use-case/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ title: Use case
<div>
<span class="name">{{ package.name }}</span>
<span class="text">{{ package.text }}</span>
<a href="{{ package.link }}">{{ package.link_text }} <i></i></a>
<a href="{{ package.link }}">{{ package.link_text }}</a>
</div>
</li>
{% endfor %}
Expand All @@ -45,11 +45,11 @@ title: Use case
<div>
<span class="name">{{ package.name }}</span>
<span class="text">{{ package.text }}</span>
<a href="{{ package.link }}">{{ package.link_text }} <i></i></a>
<a href="{{ package.link }}">{{ package.link_text }}</a>
</div>
</li>
{% endfor %}
</ul>
<a href="{{ frameworks_packages.link }}">{{ frameworks_packages.link_text }} <i></i></a>
<a href="{{ frameworks_packages.link }}">{{ frameworks_packages.link_text }}</a>
</div>
</div>