From dd99ef047a350aebc9357977f9490e798cd9f689 Mon Sep 17 00:00:00 2001 From: Joe Heck Date: Thu, 6 Aug 2026 16:42:03 -0700 Subject: [PATCH] Hide the Swift Server tutorial from the combined nav, link it from Server Guides Removes the standalone "Tutorials" nav group and moves the swift-server-todos-tutorial source into navigation.json's hidden list, then adds a hand-assembled Tutorials section to the Linux Server Guides page since DocC's Topics curation can't link across catalogs. --- linux/Sources/SwiftLinux.docc/ServerGuides.md | 4 ++++ scripts/navigation.json | 7 +------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/linux/Sources/SwiftLinux.docc/ServerGuides.md b/linux/Sources/SwiftLinux.docc/ServerGuides.md index d6e8c0bd..bdce076f 100644 --- a/linux/Sources/SwiftLinux.docc/ServerGuides.md +++ b/linux/Sources/SwiftLinux.docc/ServerGuides.md @@ -2,6 +2,10 @@ Build, package, and deploy Swift applications for Linux servers and cloud infrastructure. +## Tutorials + +- [Get Started with Swift Server](https://docs.swift.org/latest/tutorials/getting-started-swift-server) — Explore Swift on the server by building a Vapor app. + ## Topics - diff --git a/scripts/navigation.json b/scripts/navigation.json index b22dc88f..10ed7d9f 100644 --- a/scripts/navigation.json +++ b/scripts/navigation.json @@ -36,12 +36,6 @@ { "source": "swift-windows", "path": "/documentation/swiftwindows", "title": "Windows" } ] }, - { - "title": "Tutorials", - "modules": [ - { "source": "swift-server-todos-tutorial", "path": "/tutorials/getting-started-swift-server" } - ] - }, { "title": "Interoperability", "modules": [ @@ -61,6 +55,7 @@ "hidden": [ { "source": "swiftpm", "path": "/documentation/packagedescription" }, { "source": "swiftpm", "path": "/documentation/packageplugin" }, + { "source": "swift-server-todos-tutorial", "path": "/tutorials/getting-started-swift-server" }, { "source": "swift-stdlib", "path": "/documentation/cxx" }, { "source": "swift-stdlib", "path": "/documentation/cxxstdlib" }, { "source": "swift-stdlib", "path": "/documentation/distributed" },