From 41f66948e1936305dca7ecffbe243f2357d4e4ed Mon Sep 17 00:00:00 2001 From: Rick Newton-Rogers Date: Fri, 21 Jun 2024 16:59:46 +0100 Subject: [PATCH] fix link to NIOFileSystem from NIO index page (#2747) Motivation: The existing link to NIOFileSystem docs 404's Modifications: Speculative fixes because getting any links to work locally is challenging. * rename `NIOFileSystem.md` -> `index.md` in line with other modules * modify the link on the NIO index page to reference `_NIOFileSystem` local experiments suggest it might change the form of the generated URL to where the docs can be found (https://swiftpackageindex.com/apple/swift-nio/2.67.0/documentation/_NIOFileSystem). Result: Hopefully the NIOFileSystem docs link will work --- Sources/NIO/Docs.docc/index.md | 2 +- Sources/NIOFileSystem/Docs.docc/{NIOFileSystem.md => index.md} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename Sources/NIOFileSystem/Docs.docc/{NIOFileSystem.md => index.md} (100%) diff --git a/Sources/NIO/Docs.docc/index.md b/Sources/NIO/Docs.docc/index.md index f3f864855..90f318e0e 100644 --- a/Sources/NIO/Docs.docc/index.md +++ b/Sources/NIO/Docs.docc/index.md @@ -161,7 +161,7 @@ The core SwiftNIO repository will contain a few extremely important protocol imp [module-tls]: ./NIOTLS [module-websocket]: ./NIOWebSocket [module-test-utilities]: ./NIOTestUtils -[module-filesystem]: ./NIOFileSystem +[module-filesystem]: ./_NIOFileSystem [ch]: ./NIOCore/ChannelHandler [c]: ./NIOCore/Channel diff --git a/Sources/NIOFileSystem/Docs.docc/NIOFileSystem.md b/Sources/NIOFileSystem/Docs.docc/index.md similarity index 100% rename from Sources/NIOFileSystem/Docs.docc/NIOFileSystem.md rename to Sources/NIOFileSystem/Docs.docc/index.md