Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit add500f

Browse files
remote resource URLs
1 parent 969f8f1 commit add500f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎Sources/swift-doc/Subcommands/Generate.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ extension SwiftDoc {
119119
if case .html = format {
120120
let cssData = try fetchRemoteCSS()
121121
let jsData = try fetchRemoteJS()
122-
// print("jsData \(jsData.strin)")
123122
let cssURL = outputDirectoryURL.appendingPathComponent("all.css")
124123
try writeFile(cssData, to: cssURL)
125124
let jsURL = outputDirectoryURL.appendingPathComponent("all.js")
@@ -134,11 +133,11 @@ extension SwiftDoc {
134133
}
135134

136135
func fetchRemoteCSS() throws -> Data {
137-
let url = URL(string: "https://raw.githubusercontent.com/literalpie/swift-doc/9fe829b46564c9a41eac95a47918c24dca7a00a1/Resources/all.min.css")!
136+
let url = URL(string: "https://raw.githubusercontent.com/literalpie/swift-doc/5165f782d33d437f7bccf3c2fa5f89b039134f73/Resources/all.min.css")!
138137
return try Data(contentsOf: url)
139138
}
140139

141140
func fetchRemoteJS() throws -> Data {
142-
let url = URL(string: "https://raw.githubusercontent.com/literalpie/swift-doc/9fe829b46564c9a41eac95a47918c24dca7a00a1/Resources/all.js")!
141+
let url = URL(string: "https://raw.githubusercontent.com/literalpie/swift-doc/5165f782d33d437f7bccf3c2fa5f89b039134f73/Resources/all.js")!
143142
return try Data(contentsOf: url)
144143
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /