File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 225225 });
226226
227227 $ container ['document.finder ' ] = $ container ->protect (function ($ path ) {
228+ // Legacy components redirect via static-files/ instead of rendering their docs
228229 return (new Symfony \Component \Finder \Finder ())
229230 ->name ('/\.md$/ ' )
230231 ->name ('LICENSE ' )
231232 ->files ()
233+ ->exclude (['http-client ' , 'socket-client ' ])
232234 ->in ($ path . '/tmp/components ' )
233235 ->in ($ path . '/pages ' );
234236 });
Original file line number Diff line number Diff line change 6161 'repository ' => 'reactphp/promise-stream ' ,
6262 'category ' => 'Utility Components '
6363 ],
64+ // Legacy components are only kept to list their releases in the changelog
6465 [
6566 'title ' => 'HttpClient ' ,
6667 'repository ' => 'reactphp/http-client ' ,
Original file line number Diff line number Diff line change @@ -97,6 +97,10 @@ function components_by_category(array $components): array
9797 $ byCategory = [];
9898
9999 foreach ($ components as $ component ) {
100+ if ('Legacy Components ' === $ component ['category ' ]) {
101+ continue ;
102+ }
103+
100104 if (!isset ($ byCategory [$ component ['category ' ]])) {
101105 $ byCategory [$ component ['category ' ]] = [];
102106 }
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < title > HttpClient: Changelog - ReactPHP</ title >
6+ < meta http-equiv ="refresh " content ="0; url=../changelog.html#http-100-2020-07-11 ">
7+ </ head >
8+ < body >
9+ < p > HttpClient has been migrated over to the HTTP component, see the < a href ="../changelog.html#http-100-2020-07-11 "> combined changelog</ a > .</ p >
10+ </ body >
11+ </ html >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < title > HttpClient - ReactPHP</ title >
6+ < meta http-equiv ="refresh " content ="0; url=../http/#client-usage ">
7+ </ head >
8+ < body >
9+ < p > HttpClient has been migrated over to the < a href ="../http/#client-usage "> HTTP component</ a > .</ p >
10+ </ body >
11+ </ html >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < title > HttpClient: License - ReactPHP</ title >
6+ < meta http-equiv ="refresh " content ="0; url=../http/license.html ">
7+ </ head >
8+ < body >
9+ < p > HttpClient has been migrated over to the HTTP component, see its < a href ="../http/license.html "> license</ a > .</ p >
10+ </ body >
11+ </ html >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < title > SocketClient: Changelog - ReactPHP</ title >
6+ < meta http-equiv ="refresh " content ="0; url=../changelog.html#socket-070-2017-04-10 ">
7+ </ head >
8+ < body >
9+ < p > SocketClient has been merged into the Socket component, see the < a href ="../changelog.html#socket-070-2017-04-10 "> combined changelog</ a > .</ p >
10+ </ body >
11+ </ html >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < title > SocketClient - ReactPHP</ title >
6+ < meta http-equiv ="refresh " content ="0; url=../socket/#client-usage ">
7+ </ head >
8+ < body >
9+ < p > SocketClient has been merged into the < a href ="../socket/#client-usage "> Socket component</ a > .</ p >
10+ </ body >
11+ </ html >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < title > SocketClient: License - ReactPHP</ title >
6+ < meta http-equiv ="refresh " content ="0; url=../socket/license.html ">
7+ </ head >
8+ < body >
9+ < p > SocketClient has been merged into the Socket component, see its < a href ="../socket/license.html "> license</ a > .</ p >
10+ </ body >
11+ </ html >
You can’t perform that action at this time.
0 commit comments