Commit 74aaf5d8 authored by Sebastian's avatar Sebastian

ipython_notebook: Add wip erp5 hateoas configuration

parent 007120de
......@@ -39,7 +39,7 @@ mode = 0644
[ipython-notebook-config]
<= download-file-base
filename = ipython_notebook_config.py.jinja
md5sum = 66b547e099cd280c7e51e3e8c17e72e2
md5sum = 15d558faf45df2161e4b437d379765c8
[ipython-notebook-set-password]
<= download-file-base
......@@ -61,6 +61,11 @@ md5sum = ab6e78ea20855e07d388b5b86d1770fe
filename = custom.js.jinja
md5sum = 13561a9d86c488be752795e7bc23474a
[jiocontents-config]
<= download-file-base
filename = jiocontents_erp5_config.js.jinja
md5sum = 76943099403d2f98b981ea1757a00942
[jiocontents-nbextension]
recipe = slapos.recipe.build:gitclone
git-executable = ${git:location}/bin/git
......@@ -92,6 +97,8 @@ context =
key custom_js_filename custom-js:filename
key monitor_template_rendered buildout:directory
# JIOCONTENTS-NBEXTENSION
key jiocontents_config_location jiocontents-config:location
key jiocontents_config_filename jiocontents-config:filename
key jiocontents_nbextension_location jiocontents-nbextension:location
[versions]
......
......@@ -51,7 +51,7 @@ class ClientSideContentsManager(ContentsManager):
def get(self, path, content=True, type=None, format=None):
return {'type':'notebook'}
c.NotebookApp.tornado_settings = {'contents_js_source': 'nbextensions/jiocontents/jiocontents'}
c.NotebookApp.tornado_settings = {'contents_js_source': 'nbextensions/jiocontents/src/jiocontents'}
c.NotebookApp.contents_manager_class = ClientSideContentsManager
#
# END JIO CONTENTS MANAGER
......
_erp5_hateoas_url = {{erp5_url}}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment