Opened 9 years ago

Closed 9 years ago

#706 closed defect (bug) (fixed)

Convert inline `{@see}` links for hooks

Reported by: drewapicture's profile DrewAPicture Owned by: coffee2code's profile coffee2code
Milestone: Priority: normal
Component: Developer Hub Keywords: has-patch


As discussed with @blobaugh and @coffee2code at the WCSF team work days, we've opted to use the inline {@see} type syntax for linking to reference articles from reference fields and in the handbooks.

The existing make_doclink_clickable() function already makes auto-linking possible for class methods, classes, and functions. The attached patch adds support for hooks when wrapped in single quotes, e.g. `{@see 'pre_get_search_form'}.

I've described the syntax for the above four link types in comment:5:ticket:181.

Attachments (1)

706.diff (688 bytes) - added by DrewAPicture 9 years ago.

Download all attachments as: .zip

Change History (2)

9 years ago

#1 @coffee2code
9 years ago

  • Owner set to coffee2code
  • Resolution set to fixed
  • Status changed from new to closed

In 974: convert inline {@see} links for hooks

fixes #706.
props DrewAPicture.

Note: See TracTickets for help on using tickets.