Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhifan huang
slapos
Commits
74aaf5d8
Commit
74aaf5d8
authored
Dec 12, 2017
by
Sebastian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ipython_notebook: Add wip erp5 hateoas configuration
parent
007120de
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
software/ipython_notebook/software.cfg
software/ipython_notebook/software.cfg
+8
-1
software/ipython_notebook/template/ipython_notebook_config.py.jinja
...python_notebook/template/ipython_notebook_config.py.jinja
+1
-1
software/ipython_notebook/template/jiocontents_erp5_config.js.jinja
...python_notebook/template/jiocontents_erp5_config.js.jinja
+1
-0
No files found.
software/ipython_notebook/software.cfg
View file @
74aaf5d8
...
...
@@ -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]
...
...
software/ipython_notebook/template/ipython_notebook_config.py.jinja
View file @
74aaf5d8
...
...
@@ -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
...
...
software/ipython_notebook/template/jiocontents_erp5_config.js.jinja
0 → 100644
View file @
74aaf5d8
_erp5_hateoas_url = {{erp5_url}}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment