From c08c10bcf40c8448045f5ff509eb58d1ae76f523 Mon Sep 17 00:00:00 2001 From: JP Simard Date: Tue, 23 Apr 2019 02:21:41 -0700 Subject: [PATCH] Add 'Show on GitHub' link to API docs (#977) * Add 'Show on GitHub' link to API docs Addresses #955 * Remove trailing slash (cherry picked from commit f6692f5c3765885843663ecb68bfcb3239968edc) --- scripts/generate_docs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/generate_docs.sh b/scripts/generate_docs.sh index 8055c968a..39f07f063 100755 --- a/scripts/generate_docs.sh +++ b/scripts/generate_docs.sh @@ -58,6 +58,7 @@ jazzy_args=(--clean --author_url https://github.com/apple/swift-nio --github_url https://github.com/apple/swift-nio --theme fullwidth + --github-file-prefix https://github.com/apple/swift-nio/tree/$version --xcodebuild-arguments -scheme,swift-nio-Package) cat > "$module_switcher" <<"EOF" # SwiftNIO Docs