You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All: Fix unexpected 'jquery.com' Algolia results on secondary sites
Such as https://learn.jquery.com, https://jquery.org.
This was previously applied to all sites by default, and only overridden
on `*.jqueryui` and `*.jquerymobile`, whereas it should be limited to
strictly jquery.com and api.jquery.com.
Copy file name to clipboardExpand all lines: sites.php
+56Lines changed: 56 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,10 @@ function jquery_sites() {
13
13
'xfn-rel-me' => array(
14
14
'https://social.lfx.dev/@jquery',
15
15
),
16
+
'algolia_docsearch' => array(
17
+
'apiKey' => '3cfde9aca378c8aab554d5bf1b23489b',
18
+
'indexName' => 'jquery',
19
+
),
16
20
'options' => array(
17
21
'blogname' => 'jQuery',
18
22
'description' => 'jQuery: The Write Less, Do More, JavaScript Library',
@@ -37,6 +41,10 @@ function jquery_sites() {
37
41
'cookie_domain' => '.jquery.com',
38
42
'body_class' => 'jquery',
39
43
'logo_link' => 'https://jquery.com/',
44
+
'algolia_docsearch' => array(
45
+
'apiKey' => '3cfde9aca378c8aab554d5bf1b23489b',
46
+
'indexName' => 'jquery',
47
+
),
40
48
'options' => array(
41
49
'blogname' => 'jQuery API Documentation',
42
50
'stylesheet' => 'api.jquery.com',
@@ -70,6 +78,10 @@ function jquery_sites() {
70
78
'blog_id' => 6,
71
79
'cookie_domain' => '.jqueryui.com',
72
80
'body_class' => 'jquery-ui',
81
+
'algolia_docsearch' => array(
82
+
'apiKey' => '2fce35e56784bbb48c78d105739190c2',
83
+
'indexName' => 'jqueryui',
84
+
),
73
85
'options' => array(
74
86
'blogname' => 'jQuery UI',
75
87
'description' => 'jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. Whether you\'re building highly interactive web applications or you just need to add a date picker to a form control, jQuery UI is the perfect choice.',
0 commit comments