Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Khemarato Bhikkhu committed Aug 25, 2024
1 parent 151ae04 commit 39c76d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/refresh_catalog_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def headerize(text, depth):
if depth <= 4:
return f"<h{depth}>{text}</h{depth}>"
if depth <= 6:
return f'<h{depth} style="font-size=11pt;">{text}</h{depth}>'
return f'<h{depth}><span style="font-size=11pt;">{text}</span></h{depth}>'
space = "&nbsp;&nbsp;"*(depth-1)
return f"<p>{space}+ {text}</p>"

Expand All @@ -53,7 +53,7 @@ def __init__(self, name: str, folderid: str, createdTime: str, depth: int) -> No
seen_folders.add(folderid)
print(f"Loading folder \"{name}\"...")
self.name = name
self.id = id
self.id = folderid
self.createdTime = createdTime
self.depth = depth
self.files = []
Expand Down

0 comments on commit 39c76d3

Please sign in to comment.