diff --git a/news/1158.documentation.5.rst b/news/1158.documentation.5.rst new file mode 100644 index 000000000..6dfdfbce0 --- /dev/null +++ b/news/1158.documentation.5.rst @@ -0,0 +1 @@ +Fixed broken documentation links to :class:`~icalendar.cal.event.Event` and :class:`~icalendar.cal.todo.Todo` in :class:`~icalendar.prop.recur.recur.vRecur` docstring. @dyno511 diff --git a/src/icalendar/prop/recur/recur.py b/src/icalendar/prop/recur/recur.py index 09c5fca59..8e6920334 100644 --- a/src/icalendar/prop/recur/recur.py +++ b/src/icalendar/prop/recur/recur.py @@ -119,8 +119,8 @@ class vRecur(CaselessDict): >>> rrule vRecur({'FREQ': ['DAILY'], 'COUNT': [10]}) - You can choose to add an rrule to an :class:`icalendar.cal.Event` or - :class:`icalendar.cal.Todo`. + You can choose to add an rrule to an :class:`~icalendar.cal.event.Event` or + :class:`~icalendar.cal.todo.Todo`. .. code-block:: pycon