Skip to content

Commit

Permalink
fixing update
Browse files Browse the repository at this point in the history
  • Loading branch information
lzehl committed Nov 9, 2023
1 parent 780d5c6 commit 6eca037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/toctree.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def create_toc_tree_page(version:str, relative_path:List[str]):
os.makedirs(os.path.dirname(target_file), exist_ok=True)
with open(target_file, "w") as output_file:
doc = RstCloth(output_file, line_width=160)
heading = ''.join([relative_path[-1][0].upper(), relative_path[-1][1:]])
heading = ''.join([relative_path[-1][0].upper(), relative_path[-1][1:]]).replace("_", " ")
doc.heading(heading, char="#", overline=True)
doc.newline()
# TODO add some description -> but where does it come from?
Expand Down

0 comments on commit 6eca037

Please sign in to comment.