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
appledoc warns when encounters something like [object doSomething:] inside code section or example block. Many times this is just used as an example to make the documented entity more understandable. This could be suppressed for at least example blocks. For code spans it's more tricky as cross refs to known objects are often embedded inside one.
I'm wondering if these invalid cross ref warnings might lead to this particular problem here: #491
Because the file in question generates 2-3 such warnings. Will test. ... Hmmm, nope, fixing the cross-ref warnings had no effect on #491 unless maybe I need to fix all 40+ of them in other classes, too.
jodyhagins
added a commit
to jodyhagins/appledoc
that referenced
this issue
Sep 6, 2015
Appledoc gives warnings when it encounters parsing issues inside
source code blocks. In particular, it looks for style markup and
reference links. These are especially bad within ObjectiveC
source code example blocks because of the ObjectiveC bracket
syntax and the obligatory underscores for category methods on
Cocoa classes.
This is similar to bug tomaz#72, but not exactly. I noticed that in
another similar report, these issues are gone in version 3, so I
didn't bother trying to fix this completely.
Basically, the code intercepts the markdown processing, and looks
for any sections within documentation blocks that are marked with
either @code/@Endcode of the ~~~/~~~ and ```/``` markdown syntax.
If it finds those blocks, it will output them as markup (making
sure to use the backtick format), and skip any further processing
for that block of text.
appledoc warns when encounters something like
[object doSomething:]
inside code section or example block. Many times this is just used as an example to make the documented entity more understandable. This could be suppressed for at least example blocks. For code spans it's more tricky as cross refs to known objects are often embedded inside one.See also #77.
The text was updated successfully, but these errors were encountered: