cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-11104) Integrate Algolia Search to cordova docs
Date Tue, 19 Apr 2016 23:16:25 GMT

    [ https://issues.apache.org/jira/browse/CB-11104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248887#comment-15248887
] 

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_r60328530
  
    --- Diff: www/_layouts/base.html ---
    @@ -3,12 +3,27 @@
     ---
     
     <!DOCTYPE html>
    -<html lang="{% if page.language %}{{ page.language }}{% else %}{{ site.language }}{%
endif %}">
    +{% if page.language %}
    +    {% assign language = page.language %}
    +{% else %}
    +    {% assign language = site.language %}
    +{% endif %}
    +
    +<html lang="{{ language }}">
     {% include head.html %}
     <body>
         {{ content }}
         {% include analytics.html %}
         <script defer type="text/javascript" src="{{ site.baseurl }}/static/js/index.js"></script>
         <script defer type="text/javascript" src="{{ site.baseurl }}/static/js/twitter.js"></script>
    +    <script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script>
    +	<script type="text/javascript">
    +		docsearch({
    +		    apiKey: '0a916ab198bd93d031aa70611271e42e',
    +		    indexName: 'cordova',
    +		    inputSelector: '#header-search-field',
    +		    algoliaOptions: { 'facetFilters': [ "version:6.x","language: {{ language }}" ]
}
    --- End diff --
    
    Done


> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message