Skip to content

Commit

Permalink
Bugfix for notebook conversion.
Browse files Browse the repository at this point in the history
  • Loading branch information
timstaley committed Dec 6, 2015
1 parent 3e3bb03 commit a08fca2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 357 deletions.
5 changes: 3 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,13 @@ def convert_nb(nbpath, output_folder):
basename = os.path.basename(nbpath)
basename_stem = basename.rsplit('.',1)[0]
# Execute the notebook
sh(["jupyter", "nbconvert", "--to", "notebook",
"--execute", "--inplace", nbpath])
# sh(["jupyter", "nbconvert", "--to", "notebook",
# "--execute", "--inplace", nbpath])

# Convert to .rst for Sphinx
sh(["jupyter", "nbconvert",
"--to", "html",
"--execute",
# '--template', 'basic',
'--template', 'custom_nbconvert_template',
nbpath,
Expand Down
9 changes: 9 additions & 0 deletions docs/source/notebooks/scratch.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,15 @@
"followup = apiv0.ivorn_cited_count(filters={FilterKeys.ref_exact:ivorn})\n",
"followup"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
355 changes: 0 additions & 355 deletions docs/source/scratch.ipynb

This file was deleted.

0 comments on commit a08fca2

Please sign in to comment.