[
https://issues.apache.org/jira/browse/CB-11104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248910#comment-15248910
]
ASF GitHub Bot commented on CB-11104:
-------------------------------------
Github user sarangan12 commented on a diff in the pull request:
https://github.com/apache/cordova-docs/pull/581#discussion_r60329685
--- Diff: www/_includes/algolia.html ---
@@ -0,0 +1,14 @@
+{% if page.version %}
+ {% assign version = page.version %}
+{% else %}
+ {% assign version = site.latest_docs_version %}
+{% endif %}
+
+<script type="text/javascript">
+ docsearch({
+ apiKey: '{{ site.algolia_api_key }}',
+ indexName: 'cordova',
+ inputSelector: '#header-search-field',
+ algoliaOptions: { 'facetFilters': ["version: {{ version }}",
"language: {{ language }}"] }
--- End diff --
Fixed
> Integrate Algolia Search to cordova docs
> ----------------------------------------
>
> Key: CB-11104
> URL: https://issues.apache.org/jira/browse/CB-11104
> Project: Apache Cordova
> Issue Type: Task
> Components: Docs
> Reporter: Sarangan Rajamanickam
> Assignee: Sarangan Rajamanickam
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]