Skip to content

Commit 4a160ae

Browse files
authored
Merge branch 'main' into add-nixos-installation-docs
2 parents 2a02172 + 830ab19 commit 4a160ae

3 files changed

Lines changed: 16 additions & 13 deletions

File tree

news/1158.documentation.6

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed broken documentation links in :mod:`icalendar.cal.availability`. @lcampanella98

src/icalendar/attr.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,7 +1226,7 @@ def fset(self: Component, value: str | StrEnum | None) -> None:
12261226
12271227
Description:
12281228
This property is used to specify the default busy time
1229-
type. The values correspond to those used by the FBTYPE"
1229+
type. The values correspond to those used by the "FBTYPE"
12301230
parameter used on a "FREEBUSY" property, with the exception that
12311231
the "FREE" value is not used in this property. If not specified
12321232
on a component that allows this property, the default is "BUSY-
@@ -1509,7 +1509,8 @@ def timezone_datetime_property(name: str, docs: str):
15091509
"DTSTART",
15101510
"""Start of the component.
15111511
1512-
This is almost the same as :attr:`Event.DTSTART` with one exception:
1512+
This is almost the same as
1513+
:attr:`Event.DTSTART <icalendar.cal.event.Event.DTSTART>` with one exception:
15131514
The values MUST have a timezone and DATE is not allowed.
15141515
15151516
Description:
@@ -1525,7 +1526,8 @@ def timezone_datetime_property(name: str, docs: str):
15251526
"DTEND",
15261527
"""Start of the component.
15271528
1528-
This is almost the same as :attr:`Event.DTEND` with one exception:
1529+
This is almost the same as
1530+
:attr:`Event.DTEND <icalendar.cal.event.Event.DTEND>` with one exception:
15291531
The values MUST have a timezone and DATE is not allowed.
15301532
15311533
Description:

src/icalendar/cal/availability.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -271,26 +271,26 @@ def new(
271271
busy_type: The :attr:`busy_type` of the availability.
272272
categories: The :attr:`categories` of the availability.
273273
classification: The :attr:`classification` of the availability.
274-
comments: The :attr:`comments` of the availability.
275-
concepts: The :attr:`concepts` of the availability.
274+
comments: The :attr:`~icalendar.cal.component.Component.comments` of the availability.
275+
concepts: The :attr:`~icalendar.cal.component.Component.concepts` of the availability.
276276
contacts: The :attr:`contacts` of the availability.
277-
created: The :attr:`created` of the availability.
277+
created: The :attr:`~icalendar.cal.component.Component.created` of the availability.
278278
description: The :attr:`description` of the availability.
279279
end: The :attr:`end` of the availability.
280-
last_modified: The :attr:`last_modified` of the
280+
last_modified: The :attr:`~icalendar.cal.component.Component.last_modified` of the
281281
availability.
282-
links: The :attr:`links` of the availability.
282+
links: The :attr:`~icalendar.cal.component.Component.links` of the availability.
283283
location: The :attr:`location` of the availability.
284284
organizer: The :attr:`organizer` of the availability.
285-
refids: :attr:`refids` of the availability.
286-
related_to: :attr:`related_to` of the availability.
285+
refids: :attr:`~icalendar.cal.component.Component.refids` of the availability.
286+
related_to: :attr:`~icalendar.cal.component.Component.related_to` of the availability.
287287
sequence: The :attr:`sequence` of the availability.
288-
stamp: The :attr:`stamp` of the availability.
288+
stamp: The :attr:`~icalendar.cal.component.Component.stamp` of the availability.
289289
If None, this is set to the current time.
290290
start: The :attr:`start` of the availability.
291-
subcomponents: The :attr:`subcomponents` of the availability.
291+
subcomponents: The :attr:`~icalendar.cal.component.Component.subcomponents` of the availability.
292292
summary: The :attr:`summary` of the availability.
293-
uid: The :attr:`uid` of the availability.
293+
uid: The :attr:`~icalendar.cal.component.Component.uid` of the availability.
294294
If ``None``, this is set to a new :func:`uuid.uuid4`.
295295
url: The :attr:`url` of the availability.
296296

0 commit comments

Comments
 (0)