mirror of
https://github.com/VectifyAI/PageIndex.git
synced 2026-04-24 23:56:21 +02:00
firx print_toc
This commit is contained in:
parent
d4c910ad5a
commit
d799a0cf67
1 changed files with 0 additions and 1 deletions
|
|
@ -499,7 +499,6 @@ def remove_fields(data, fields=['text']):
|
|||
return data
|
||||
|
||||
def print_toc(tree, indent=0):
|
||||
print(tree)
|
||||
for node in tree:
|
||||
print(' ' * indent + node['title'])
|
||||
if node.get('nodes'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue