Closed ryujik closed 9 years ago
Apparently I solved put 'public' the class and methods, but these is correct?
@ryujik yes, by default jazzy only documents public
members. You can change this by passing the --min-acl
flag, with an option of internal
or private
if you'd like to document those ACL levels as well.
In my case, i did deleted /docs
into project and run again jazzy --min-acl internal
. Its work for me!
jazzy --min-acl internal
Running xcodebuild
Could not parse compiler arguments from xcodebuild
output.
Please confirm that xcodebuild
is building a Swift module.
Saved xcodebuild
log file: /var/folders/0h/7_n82hbn4rxgr5ngmhvjgvd80000gp/T/xcodebuild-7A035436-70E9-4DE1-9124-A45056593C0A.log
Failed to generate documentation
/Library/Ruby/Gems/2.0.0/gems/jazzy-0.7.0/lib/jazzy/executable.rb:36:in `execute_command': /Library/Ruby/Gems/2.0.0/gems/jazzy-0.7.0/lib/jazzy/SourceKitten/bin/sourcekitten "doc", "--"
Running xcodebuild
Could not parse compiler arguments from xcodebuild
output.
Please confirm that xcodebuild
is building a Swift module.
Saved xcodebuild
log file: /var/folders/0h/7_n82hbn4rxgr5ngmhvjgvd80000gp/T/xcodebuild-7A035436-70E9-4DE1-9124-A45056593C0A.log
Failed to generate documentation
from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.7.0/lib/jazzy/sourcekitten.rb:147:in run_sourcekitten' from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.7.0/lib/jazzy/doc_builder.rb:64:in
block in build'
from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.7.0/lib/jazzy/doc_builder.rb:62:in chdir' from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.7.0/lib/jazzy/doc_builder.rb:62:in
build'
from /Library/Ruby/Gems/2.0.0/gems/jazzy-0.7.0/bin/jazzy:15:in <top (required)>' from /usr/local/bin/jazzy:23:in
load'
from /usr/local/bin/jazzy:23:in `
How to resolve this issue . Need help
@ashishkarna You can try to delete the folder /docs
into project and run again jazzy--min-acl internal
.
Hi, I have a project test and I want generate document this project. Although show me success in console generate document jazzy, but not generate document for swift project. It's blank. I'm sure doing something wrong, but I don't know what. Do I need configure something? or Do I documenting wrong in my code? Please help me, about how use correctly jazzy. Thanks you for your help. (This example class is http://nshipster.com/swift-documentation/)
Show me this in terminal