Skip to content

Commit

Permalink
chore(doc): use correct syntax to generate links
Browse files Browse the repository at this point in the history
  • Loading branch information
vareversat committed Jul 18, 2024
1 parent b9b8ca7 commit e0308ec
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 9 deletions.
3 changes: 2 additions & 1 deletion components/alarm_calendar_component.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ type alarmCalendarComponent struct {
}

// NewAlarmCalendarComponent create a VALARM calendar component
// [See RFC-5545 ref]: https://datatracker.ietf.org/doc/html/rfc5545#section-3.6.6
// See the [RFC-5545] ref for more info
// [RFC-5545]: https://datatracker.ietf.org/doc/html/rfc5545#section-3.6.6
func NewAlarmCalendarComponent(
action properties.ActionProperty,
trigger properties.TriggerProperty,
Expand Down
3 changes: 2 additions & 1 deletion components/event_calendar_component.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ type eventCalendarComponent struct {
}

// NewEventCalendarComponent create a VEVENT calendar component
// [See RFC-5545 ref]: https://datatracker.ietf.org/doc/html/rfc5545#section-3.6.1
// See the [RFC-5545] ref for more info
// [RFC-5545]: https://datatracker.ietf.org/doc/html/rfc5545#section-3.6.1
func NewEventCalendarComponent(
uid properties.UidProperty,
dateTimeStamp properties.DateTimeStampProperty,
Expand Down
3 changes: 2 additions & 1 deletion components/freebusy_calendar_component.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ type freeBusyCalendarComponent struct {
}

// NewFreeBusyCalendarComponent create a VFREEBUSY calendar component
// [See RFC-5545 ref]: https://datatracker.ietf.org/doc/html/rfc5545#section-3.6.4
// See the [RFC-5545] ref for more info
// [RFC-5545]: https://datatracker.ietf.org/doc/html/rfc5545#section-3.6.4
func NewFreeBusyCalendarComponent(
uid properties.UidProperty,
dateTimeStamp properties.DateTimeStampProperty,
Expand Down
3 changes: 2 additions & 1 deletion components/journal_calendar_component.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ type journalCalendarComponent struct {
}

// NewJournalCalendarComponent create a VJOURNAL calendar component
// [See RFC-5545 ref]: https://datatracker.ietf.org/doc/html/rfc5545#section-3.6.3
// See the [RFC-5545] ref for more info
// [RFC-5545]: https://datatracker.ietf.org/doc/html/rfc5545#section-3.6.3
func NewJournalCalendarComponent(
uid properties.UidProperty,
dateTimeStamp properties.DateTimeStampProperty,
Expand Down
9 changes: 6 additions & 3 deletions components/time_zone_calendar_component.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ type timeZoneCalendarSubComponent struct {
}

// NewTimeZoneCalendarComponent create a VTIMEZONE calendar component
// [See RFC-5545 ref]: https://datatracker.ietf.org/doc/html/rfc5545#section-3.6.5
// See the [RFC-5545] ref for more info
// [RFC-5545]: https://datatracker.ietf.org/doc/html/rfc5545#section-3.6.5
func NewTimeZoneCalendarComponent(
timeZoneId properties.TimeZoneIdProperty,
components TimeZoneCalendarSubComponents,
Expand Down Expand Up @@ -88,7 +89,8 @@ func (tC *timeZoneCalendarSubComponent) GetProperty(
}

// NewTimeZoneDayLightSubcomponent create a STANDARD subcomponent of a VTIMEZONE calendar component
// [See RFC-5545 ref]: https://datatracker.ietf.org/doc/html/rfc5545#section-3.6.5
// See the [RFC-5545] ref for more info
// [RFC-5545]: https://datatracker.ietf.org/doc/html/rfc5545#section-3.6.5
func NewTimeZoneDayLightSubcomponent(
dateTimeStart properties.DateTimeStartProperty,
timeZoneOffsetTo properties.TimeZoneOffsetToProperty,
Expand All @@ -111,7 +113,8 @@ func NewTimeZoneDayLightSubcomponent(
}

// NewTimeZoneCalendarStandardSubcomponent create a DAYLIGHT subcomponent of a VTIMEZONE calendar component
// [See RFC-5545 ref]: https://datatracker.ietf.org/doc/html/rfc5545#section-3.6.5
// See the [RFC-5545] ref for more info
// [RFC-5545]: https://datatracker.ietf.org/doc/html/rfc5545#section-3.6.5
func NewTimeZoneCalendarStandardSubcomponent(
dateTimeStart properties.DateTimeStartProperty,
timeZoneOffsetTo properties.TimeZoneOffsetToProperty,
Expand Down
3 changes: 2 additions & 1 deletion components/todo_calendar_component.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ type toDoCalendarComponent struct {
}

// NewToDoCalendarComponent create a VTODO calendar component
// [See RFC-5545 ref]: https://datatracker.ietf.org/doc/html/rfc5545#section-3.6.2
// See the [RFC-5545] ref for more info
// [RFC-5545]: https://datatracker.ietf.org/doc/html/rfc5545#section-3.6.2
func NewToDoCalendarComponent(
uid properties.UidProperty,
dateTimeStamp properties.DateTimeStampProperty,
Expand Down
3 changes: 2 additions & 1 deletion properties/attachment_property.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ type AttachmentProperty interface {

// NewAttachmentProperty create a new ATTACH property
// This property CAN be seen in VALARM, VEVENT, VTODO & VJOURNAL components
// [See RFC-5545 ref]: https://datatracker.ietf.org/doc/html/rfc5545#section-3.8.1.1
// See the [RFC-5545] ref for more info
// [RFC-5545]: https://datatracker.ietf.org/doc/html/rfc5545#section-3.8.1.1
func NewAttachmentProperty(
value string,
params ...parameters.Parameter,
Expand Down

0 comments on commit e0308ec

Please sign in to comment.