diff --git a/_includes/new-includes/components/linux-releases.html b/_includes/new-includes/components/linux-releases.html index 6589344ba..14e6c9743 100644 --- a/_includes/new-includes/components/linux-releases.html +++ b/_includes/new-includes/components/linux-releases.html @@ -86,7 +86,7 @@

RPM

{% endif %} -

Development Snapshots

+

Development Snapshots

Swift snapshots are prebuilt binaries that are automatically created from the branch. These snapshots are not official releases. They have gone through automated unit testing, but they have not gone through the full testing that is performed for official releases.

diff --git a/assets/javascripts/new-javascripts/application.js b/assets/javascripts/new-javascripts/application.js index 334c1c7b1..0f15c2bf0 100644 --- a/assets/javascripts/new-javascripts/application.js +++ b/assets/javascripts/new-javascripts/application.js @@ -113,7 +113,7 @@ if (codeBoxes.length) { }) } -document.querySelectorAll('h2.header-with-anchor').forEach(header => { +document.querySelectorAll('h2.html-header-with-anchor').forEach(header => { if (!header.id) return; const link = document.createElement('a'); diff --git a/assets/stylesheets/new-stylesheets/_core.scss b/assets/stylesheets/new-stylesheets/_core.scss index 2f62a68ba..c405aaafc 100644 --- a/assets/stylesheets/new-stylesheets/_core.scss +++ b/assets/stylesheets/new-stylesheets/_core.scss @@ -69,7 +69,8 @@ blockquote { } } -.header-with-anchor { +.header-with-anchor, +.html-header-with-anchor { scroll-margin-top: 80px; a { @@ -82,7 +83,8 @@ blockquote { } } -h2.header-with-anchor { +h2.header-with-anchor, +.html-header-with-anchor { &:hover { a { display: inline-block; diff --git a/install/linux/index.md b/install/linux/index.md index 101be501c..568990af0 100644 --- a/install/linux/index.md +++ b/install/linux/index.md @@ -6,7 +6,7 @@ title: Install Swift - Linux ---
-

1. Install Swift via Swiftly

+

1. Install Swift via Swiftly

{% include new-includes/components/code-box.html with-tabs = true content = site.data.new-data.install.linux.releases.latest-release.swiftly %} @@ -17,7 +17,7 @@ title: Install Swift - Linux {% include new-includes/components/code-box.html content = site.data.new-data.install.linux.releases.latest-release.container %}
-

2. Select an Editor

+

2. Select an Editor

@@ -30,13 +30,13 @@ title: Install Swift - Linux
-

3. Build a Command-line Tool

+

3. Build a Command-line Tool

{% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.build-a-package%}
-

Swift SDK Bundles

+

Swift SDK Bundles

Additional components for cross-compilation

@@ -54,7 +54,7 @@ title: Install Swift - Linux



-

Development Snapshots

+

Development Snapshots

Swift snapshots are prebuilt binaries that are automatically created from the branch. These snapshots are not official releases. They have gone through automated unit testing, but they have not gone through the full testing that is performed for official releases.

@@ -63,7 +63,7 @@ title: Install Swift - Linux {% include new-includes/components/code-box.html with-tabs = true content = site.data.new-data.install.linux.dev.latest-dev.swiftly %} -

Swift SDK Bundles

+

Swift SDK Bundles

Additional components for cross-compilation

diff --git a/install/macos/index.md b/install/macos/index.md index 0754a17a7..8cc57c3b3 100644 --- a/install/macos/index.md +++ b/install/macos/index.md @@ -10,13 +10,13 @@ title: Install Swift - macOS
-

1. Install Swift via Swiftly

+

1. Install Swift via Swiftly

{% include new-includes/components/code-box.html with-tabs = true content = site.data.new-data.install.macos.releases.latest-release.swiftly%}
-

2. Select an Editor

+

2. Select an Editor

@@ -34,13 +34,13 @@ title: Install Swift - macOS {% include new-includes/components/code-box.html content = site.data.new-data.install.macos.releases.latest-release.other_editors%}
-

3. Build a Command-line Tool

+

3. Build a Command-line Tool

{% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.build-a-package%}
-

Swift SDK Bundles

+

Swift SDK Bundles

Additional components for cross-compilation

@@ -56,7 +56,7 @@ title: Install Swift - macOS
-

Alternative toolchain install options

+

Alternative toolchain install options

@@ -83,7 +83,7 @@ title: Install Swift - macOS



-

Development Snapshots

+

Development Snapshots

Swift snapshots are prebuilt binaries that are automatically created from the branch. These snapshots are not official releases. They have gone through automated unit testing, but they have not gone through the full testing that is performed for official releases.

The easiest way to install development snapshots is with the Swiftly tool. Read more on the instructions page.

@@ -151,7 +151,7 @@ title: Install Swift - macOS
-

Swift SDK Bundles

+

Swift SDK Bundles

Additional components for cross-compilation

diff --git a/install/windows/index.md b/install/windows/index.md index 2c8a4f9a0..e8d3517b8 100644 --- a/install/windows/index.md +++ b/install/windows/index.md @@ -13,13 +13,13 @@ title: Install Swift - Windows {% assign platform = site.data.builds.swift_releases.last.platforms | where: 'name', 'Windows 10' | first %}
-

1. Install Swift via WinGet

+

1. Install Swift via WinGet

{% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.winget %}
-

2. Select an Editor

+

2. Select an Editor

@@ -32,13 +32,13 @@ title: Install Swift - Windows
-

3. Build a Command-line Tool

+

3. Build a Command-line Tool

{% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.build-a-package%}
-

Alternative install options

+

Alternative install options

@@ -76,7 +76,7 @@ title: Install Swift - Windows
-

Previous Releases

+

Previous Releases

Previous releases of Swift are available for installation on Windows using the manual installer, as documented here.

@@ -88,7 +88,7 @@ title: Install Swift - Windows
-

Development Snapshots

+

Development Snapshots

Swift snapshots are prebuilt binaries that are automatically created from the branch. These snapshots are not official releases. They have gone through automated unit testing, but they have not gone through the full testing that is performed for official releases.