fixes for TOC link for PDF generation
This commit is contained in:
1 parent
099b5ed94c
commit
34c7ee9975
1 file changed
+1
-1
+1
-1
@@ -19,7 +19,7 @@ def remove_links(nb):
|
||||
c = node['cells']
|
||||
for i in range (len(c)):
|
||||
if 'source' in c[i].keys():
|
||||
if c[i]['source'][0:15] == 'http://nbviewer':
|
||||
if c[i]['source'][0:19] == '[Table of Contents]':
|
||||
del c[i]
|
||||
return
|
||||
|
||||
|
||||
Reference in new issue
Block a user