##// END OF EJS Templates
Merge pull request #5089 from rgbkrk/azure_out...
Min RK -
r15361:dd7a5af0 merge
parent child Browse files
Show More
@@ -0,0 +1,1 b''
1 * The Azure notebook manager was removed as it was no longer compatible with the notebook storage scheme
@@ -146,7 +146,6 b" have['cython'] = test_for('Cython')"
146 have['oct2py'] = test_for('oct2py')
146 have['oct2py'] = test_for('oct2py')
147 have['tornado'] = test_for('tornado.version_info', (3,1,0), callback=None)
147 have['tornado'] = test_for('tornado.version_info', (3,1,0), callback=None)
148 have['jinja2'] = test_for('jinja2')
148 have['jinja2'] = test_for('jinja2')
149 have['azure'] = test_for('azure')
150 have['requests'] = test_for('requests')
149 have['requests'] = test_for('requests')
151 have['sphinx'] = test_for('sphinx')
150 have['sphinx'] = test_for('sphinx')
152 have['casperjs'] = is_cmd_found('casperjs')
151 have['casperjs'] = is_cmd_found('casperjs')
@@ -278,8 +277,6 b" sec.exclude('static')"
278 sec.exclude('fabfile')
277 sec.exclude('fabfile')
279 if not have['jinja2']:
278 if not have['jinja2']:
280 sec.exclude('notebookapp')
279 sec.exclude('notebookapp')
281 if not have['azure']:
282 sec.exclude('services.notebooks.azurenbmanager')
283 if not have['pygments'] or not have['jinja2']:
280 if not have['pygments'] or not have['jinja2']:
284 sec.exclude('nbconvert')
281 sec.exclude('nbconvert')
285
282
@@ -35,13 +35,6 b" if __name__ == '__main__':"
35 r'\.utils\.py3compat',
35 r'\.utils\.py3compat',
36 ]
36 ]
37
37
38 # We're rarely working on machines with the Azure SDK installed, so we
39 # skip the module that needs it in that case.
40 try:
41 import azure # analysis:ignore
42 except ImportError:
43 docwriter.module_skip_patterns.append(r'\.html\.services\.notebooks\.azurenbmanager')
44
45 # Now, generate the outputs
38 # Now, generate the outputs
46 docwriter.write_api_docs(outdir)
39 docwriter.write_api_docs(outdir)
47 # Write index with .txt extension - we can include it, but Sphinx won't try
40 # Write index with .txt extension - we can include it, but Sphinx won't try
@@ -135,20 +135,17 b' files in the working directory of the notebook server, also known as the'
135 use a different notebook manager class, which can
135 use a different notebook manager class, which can
136 store the notebooks in a different format.
136 store the notebooks in a different format.
137
137
138 Currently, we ship a :class:`AzureNotebookManager` class that stores notebooks
138 The bookstore_ package currently allows users to store notebooks on Rackspace
139 in Azure blob storage. This can be used by adding the following lines to your
139 CloudFiles or OpenStack Swift based object stores.
140 ``ipython_notebook_config.py`` file::
141
140
142 c.NotebookApp.notebook_manager_class =
141 Writing a notebook manager is as simple as extending the base class
143 'IPython.html.services.notebooks.azurenbmanager.AzureNotebookManager'
142 :class:`NotebookManager`. The simple_notebook_manager_ provides a great example
144 c.AzureNotebookManager.account_name = u'paste_your_account_name_here'
143 of an in memory notebook manager, created solely for the purpose of
145 c.AzureNotebookManager.account_key = u'paste_your_account_key_here'
144 illustrating the notebook manager API.
146 c.AzureNotebookManager.container = u'notebooks'
147
145
148 In addition to providing your Azure Blob Storage account name and key, you
146 .. _bookstore: https://github.com/rgbkrk/bookstore
149 will have to provide a container name; you can use multiple containers to
150 organize your notebooks.
151
147
148 .. _simple_notebook_manager: https://github.com/khinsen/simple_notebook_manager
152
149
153 Known issues
150 Known issues
154 ------------
151 ------------
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now