Skip to content

Commit e3abcec

Browse files
committed
plugins.jquery.com: Remove unused theme
Ref jquery/infrastructure-puppet#29 (comment)
1 parent 97383a5 commit e3abcec

15 files changed

+11
-1062
lines changed

INSTALL.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Check `httpd.conf` to ensure that the PHP module is enabled as well.
4848
You do not need to configure your `/etc/hosts` file for `local.*` because `jquery.com`'s DNS handles this for you. However, if you plan to work offline, you can use the following rules:
4949

5050
```
51-
127.0.0.1 local.jquery.com local.api.jquery.com local.blog.jquery.com local.releases.jquery.com local.learn.jquery.com local.plugins.jquery.com
51+
127.0.0.1 local.jquery.com local.api.jquery.com local.blog.jquery.com local.releases.jquery.com local.learn.jquery.com
5252
127.0.0.1 local.jqueryui.com local.api.jqueryui.com local.blog.jqueryui.com
5353
127.0.0.1 local.jquerymobile.com local.api.jquerymobile.com local.blog.jquerymobile.com
5454
127.0.0.1 local.jquery.org local.brand.jquery.org local.contribute.jquery.org local.meetings.jquery.org

plugins/jquery-plugins-site.php

-134
This file was deleted.

responsive.html

+9-9
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,29 @@
99
.frame { float: left; }
1010
h2 { margin: 0 0 5px 0; }
1111
iframe { margin: 0 20px 20px 0; border: 1px solid #666; }
12-
</style>
12+
</style>
1313
</head>
1414
<body>
1515
<div class="wrapper">
1616
<div class="frame">
1717
<h2>320 &times; 480 <small>(mobile)</small></h2>
18-
<iframe src="https://stage.plugins.jquery.com/foo/" sandbox="allow-same-origin allow-forms" seamless width="320" height="480"></iframe>
18+
<iframe src="https://stage.api.jquery.com/foo/" sandbox="allow-same-origin allow-forms" seamless width="320" height="480"></iframe>
1919
</div>
2020
<div class="frame">
21-
<h2>480 &times; 640 <small>(small tablet)</small></h2>
22-
<iframe src="https://stage.plugins.jquery.com/foo/" sandbox="allow-same-origin allow-forms" seamless width="480" height="640"></iframe>
23-
</div>
21+
<h2>480 &times; 640 <small>(small tablet)</small></h2>
22+
<iframe src="https://stage.api.jquery.com/foo/" sandbox="allow-same-origin allow-forms" seamless width="480" height="640"></iframe>
23+
</div>
2424
<div class="frame">
25-
<h2>768 &times; 1024 <small>(tablet - portrait)</small></h2>
26-
<iframe src="https://stage.plugins.jquery.com/foo/" sandbox="allow-same-origin allow-forms" seamless width="768" height="1024"></iframe>
25+
<h2>768 &times; 1024 <small>(tablet - portrait)</small></h2>
26+
<iframe src="https://stage.api.jquery.com/foo/" sandbox="allow-same-origin allow-forms" seamless width="768" height="1024"></iframe>
2727
</div>
2828
<div class="frame">
2929
<h2>1024 &times; 768 <small>(tablet - landscape)</small></h2>
30-
<iframe src="https://stage.plugins.jquery.com/foo/" sandbox="allow-same-origin allow-forms" seamless width="1024" height="768"></iframe>
30+
<iframe src="https://stage.api.jquery.com/foo/" sandbox="allow-same-origin allow-forms" seamless width="1024" height="768"></iframe>
3131
</div>
3232
<div class="frame">
3333
<h2>1200 &times; 800 <small>(desktop)</small></h2>
34-
<iframe src="https://stage.plugins.jquery.com/foo/" sandbox="allow-same-origin allow-forms" seamless width="1200" height="800"></iframe>
34+
<iframe src="https://stage.api.jquery.com/foo/" sandbox="allow-same-origin allow-forms" seamless width="1200" height="800"></iframe>
3535
</div>
3636
</div>
3737
</body>

sites.php

+1-12
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,7 @@ function jquery_sites() {
4747
'jquery_typesense_collection' => 'jquery_com',
4848
),
4949
),
50-
'plugins.jquery.com' => array(
51-
'blog_id' => 4,
52-
'cookie_domain' => '.jquery.com',
53-
'options' => array(
54-
'blogname' => 'jQuery Plugin Registry',
55-
'stylesheet' => 'plugins.jquery.com',
56-
'active_plugins' => array(
57-
'jquery-plugins-site.php',
58-
),
59-
'jquery_body_class' => 'jquery',
60-
),
61-
),
50+
# Historical: Database blog_id 4 is reserved for plugins.jquery.com
6251
'learn.jquery.com' => array(
6352
'blog_id' => 5,
6453
'cookie_domain' => '.jquery.com',

themes/jquery/menu-header.php

-8
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ function menu_header_jquery_com() {
1616
);
1717
}
1818

19-
function menu_header_plugins_jquery_com() {
20-
return array(
21-
// 'https://plugins.jquery.com/docs/names/' => 'Naming Your Plugin',
22-
// 'https://plugins.jquery.com/docs/publish/' => 'Publishing Your Plugin',
23-
// 'https://plugins.jquery.com/docs/package-manifest/' => 'Package Manifest',
24-
);
25-
}
26-
2719
function menu_header_learn_jquery_com() {
2820
return array(
2921
'https://learn.jquery.com' => 'Home',

themes/plugins.jquery.com/content-jquery_plugin.php

-37
This file was deleted.

themes/plugins.jquery.com/content-listing.php

-26
This file was deleted.

0 commit comments

Comments
 (0)