Document extensions

Hi guys ;-)

I've been implementing a small package that mainly consist of extensions. I added my documentation as usual (visible with the quick help/doc shortcut)

I wanted to use DocC to generate a more in depth documentation, but it seems that extensions are not supported. Right out of the box (w/o any doc catalog), if I generate the documentation, it's empty. I can add a Doc Catalog, but I can't make any link to my files since there are no classes per se. MyPackage. gives nothing :-/

Is there a way to achieve that ? Thx.

  • We couldn't find a solution either. For the time being, our fallback is to use Jazzy & come back to swift-docc as soon as there's support for the feature.

    Might worth a try for you too.

  • Also, forgot to mention in case it would be handy, that there's also a thread on Swift Forums which mentions a ticket on the topic. It's WIP I guess ¯_(ツ)_/¯

  • Ok thanks for your answer, at least I know I didn't do anything wrong ;-)

Replies

Ok thanks for your answer, at least I know I didn't do anything wrong ;-)