Show More
@@ -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,21 +135,6 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 |
|
|||
139 | in Azure blob storage. This can be used by adding the following lines to your |
|
|||
140 | ``ipython_notebook_config.py`` file:: |
|
|||
141 |
|
||||
142 | c.NotebookApp.notebook_manager_class = |
|
|||
143 | 'IPython.html.services.notebooks.azurenbmanager.AzureNotebookManager' |
|
|||
144 | c.AzureNotebookManager.account_name = u'paste_your_account_name_here' |
|
|||
145 | c.AzureNotebookManager.account_key = u'paste_your_account_key_here' |
|
|||
146 | c.AzureNotebookManager.container = u'notebooks' |
|
|||
147 |
|
||||
148 | In addition to providing your Azure Blob Storage account name and key, you |
|
|||
149 | will have to provide a container name; you can use multiple containers to |
|
|||
150 | organize your notebooks. |
|
|||
151 |
|
||||
152 |
|
||||
153 | Known issues |
|
138 | Known issues | |
154 | ------------ |
|
139 | ------------ | |
155 |
|
140 |
General Comments 0
You need to be logged in to leave comments.
Login now