Skip to content

Commit

Permalink
attempt to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Apr 10, 2019
1 parent 027447b commit 84519ed
Show file tree
Hide file tree
Showing 17 changed files with 123 additions and 42 deletions.
Binary file modified build/.doctrees/environment.pickle
Binary file not shown.
Binary file modified build/.doctrees/index.doctree
Binary file not shown.
Binary file added build/.doctrees/jibia_search.doctree
Binary file not shown.
Binary file added build/.doctrees/recommendations.doctree
Binary file not shown.
Binary file modified build/.doctrees/search.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion build/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ If you have any questions you can send them to info@jibia.nl or join our Slack c
.. toctree::
:maxdepth: 2

search
jibia_search
contact
13 changes: 6 additions & 7 deletions source/search.rst → build/_sources/jibia_search.rst.txt
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,17 @@ the bottom of your html document. Insert your own jibia search token in the toke

::

<script src="js/jibia_search.js" token="YOUR TOKEN HERE"/>
<script src="js/jibia_search.js" token="YOUR TOKEN HERE"/>

The only thing left to do now is downloading jibia_search.js and adding this file to your js folder. Once this is done the
search bar should be up and running.

Besides the token parameter, several other parameters can be set in the script tag above. These are detailed below.

.. glossary::

styled:
This value can be set to true or false. If this is set to true the search results will use predefined style.
The parameter defaults to true.
styled
This value can be set to true or false. If this is set to true the search results will use predefined style. The parameter defaults to true.

result_classname:
This parameter can be set to define the class name for autocomplete suggestions. This parameter defaults to "search_result".
result_classname
This parameter can be set to define the class name for autocomplete suggestions. This parameter defaults to "search_result".
41 changes: 41 additions & 0 deletions build/_sources/recommendations.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
.. Jibia Docs documentation master file, created by
sphinx-quickstart on Tue Apr 10 20:35:52 2018.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Recommendations
====================================

Simple HTML Example
=============================
This javascript example shows how to implement jibia's search bar. The search bar should have 'searchbar' as its id like this:

::

<input type="name" id = "searchbar" class = "zoekbalk" name="Search" placeholder="Zoekbalk van Jibia"></input>
To show the autocomplete results you need an empty div under this input field.

::

<div id="data"></div>

This div will be filled with the search results. To finalize the implementation add the following script tag to
the bottom of your html document. Insert your own jibia search token in the token attribute:

::

<script src="js/jibia_search.js" token="YOUR TOKEN HERE"/>

The only thing left to do now is downloading jibia_search.js and adding this file to your js folder. Once this is done the
search bar should be up and running.

Besides the token parameter, several other parameters can be set in the script tag above. These are detailed below.

.. glossary::

styled
This value can be set to true or false. If this is set to true the search results will use predefined style. The parameter defaults to true.

result_classname
This parameter can be set to define the class name for autocomplete suggestions. This parameter defaults to "search_result".
13 changes: 6 additions & 7 deletions build/_sources/search.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,17 @@ the bottom of your html document. Insert your own jibia search token in the toke

::

<script src="js/jibia_search.js" token="YOUR TOKEN HERE"/>
<script src="js/jibia_search.js" token="YOUR TOKEN HERE"/>

The only thing left to do now is downloading jibia_search.js and adding this file to your js folder. Once this is done the
search bar should be up and running.

Besides the token parameter, several other parameters can be set in the script tag above. These are detailed below.

.. glossary::

styled:
This value can be set to true or false. If this is set to true the search results will use predefined style.
The parameter defaults to true.
styled
This value can be set to true or false. If this is set to true the search results will use predefined style. The parameter defaults to true.

result_classname:
This parameter can be set to define the class name for autocomplete suggestions. This parameter defaults to "search_result".
result_classname
This parameter can be set to define the class name for autocomplete suggestions. This parameter defaults to "search_result".
8 changes: 4 additions & 4 deletions build/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@


<ul>
<li class="toctree-l1"><a class="reference internal" href="search.html">Search</a></li>
<li class="toctree-l1"><a class="reference internal" href="search.html#simple-html-example">Simple HTML Example</a></li>
<li class="toctree-l1"><a class="reference internal" href="jibia_search.html">Search</a></li>
<li class="toctree-l1"><a class="reference internal" href="jibia_search.html#simple-html-example">Simple HTML Example</a></li>
<li class="toctree-l1"><a class="reference internal" href="contact.html">Contact</a></li>
</ul>

Expand Down Expand Up @@ -155,15 +155,15 @@ <h1 id="index">Index</h1>
<h2 id="R">R</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="search.html#term-result-classname"><strong>result_classname:</strong></a>
<li><a href="jibia_search.html#term-result-classname"><strong>result_classname</strong></a>
</li>
</ul></td>
</tr></table>

<h2 id="S">S</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="search.html#term-styled"><strong>styled:</strong></a>
<li><a href="jibia_search.html#term-styled"><strong>styled</strong></a>
</li>
</ul></td>
</tr></table>
Expand Down
12 changes: 6 additions & 6 deletions build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Search" href="search.html" />
<link rel="next" title="Search" href="jibia_search.html" />


<script src="_static/js/modernizr.min.js"></script>
Expand Down Expand Up @@ -79,8 +79,8 @@


<ul>
<li class="toctree-l1"><a class="reference internal" href="search.html">Search</a></li>
<li class="toctree-l1"><a class="reference internal" href="search.html#simple-html-example">Simple HTML Example</a></li>
<li class="toctree-l1"><a class="reference internal" href="jibia_search.html">Search</a></li>
<li class="toctree-l1"><a class="reference internal" href="jibia_search.html#simple-html-example">Simple HTML Example</a></li>
<li class="toctree-l1"><a class="reference internal" href="contact.html">Contact</a></li>
</ul>

Expand Down Expand Up @@ -157,8 +157,8 @@ <h1>Contact<a class="headerlink" href="#contact" title="Permalink to this headli
<p>If you have any questions you can send them to <a class="reference external" href="mailto:info&#37;&#52;&#48;jibia&#46;nl">info<span>&#64;</span>jibia<span>&#46;</span>nl</a> or join our Slack channel.</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="search.html">Search</a></li>
<li class="toctree-l1"><a class="reference internal" href="search.html#simple-html-example">Simple HTML Example</a></li>
<li class="toctree-l1"><a class="reference internal" href="jibia_search.html">Search</a></li>
<li class="toctree-l1"><a class="reference internal" href="jibia_search.html#simple-html-example">Simple HTML Example</a></li>
<li class="toctree-l1"><a class="reference internal" href="contact.html">Contact</a></li>
</ul>
</div>
Expand All @@ -172,7 +172,7 @@ <h1>Contact<a class="headerlink" href="#contact" title="Permalink to this headli

<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">

<a href="search.html" class="btn btn-neutral float-right" title="Search" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
<a href="jibia_search.html" class="btn btn-neutral float-right" title="Search" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>


</div>
Expand Down
25 changes: 13 additions & 12 deletions build/examples.html → build/jibia_search.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Examples &mdash; Jibia 0.0.1 documentation</title>
<title>Search &mdash; Jibia 0.0.1 documentation</title>



Expand All @@ -29,7 +29,7 @@
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Contact" href="contact.html" />
<link rel="next" title="Recommendations" href="recommendations.html" />
<link rel="prev" title="Welcome to Jibia’s documentation!" href="index.html" />


Expand Down Expand Up @@ -80,8 +80,10 @@


<ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="#">Examples</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Search</a></li>
<li class="toctree-l1"><a class="reference internal" href="#simple-html-example">Simple HTML Example</a></li>
<li class="toctree-l1"><a class="reference internal" href="recommendations.html">Recommendations</a></li>
<li class="toctree-l1"><a class="reference internal" href="recommendations.html#simple-html-example">Simple HTML Example</a></li>
<li class="toctree-l1"><a class="reference internal" href="contact.html">Contact</a></li>
</ul>

Expand Down Expand Up @@ -128,13 +130,13 @@

<li><a href="index.html">Docs</a> &raquo;</li>

<li>Examples</li>
<li>Search</li>


<li class="wy-breadcrumbs-aside">


<a href="_sources/examples.rst.txt" rel="nofollow"> View page source</a>
<a href="_sources/jibia_search.rst.txt" rel="nofollow"> View page source</a>


</li>
Expand All @@ -147,8 +149,8 @@
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">

<div class="section" id="examples">
<h1>Examples<a class="headerlink" href="#examples" title="Permalink to this headline"></a></h1>
<div class="section" id="search">
<h1>Search<a class="headerlink" href="#search" title="Permalink to this headline"></a></h1>
</div>
<div class="section" id="simple-html-example">
<h1>Simple HTML Example<a class="headerlink" href="#simple-html-example" title="Permalink to this headline"></a></h1>
Expand All @@ -169,10 +171,9 @@ <h1>Simple HTML Example<a class="headerlink" href="#simple-html-example" title="
search bar should be up and running.</p>
<p>Besides the token parameter, several other parameters can be set in the script tag above. These are detailed below.</p>
<dl class="glossary docutils">
<dt id="term-styled">styled:</dt>
<dd>This value can be set to true or false. If this is set to true the search results will use predefined style.
The parameter defaults to true.</dd>
<dt id="term-result-classname">result_classname:</dt>
<dt id="term-styled">styled</dt>
<dd>This value can be set to true or false. If this is set to true the search results will use predefined style. The parameter defaults to true.</dd>
<dt id="term-result-classname">result_classname</dt>
<dd>This parameter can be set to define the class name for autocomplete suggestions. This parameter defaults to “search_result”.</dd>
</dl>
</div>
Expand All @@ -185,7 +186,7 @@ <h1>Simple HTML Example<a class="headerlink" href="#simple-html-example" title="

<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">

<a href="contact.html" class="btn btn-neutral float-right" title="Contact" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
<a href="recommendations.html" class="btn btn-neutral float-right" title="Recommendations" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>


<a href="index.html" class="btn btn-neutral" title="Welcome to Jibia’s documentation!" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
Expand Down
Binary file modified build/objects.inv
Binary file not shown.
6 changes: 3 additions & 3 deletions build/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@



<ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="#">Search</a></li>
<li class="toctree-l1"><a class="reference internal" href="#simple-html-example">Simple HTML Example</a></li>
<ul>
<li class="toctree-l1"><a class="reference internal" href="jibia_search.html">Search</a></li>
<li class="toctree-l1"><a class="reference internal" href="jibia_search.html#simple-html-example">Simple HTML Example</a></li>
<li class="toctree-l1"><a class="reference internal" href="contact.html">Contact</a></li>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion build/searchindex.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ If you have any questions you can send them to info@jibia.nl or join our Slack c
.. toctree::
:maxdepth: 2

search
jibia_search
contact
41 changes: 41 additions & 0 deletions source/jibia_search.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
.. Jibia Docs documentation master file, created by
sphinx-quickstart on Tue Apr 10 20:35:52 2018.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Search
====================================

Simple HTML Example
=============================
This javascript example shows how to implement jibia's search bar. The search bar should have 'searchbar' as its id like this:

::

<input type="name" id = "searchbar" class = "zoekbalk" name="Search" placeholder="Zoekbalk van Jibia"></input>
To show the autocomplete results you need an empty div under this input field.

::

<div id="data"></div>

This div will be filled with the search results. To finalize the implementation add the following script tag to
the bottom of your html document. Insert your own jibia search token in the token attribute:

::

<script src="js/jibia_search.js" token="YOUR TOKEN HERE"/>

The only thing left to do now is downloading jibia_search.js and adding this file to your js folder. Once this is done the
search bar should be up and running.

Besides the token parameter, several other parameters can be set in the script tag above. These are detailed below.

.. glossary::

styled
This value can be set to true or false. If this is set to true the search results will use predefined style. The parameter defaults to true.

result_classname
This parameter can be set to define the class name for autocomplete suggestions. This parameter defaults to "search_result".

0 comments on commit 84519ed

Please sign in to comment.