Skip to content
Open
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
3 changes: 2 additions & 1 deletion scripts/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
{ "source": "swift-android", "path": "/documentation/swiftandroid", "title": "Android" },
{ "source": "embedded-swift", "path": "/documentation/embeddedswift", "title": "Embedded Swift" },
{ "source": "swift-linux", "path": "/documentation/swiftlinux", "title": "Linux" },
{ "source": "swift-wasm", "path": "/documentation/wasmguide", "title": "WebAssembly (Wasm)"}
{ "source": "swift-wasm", "path": "/documentation/wasmguide", "title": "WebAssembly (Wasm)"},
{ "source": "swift-windows", "path": "/documentation/swiftwindows", "title": "Windows" }
]
},
{
Expand Down
6 changes: 6 additions & 0 deletions scripts/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@
"path": "linux",
"targets": ["SwiftLinux"]
},
{
"id": "swift-windows",
"type": "local",
"path": "windows",
"targets": ["SwiftWindows"]
},
{
"id": "official-libraries",
"type": "local",
Expand Down
19 changes: 19 additions & 0 deletions windows/Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// swift-tools-version: 6.2

import PackageDescription

let package = Package(
name: "SwiftWindows",
products: [
.library(name: "SwiftWindows", targets: ["SwiftWindows"])
],
dependencies: [
.package(url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.1.0")
],
targets: [
.target(
name: "SwiftWindows",
path: "Sources"
)
]
)
Empty file added windows/Snippets/.gitkeep
Empty file.
14 changes: 14 additions & 0 deletions windows/Sources/SwiftWindows.docc/Documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# ``SwiftWindows``

Build and host libraries, apps, and services on Windows.

@Metadata {
@DisplayName("Windows")
@TitleHeading("")
}

## Topics

- <doc:getting-started>
- <doc:building>
- <doc:porting-swift-packages>
5 changes: 5 additions & 0 deletions windows/Sources/SwiftWindows.docc/building.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Building for Windows

Build Swift applications and libraries on Windows.

<!-- Placeholder article: content to be written. -->
5 changes: 5 additions & 0 deletions windows/Sources/SwiftWindows.docc/getting-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Getting Started

Set up your environment to develop Swift applications on Windows.

<!-- Placeholder article: content to be written. -->
5 changes: 5 additions & 0 deletions windows/Sources/SwiftWindows.docc/porting-swift-packages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Porting Swift Packages to Windows

Adapt existing Swift packages so they build and run on Windows.

<!-- Placeholder article: content to be written. -->
13 changes: 13 additions & 0 deletions windows/Sources/_empty.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2026 Apple Inc. and the Swift.org project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of Swift.org project authors
//
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//