Skip to content

Commit

Permalink
indent in rst
Browse files Browse the repository at this point in the history
  • Loading branch information
womullan committed Mar 23, 2024
1 parent 0fb8b61 commit b2e297d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions milestones/celeb.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,6 @@ def generate_doc(args, milestones):
f"`{sha[:8]} <https://github.com/lsst-dm/milestones/commit/{sha}>`_, "
f"dated {timestamp.strftime('%Y-%m-%d')}."
)
p.write_line(
f"This corresponds to the status recorded in the project "
f"controls system for {p6_date.strftime('%B %Y')}."
)
compline = ""
if comp_milestones:
if months > 0:
Expand All @@ -320,7 +316,10 @@ def generate_doc(args, milestones):
yr = int(yr) + 1
comp_ym = [yr, calendar.month_name[mo]]
compline = f" This compares to {comp_ym[1]} {comp_ym[0]}."
p.write_line(f"{compline}")
p.write_line(
f"This corresponds to the status recorded in the project "
f"controls system for {p6_date.strftime('%B %Y')}. {compline}"
)

with doc.section("Top milestones") as my_section:
top_milestones = [ms for ms in milestones if ms.celebrate == "Top"]
Expand Down

0 comments on commit b2e297d

Please sign in to comment.