Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Apr 10, 2018
0 parents commit 6382d29
Show file tree
Hide file tree
Showing 63 changed files with 18,776 additions and 0 deletions.
Binary file added .index.rst.swp
Binary file not shown.
20 changes: 20 additions & 0 deletions Makefile
@@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXPROJ = JibiaDocs
SOURCEDIR = source
BUILDDIR = build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
Binary file added build/doctrees/contact.doctree
Binary file not shown.
Binary file added build/doctrees/environment.pickle
Binary file not shown.
Binary file added build/doctrees/examples.doctree
Binary file not shown.
Binary file added build/doctrees/index.doctree
Binary file not shown.
4 changes: 4 additions & 0 deletions build/html/.buildinfo
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 630383d5489e503b27d0434223d02f8d
tags: 645f666f9bcd5a90fca523b33c5a78b7
11 changes: 11 additions & 0 deletions build/html/_sources/contact.rst.txt
@@ -0,0 +1,11 @@
.. 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.
Contact
=======================================
If you have any questions you can send them to info@jibia.nl or join our Slack channel.



32 changes: 32 additions & 0 deletions build/html/_sources/examples.rst.txt
@@ -0,0 +1,32 @@
.. 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.
Examples
====================================

Javascript example
=====================
Here's an example in javascript of how to implement our API into your service:
::

window.onload = addevent;
function addevent () {
window.onmessage = function(event){
recom(event.data);
};
}
recom = (ident) => {
var req = new XMLHttpRequest();
req.open('POST', decodeURIComponent('http://146.185.174.192:80/api/recommend'), true);
var params = {"identifier": ident, "n" : NUMBER_OF_ITEMS, "product_id" : ID_OF_CURRENT_PRODUCT, "language": LANGUAGE};
req.setRequestHeader('Content-Type', 'application/json; charset=UTF-8');
req.send(JSON.stringify(params));
req.onreadystatechange = function () {
var ans = JSON.parse(req.responseText)['result']
document.getElementById('test').innerHTML = ans[0]['title'];
document.getElementById('img').src = ans[0]['img'];
}
}

20 changes: 20 additions & 0 deletions build/html/_sources/index.rst.txt
@@ -0,0 +1,20 @@
.. 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.
Welcome to Jibia's documentation!
======================================
This documentation's goal is to provide you with the necessary resources to implement
Jibia's technology into your website. If you haven't set up your account yet, you
can do that over at https://jibia.nl/business.

Contact
=======================================
If you have any questions you can send them to info@jibia.nl or join our Slack channel.

.. toctree::
:maxdepth: 2

examples
contact
Binary file added build/html/_static/ajax-loader.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6382d29

Please sign in to comment.