Skip to content

Commit

Permalink
All: Remove theme support for qunitjs.com and api.qunitjs.com
Browse files Browse the repository at this point in the history
Keep a note of the blog_id because this will still exist on the
actual servers for a while and thus must not be re-used for something
else.

Ref qunitjs/qunitjs.com#151.
Ref jquery/infrastructure#456.
  • Loading branch information
Krinkle committed Aug 22, 2021
1 parent dbf338a commit f594b19
Show file tree
Hide file tree
Showing 22 changed files with 5 additions and 207 deletions.
3 changes: 1 addition & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This install guide assumes you have certain prerequisites already configured wit
```
<VirtualHost *:80>
ServerName local.jquery.com
ServerAlias *.jquery.com *.jqueryui.com *.jquery.org *.qunitjs.com *.sizzlejs.com *.jquerymobile.com
ServerAlias *.jquery.com *.jqueryui.com *.jquery.org *.sizzlejs.com *.jquerymobile.com
DocumentRoot "/srv/www/jquery"
php_value memory_limit 256M
<Directory /srv/www/jquery>
Expand Down Expand Up @@ -52,7 +52,6 @@ You do not need to configure your `/etc/hosts` file for `local.*` because `jquer
127.0.0.1 local.jqueryui.com local.api.jqueryui.com local.blog.jqueryui.com
127.0.0.1 local.jquerymobile.com local.api.jquerymobile.com local.blog.jquerymobile.com
127.0.0.1 local.jquery.org local.brand.jquery.org local.contribute.jquery.org local.events.jquery.org local.irc.jquery.org local.meetings.jquery.org
127.0.0.1 local.qunitjs.com local.api.qunitjs.com
127.0.0.1 local.sizzlejs.com
```

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ You do not need to configure your `/etc/hosts` file for `vagrant.*` because `jqu
172.27.72.27 vagrant.jqueryui.com vagrant.api.jqueryui.com vagrant.blog.jqueryui.com
172.27.72.27 vagrant.jquerymobile.com vagrant.api.jquerymobile.com vagrant.blog.jquerymobile.com
172.27.72.27 vagrant.jquery.org vagrant.brand.jquery.org vagrant.contribute.jquery.org vagrant.events.jquery.org vagrant.irc.jquery.org vagrant.meetings.jquery.org
172.27.72.27 vagrant.qunitjs.com vagrant.api.qunitjs.com
172.27.72.27 vagrant.sizzlejs.com
```

Expand Down
28 changes: 2 additions & 26 deletions sites.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,19 +129,7 @@ function jquery_sites() {
),
),
),
'qunitjs.com' => array(
'blog_id' => 10,
'cookie_domain' => '.qunitjs.com',
'body_class' => 'qunitjs',
'options' => array(
'blogname' => 'QUnit',
'description' => 'QUnit: A JavaScript Unit Testing framework.',
'stylesheet' => 'qunitjs.com',
'active_plugins' => array(
'jquery-static-index.php',
),
),
),
# Historical: Database blog_id 10 is reserved for qunitjs.com.
'sizzlejs.com' => array(
'blog_id' => 11,
'cookie_domain' => '.sizzlejs.com',
Expand Down Expand Up @@ -178,19 +166,7 @@ function jquery_sites() {
'active_plugins' => array(),
),
),
'api.qunitjs.com' => array(
'blog_id' => 14,
'cookie_domain' => '.qunitjs.com',
'body_class' => 'qunitjs',
'logo_link' => 'https://qunitjs.com/',
'options' => array(
'blogname' => 'QUnit API Documentation',
'stylesheet' => 'api.qunitjs.com',
'active_plugins' => array(
'jquery-static-index.php',
),
),
),
# Historical: Database blog_id 14 is reserved for api.qunitjs.com.
'books.jquery.com' => array(
'blog_id' => 15,
'cookie_domain' => '.jquery.com',
Expand Down
1 change: 0 additions & 1 deletion themes/api.qunitjs.com/content-listing.php

This file was deleted.

1 change: 0 additions & 1 deletion themes/api.qunitjs.com/footer.php

This file was deleted.

Binary file removed themes/api.qunitjs.com/i/favicon.ico
Binary file not shown.
8 changes: 0 additions & 8 deletions themes/api.qunitjs.com/single.php

This file was deleted.

12 changes: 0 additions & 12 deletions themes/api.qunitjs.com/style.css

This file was deleted.

Binary file not shown.
Binary file removed themes/jquery/content/books/qunit-tddjs.png
Binary file not shown.
Binary file not shown.
48 changes: 2 additions & 46 deletions themes/jquery/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -1236,10 +1236,6 @@ iframe {
background: #9a1B1E;
}

.qunitjs #container {
background: #390f39;
}

.jquery-foundation #container {
background: #333;
}
Expand All @@ -1259,12 +1255,10 @@ iframe {

.jquery-ui #content-wrapper,
.sizzlejs #content-wrapper,
.qunitjs #content-wrapper,
.jquery-learn #content-wrapper,
.jquery-foundation #content-wrapper,
.jquery-ui #banner-secondary,
.sizzlejs #banner-secondary,
.qunitjs #banner-secondary,
.jquery-learn #banner-secondary,
.jquery-foundation #banner-secondary {
border-top-left-radius: 0;
Expand Down Expand Up @@ -1535,28 +1529,12 @@ iframe {
border: none;
}

.sizzlejs #global-nav nav ul.projects li.qunitjs{
.sizzlejs #global-nav nav ul.projects li.qunitjs {
border-left: none;
background-position: -206px 0;
}


.qunitjs #global-nav nav ul.projects li.sizzlejs {
border-right: none;
}

.qunitjs #global-nav nav ul.projects li.qunitjs {
background-position: -202px bottom;
width: 52px;
position: relative;
margin-top:1px;
border: none;
}

.qunitjs #global-nav nav ul.projects {
border-right: none;
}

#container,
footer {
border-top: 1px solid #7acef4;
Expand All @@ -1577,11 +1555,6 @@ footer {
border-top-color: #faa523;
}

.qunitjs #container,
.qunitjs footer {
border-top-color: #9c3493;
}

.jquery-learn #container,
.jquery-learn footer {
border-top-color: #333;
Expand Down Expand Up @@ -1647,11 +1620,6 @@ h2.logo a {
background: url(../images/logo-sizzle.png) no-repeat;
}

.qunitjs h2.logo a {
width: 243px;
background: url(../images/logo-qunit.png) no-repeat;
}

.jquery-foundation h2.logo a {
width: 243px;
background: url(../images/logo-jquery-foundation.png) no-repeat;
Expand Down Expand Up @@ -1687,10 +1655,6 @@ h2.logo a {
width: 122px;
background-position: -442px 0;
}
.qunitjs.logo.small {
width: 105px;
background-position: -564px 0;
}
.sizzlejs.logo.small {
width: 105px;
background-position: -669px 0;
Expand All @@ -1713,9 +1677,6 @@ nav#main {
.sizzlejs nav#main {
background-color: rgba(12, 12, 12, 0.06);
}
.qunitjs nav#main {
background-color: rgba(156, 52, 147, 0.5);
}
.jquery-learn nav#main {
background-color: rgba(0, 0, 0, 0.4);
}
Expand Down Expand Up @@ -3178,17 +3139,12 @@ footer .books li a cite {
background-size: 243px 66px;
}

.qunitjs h2.logo a {
background: url(../images/logo-qunit@2x.png) no-repeat;
background-size: 243px 66px;
}

.jquery-foundation h2.logo a {
background: url(../images/logo-jquery-foundation@2x.png) no-repeat;
background-size: 243px 66px;
}

.jquery-events.jquery-foundation h2.logo a {
.jquery-events.jquery-foundation h2.logo a {
background: url(../images/logo-jquery-events@2x.png) no-repeat;
background-size: 243px 66px;
}
Expand Down
4 changes: 0 additions & 4 deletions themes/jquery/footer-bottom.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@
$links[ 'Forum' ][ 'url' ] = 'https://forum.jquery.com/jquery-mobile/';
$links[ 'Twitter' ][ 'url' ] = 'https://twitter.com/jquerymobile';
break;
case 'qunitjs':
$links[ 'Forum' ][ 'url' ] = 'https://forum.jquery.com/qunit-and-testing/';
$links[ 'Twitter' ][ 'url' ] = 'https://twitter.com/qunitjs';
break;
}
?>

Expand Down
47 changes: 0 additions & 47 deletions themes/jquery/footer-qunit.php

This file was deleted.

Binary file removed themes/jquery/images/global-nav-logo-qunit.png
Binary file not shown.
Binary file removed themes/jquery/images/logo-qunit.png
Binary file not shown.
Binary file removed themes/jquery/images/logo-qunit@2x.png
Binary file not shown.
12 changes: 0 additions & 12 deletions themes/jquery/menu-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,6 @@ function menu_header_releases_jquery_com() {
);
}

function menu_header_qunitjs_com() {
return array(
'https://qunitjs.com/' => 'Home',
'https://qunitjs.com/intro/' => 'Intro to Unit Testing',
'https://api.qunitjs.com/' => 'API Documentation',
'https://qunitjs.com/cookbook/' => 'Cookbook',
'https://qunitjs.com/plugins/' => 'Plugins',
'https://qunitjs.com/upgrade-guide-2.x/' => '2.x Upgrade Guide',
'https://qunitjs.com/about/' => 'About'
);
}

function menu_header_jquerymobile_com() {
return array(
'https://jquerymobile.com/demos/' => 'Demos',
Expand Down
1 change: 0 additions & 1 deletion themes/qunitjs.com/footer.php

This file was deleted.

Binary file removed themes/qunitjs.com/i/favicon.ico
Binary file not shown.
16 changes: 0 additions & 16 deletions themes/qunitjs.com/page.php

This file was deleted.

30 changes: 0 additions & 30 deletions themes/qunitjs.com/style.css

This file was deleted.

0 comments on commit f594b19

Please sign in to comment.