Skip to content

Commit

Permalink
[SourceKitten] Clarify "no-USR" warning message to mention #if blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsim committed Apr 30, 2015
1 parent c518ef8 commit a08859e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/jazzy/sourcekitten.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ def self.make_doc_urls(docs, parents)
id = doc.name || 'unknown'
warn "`#{id}` has no USR. First make sure all modules used in " \
'your project have been imported. If all used modules are ' \
'imported, please report this by filing an issue at ' \
'imported, please report this problem by filing an issue at ' \
'https://github.com/realm/jazzy/issues along with your Xcode ' \
'project.'
'project. If this token is declared in an `#if` block, please ' \
'ignore this message.'
end
doc.url = parents.join('/') + '.html#/' + id
end
Expand Down

0 comments on commit a08859e

Please sign in to comment.