This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-website.git
The following commit(s) were added to refs/heads/master by this push:
new 93859be feat: algolia docSearch #226 (#241)
93859be is described below
commit 93859bebfcf5565f02f9d38c83f3fba19e1eff9f
Author: qier222 <[email protected]>
AuthorDate: Thu Mar 4 18:24:53 2021 +0800
feat: algolia docSearch #226 (#241)
---
website/docusaurus.config.js | 5 +++--
website/src/css/customTheme.css | 2 +-
website/src/pages/index.js | 2 +-
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index b013c8a..e910c21 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -300,8 +300,9 @@ module.exports = {
"Copyright © 2019-2021 The Apache Software Foundation. Apache APISIX,
APISIX™, Apache, the Apache feather logo, and the Apache APISIX project logo
are either registered trademarks or trademarks of the Apache Software
Foundation.",
},
algolia: {
- apiKey: "ad95c83c2872f173de8bcc4a0351c5c2",
- indexName: "apache-apisix-website",
+ apiKey: "287206c9872faf0e77b7c5228d4c3789",
+ indexName: "apache_apisix",
+ contextualSearch: true,
},
colorMode: {
disableSwitch: true,
diff --git a/website/src/css/customTheme.css b/website/src/css/customTheme.css
index c080bfb..21af8fa 100644
--- a/website/src/css/customTheme.css
+++ b/website/src/css/customTheme.css
@@ -85,7 +85,7 @@ header h2 {
font-weight: 800;
color: #101827;
}
-@media only screen and (min-device-width: 375px) and (max-device-width: 736px)
{
+@media only screen and (min-device-width: 376px) and (max-device-width: 736px)
{
.home-splash .title {
font-size: 3.52rem;
}
diff --git a/website/src/pages/index.js b/website/src/pages/index.js
index 8eb2de7..dc8eee6 100644
--- a/website/src/pages/index.js
+++ b/website/src/pages/index.js
@@ -134,7 +134,7 @@ const Showcase = () => {
<p>
This project is used by all these folks
<br />
- Are you using this project?
+ Are you using this project?
<a
href="https://github.com/apache/apisix/blob/master/docs/en/latest/powered-by.md"
target="_blank"