Skip to content

Commit 7633f95

Browse files
Hugo's review
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 5bbe988 commit 7633f95

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/tools/meeting_dates.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ def generate_ics(app, exception):
7777
lines = [
7878
"BEGIN:VCALENDAR",
7979
"VERSION:2.0",
80-
"PRODID:-//Python Docs Community//Meeting Dates//EN",
80+
"PRODID:-//Python Docs Community//Meeting dates//EN",
81+
"X-WR-CALDESC:Python docs community meeting dates from https://docs-community.readthedocs.io/",
82+
"X-WR-CALNAME:Python docs community meeting dates",
8183
]
8284
today = dt.date.today()
8385
meetings = past_meetings(today, 12) + upcoming_meetings(today, 12)
@@ -95,9 +97,7 @@ def generate_ics(app, exception):
9597
"END:VEVENT",
9698
]
9799
lines += ["END:VCALENDAR"]
98-
ics = (
99-
"\r\n".join(lines) + "\r\n"
100-
) # Required by spec for some reason: https://datatracker.ietf.org/doc/html/rfc5545#section-3.1
100+
ics = "\r\n".join(lines) + "\r\n"
101101

102102
with open(os.path.join(app.outdir, "docs-community-meetings.ics"), "w") as f:
103103
f.write(ics)

0 commit comments

Comments
 (0)