Commit 96f1e71
committed
Remove dependency on Swift-NIO SSL
This removes Swift-DocC's dependency on Swift-NIO SSL.
The removal is motivated by Swift-NIO SSL deprecating support for CentOS 7 due
to BoringSSL removing support for CentOS 7.
The Swift-NIO SSL dependency is currently used to support running a
documentation preview server over HTTPS which allows users to preview content
on a secondary device while authoring it on a primary device since
many OS's won't allow accessing non-local content over HTTP.
With the introduction of `--transform-for-static-hosting` and the subsequent
enabling of that feature by default, there's less need for Swift-DocC to ship
a solution for this niche feature out-of-the-box since standard command-line
based preview servers now support serving DocC archives with minimal additional
configuration.
Resolves rdar://93197483.1 parent 83c230f commit 96f1e71
File tree
14 files changed
+34
-644
lines changed- Sources/SwiftDocCUtilities
- Action/Actions
- ArgumentParsing
- ActionExtensions
- ArgumentValidation
- Options
- PreviewServer
- Tests/SwiftDocCUtilitiesTests
- ArgumentParsing
- PreviewServer
14 files changed
+34
-644
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 34 | | |
44 | 35 | | |
45 | 36 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
| |||
115 | 114 | | |
116 | 115 | | |
117 | 116 | | |
118 | | - | |
119 | 117 | | |
120 | 118 | | |
121 | 119 | | |
| |||
133 | 131 | | |
134 | 132 | | |
135 | 133 | | |
136 | | - | |
137 | 134 | | |
138 | 135 | | |
139 | 136 | | |
| |||
Lines changed: 22 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 55 | | |
60 | 56 | | |
61 | 57 | | |
62 | 58 | | |
63 | 59 | | |
64 | 60 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 61 | | |
69 | 62 | | |
70 | 63 | | |
| |||
80 | 73 | | |
81 | 74 | | |
82 | 75 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 76 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | 77 | | |
93 | 78 | | |
94 | 79 | | |
| |||
98 | 83 | | |
99 | 84 | | |
100 | 85 | | |
101 | | - | |
102 | | - | |
| 86 | + | |
103 | 87 | | |
104 | 88 | | |
105 | 89 | | |
| |||
110 | 94 | | |
111 | 95 | | |
112 | 96 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | 97 | | |
118 | 98 | | |
119 | 99 | | |
| |||
123 | 103 | | |
124 | 104 | | |
125 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
126 | 124 | | |
127 | 125 | | |
128 | 126 | | |
| |||
164 | 162 | | |
165 | 163 | | |
166 | 164 | | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
| 165 | + | |
| 166 | + | |
177 | 167 | | |
178 | 168 | | |
179 | 169 | | |
180 | | - | |
| 170 | + | |
181 | 171 | | |
182 | 172 | | |
183 | 173 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 26 | | |
31 | 27 | | |
32 | 28 | | |
| |||
Lines changed: 0 additions & 74 deletions
This file was deleted.
Lines changed: 0 additions & 127 deletions
This file was deleted.
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 38 | | |
51 | 39 | | |
52 | 40 | | |
| |||
0 commit comments