Skip to content

Commit

Permalink
fixed a bug in the documentation generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Luca van den Busch committed Feb 2, 2024
1 parent 73b870f commit 80606dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/parse_c_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def format_head(head: str) -> list[str]:
line = lines.pop(0)
options.append(line.strip("/ "))

signature = lines[-1].strip(r"\n")
signature = lines[-1].rstrip(r"\n")
signature = clean_signature(signature)

rst_lines = [f"{directive} {signature}"]
Expand Down

0 comments on commit 80606dd

Please sign in to comment.