You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In both Apple docs & Jazzy docs, functions and properties that are added to a type via protocol extensions are included in the documentation for any type that conforms to that protocol. For example, the following:
protocolP{}extensionP{
/// This is a function added to all Ps in a protocol extension.
func extension(){}}structS:P{}
Will result in the documentation for S including func extension(). Would this be possible with SourceDocs?
The text was updated successfully, but these errors were encountered:
I haven't looked into it, but a priori I seems like it should be possible (both Jazzy and SourceDocs extract documentation from source code using SourceKitten).
It might take some cross-referencing, and/or manually including those methods and properties in the conforming type. But should be doable.
In both Apple docs & Jazzy docs, functions and properties that are added to a type via protocol extensions are included in the documentation for any type that conforms to that protocol. For example, the following:
Will result in the documentation for
S
includingfunc extension()
. Would this be possible with SourceDocs?The text was updated successfully, but these errors were encountered: