- Added support for the new access control specifiers of fileprivate and open.
Shmuel Kallner #645 #646
-
Fix issue where jazzy could not be installed from Gemfile due to SourceKitten symlinks already being present.
William Meleyal #438 -
The lint report in
undocumented.json
is more human-readable: includes fully qualified symbol names, pretty printed.
Paul Cantrell #598 -
The
exclude
option now properly supports wildcards.
Paul Cantrell #640
- The
docset_platform
option is no longer available. The module name will now be used instead ofjazzy
.
JP Simard #423
- Improved auto-linking behavior to link declarations within declarations and
fix cases where declarations would link to themselves or their current page.
Esad Hajdarevic #483
-
Fix issue where single-line declaration + bodies in Swift would include the body in the parsed declaration.
JP Simard #226 -
Fix issue where some sections would become empty when using custom groups.
JP Simard #475 -
Fix issue where directories ending with
.swift
would be considered Swift source files.
JP Simard #586
- None.
-
--exclude
flag now supports excluding directories in addition to files.
Gurrinder #503 -
The
cocoapods
gem was updated to 1.0.1 androuge
to 1.11.0.
Samuel Giddins #568 -
Extra markdown documentation can now be included as their own pages in the sidebar using the
--documentation
option and in the generated Dash docset as Guides.
Karl Bowden #435 -
Section headings can now include additional markdown content using the
--abstract
option.
Karl Bowden #435 -
If Swift version is not specified, look for Swift toolchain or clang location in the following order:
$XCODE_DEFAULT_TOOLCHAIN_OVERRIDE
$TOOLCHAIN_DIR
xcrun -find swift
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
~/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
~/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
This will be especially useful once jazzy supports generating docs for Swift Package Manager modules with a toolchain not tied to an Xcode release.
JP Simard
- None.
- Include one level of nested classes, structs, protocols and enums in the
navigation bar.
JP Simard #64
- None.
- None.
-
Objective-C documentation now also includes Swift declarations.
JP Simard #136 -
Default to the Xcode version selected in
xcode-select
if no Swift version is specified.
Samuel Giddins #427
-
Uses GitHub-Flavored Markdown syntax for anchors when rendering README pages.
Zachary Waldowski #524 -
Fix crash when using unexposed declarations in Objective-C.
JP Simard #543 -
No longer document Swift extensions on types with an ACL lower than
min-acl
when they containMARK
s.
JP Simard #544
-
Config files now use the same option names as the command line. If you are using one of the keys that has changed in your
.jazzy.yaml
, you will receive a warning. See the pull request for a complete list of changed options. As always, you can get a list of all options withjazzy --help config
.
Paul Cantrell -
Jazzy's undocumented.txt has been replaced with undocumented.json. This new format includes contextual information that one might use to lint documentation in an automated fashion.
Jeff Verkoeyen -
--swift-version
now defaults to 2.2 instead of 2.1.1.
Tamar Nachmany
-
Add
--skip-documentation
flag. Skips site generation phase.undocumented.json
is still generated.
Jeff Verkoeyen -
Merge Objective-C categories into their parent type documentation to match Swift behavior.
Esad Hajdarevic #457 -
Add support for documenting Swift 2.2
associatedtype
s and infix, postfix & prefix operators.
JP Simard
-
Workaround for an apparent SourceKit bug which sometimes caused extensions to be merged into the wrong type.
Paul Cantrell #459 #460
-
--swift-version
now defaults to 2.1.1 instead of 2.1.
Nikita Lutsenko #416 -
Swift 1.x is no longer supported.
-
--templates-directory
and--assets-directory
have been deprecated in favor of--theme
. Specify either 'apple' (default), 'fullwidth' or the path to your mustache templates and other assets for a custom theme.
Karl Bowden JP Simard #130
-
Add
--sdk [iphone|watch|appletv][os|simulator]|macosx
option for Objective-C projects.
Jeff Verkoeyen -
Add
--head
option to inject custom HTML into<head></head>
.
JP Simard
-
Fix an issue where extension documentation would use the original type documentation block rather than the comment immediately preceding the extension.
JP Simard #230 #313 #334 -
Fix multi-byte documentation issues.
Norio Nomura #403
Note: this is the last official release of jazzy supporting Swift 1.x.
- None.
-
Support "wall of asterisk" documentation comments.
Jeff Verkoeyen #347 -
Expanding a token no longer causes the document to 'jump' to the hash.
Jeff Verkoeyen #352 -
Autolinking improvements:
- Autolinks only match
`ThingsInBackticks`
, and must match the entire string. This prevents spurious matching in prose and sample code. - Autolinks supports siblings, ancestors, top-level elements, and
dot-separated chains starting with any of the above:
someProperty
,SomeType.NestedType.someMethod(_:)
. - New
...
wildcard prevents you from having to list all method parameters:someMethod(...)
- Autolinks only match
-
Miscellaneous minor font size, weight, and color adjustments.
Jeff Verkoeyen -
In-page anchors now appear below the header.
Jeff Verkoeyen
-
Fix an out-of-bounds exception when generating pragma marks.
JP Simard #370 -
Add support for C/C++ struct, field & ivar types.
JP Simard #374 #387 -
Links to source files on GitHub are no longer broken when
source_directory
does not point to the current working directory.
Paul Cantrell -
When
excluded_files
is specified in a config file, it is now resolved relative to the file (like other options) instead of relative to the working directory.
Paul Cantrell
--swift-version
now defaults to 2.1 instead of 2.0.
JP Simard
-
Support for documenting Objective-C projects! 🎉 Pass
--objc
,--umbrella-header ...
and-framework-root ...
.
JP Simard #56 -
Mentions of top-level declarations in documentation comments are now automatically hyperlinked to their reference.
JP Simard -
Jazzy can now read options from a configuration file. The command line provides comprehensive help for available options via
jazzy -h config
.
Paul Cantrell #310 -
Render special list items (e.g. Throws, See, etc.). See http://ericasadun.com/2015/06/14/swift-header-documentation-in-xcode-7/ for a complete list.
JP Simard #317 -
Support for Swift 2.1.
JP Simard -
Swift extensions are now merged with their extended type, rendering a note to describe extension default implementations and extension methods.
Paul Cantrell
- None.
- None.
- None.
-
Fixed an issue that prevented building projects with different schema & module names.
JP Simard #259 -
Hide documentation coverage from header using
--hide-documentation-coverage
.
mbogh #129 -
Print a more informative error when unable to find an Xcode that has the requested Swift version.
Samuel Giddins
- None.
- None.
- Added missing Swift 2 declaration types.
JP Simard
--swift-version
now defaults to 2.0 instead of 1.2.
JP Simard
-
Now supports Swift 2.0 (previous Swift versions are still supported).
JP Simard Samuel Giddins -
Declarations can now be grouped by custom categories defined in a JSON or YAML file passed to
--categories
.
Paul Cantrell
-
"View on GitHub" is now only generated if a GitHub URL is specified.
mbogh #244 -
Empty extensions are no longer documented.
Paul Cantrell
- None.
-
Improved how SourceKitten is vendored.
JP Simard -
Show type declaration under its title.
Paul Cantrell -
Added support for custom assets: pass
--assets-directory
to jazzy.
gurkendoktor -
Added support for custom copyright text: pass
--copyright
to jazzy.
emaloney
-
Fixed a crash when parsing an empty documentation comment.
JP Simard #236 -
--exclude
now works properly if its argument is a relative path.
Paul Cantrell
- None.
- The
jazzy
CLI now accepts a--swift-version
option (defaulting to 1.2), and will automatically find an appropriate Xcode installation.
Samuel Giddins #214
- Declarations with no USR will no longer be documented.
JP Simard
- None.
- Added support for custom templates: use the
-t
/--template-directory
argument to jazzy.
JP Simard #20
- None.
- None.
- Added the ability to ignore certain files by passing in an
-e
/--exclude
argument to jazzy.
JP Simard #173
- None.
- Use
key.accessibility
to determine ACL (value coming from SourceKit, which is generally more accurate than parsing the declaration for an accessibility keyword).
JP Simard #185
- None.
- None.
- None.
- Make the gem installable.
Samuel Giddins
- None.
-
Fixed issue where docset would contain duplicate files.
JP Simard #204 -
Fixed installation issues on case-sensitive file systems.
kishikawakatsumi -
Fixed out-of-bounds exception when parsing the declaration in files starting with a declaration.
JP Simard #30 -
Fixed out-of-bounds exception and inaccurate parsed declarations when using multibyte characters.
JP Simard #35 -
Fixed parsing issues with keyword functions such as
subscript
,init
anddeinit
.
JP Simard #27 -
Fixed issues where USR wasn't accurate because dependencies couldn't be resolved.
JP Simard -
Allow using a version of Xcode that is symlinked to
/Applications/Xcode.app
.
Samuel Giddins
- None.
- None.
- None.
-
Improve the styling of
dl
elements (parsed key-value pairs).
segiddins -
Raise exceptions if Xcode requirements aren't met.
JP Simard
-
No longer count initializers with parameters as undocumented.
JP Simard #183 -
No longer crash when a token is missing a USR.
JP Simard #171 -
Fixed encoding issues in some environments.
James Barrow #152 -
No longer count undocumented externally declared tokens as undocumented.
JP Simard #188
- None.
- None.
- None.
- Fixes installation as a RubyGem.
Samuel Giddins #159
- None.
- Add the ability to document a Pod from just a podspec, which allows jazzy to
run on cocoadocs.org.
Samuel Giddins #58
- De-duplicate the sidebar list of extensions and show all children for an
extension, regardless of how many extensions on a type there are.
Samuel Giddins
- Don't skip declarations with no documentation comments by default.
Allow skipping using
--skip-undocumented
.
JP Simard #129
None.
-
Include parse errors in the JSON output & print to STDERR.
JP Simard jpsim/sourcekitten#16
-
Fixed crash when files contained a declaration on the first line.
JP Simard jpsim/sourcekitten#14 -
Fixed invalid JSON issue when last file in an Xcode project failed to parse.
JP Simard -
Fixed crash when attempting to parse the declaration of
extension Array
.
JP Simard #126