You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by wa...@apache.org on 2020/04/22 14:15:57 UTC
[singa-doc] branch master updated: fix algolia docsearch version
language param
This is an automated email from the ASF dual-hosted git repository.
wangwei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/singa-doc.git
The following commit(s) were added to refs/heads/master by this push:
new 36ea8fd fix algolia docsearch version language param
new 194f80c Merge pull request #23 from FeynmanDNA/master
36ea8fd is described below
commit 36ea8fd13f61981e954a075f46a1d8ea79721881
Author: FeynmanDNA <26...@users.noreply.github.com>
AuthorDate: Tue Apr 21 18:22:27 2020 +0800
fix algolia docsearch version language param
---
docs-site/website/siteConfig.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/docs-site/website/siteConfig.js b/docs-site/website/siteConfig.js
index 68c7757..ca717c5 100644
--- a/docs-site/website/siteConfig.js
+++ b/docs-site/website/siteConfig.js
@@ -89,7 +89,9 @@ const siteConfig = {
indexName: "apache_singa",
algoliaOptions: {
// different search results for the different versions or languages
- facetFilters: ["language:LANGUAGE", "version:VERSION"],
+ // algoliaOptions: { 'facetFilters': ["version:$VERSION", "language:$LANGUAGE"] },
+ // So as of Apr 2020 Versions crawled by algolia: 2.0.0, 3.0.0, next
+ facetFilters: ["language:en", "version:3.0.0"],
},
},