- None.
- None.
-
Fix crash with pre-existing
Docs
directory.
John Fairhurst #965 -
Fix crash with unicode scalars in string literals.
John Fairhurst #972
- None.
- None.
-
Fix crash when specifying empty Swift version. Now correctly uses the default Swift version.
JP Simard -
Fix jony theme selection.
John Fairhurst #962
- None.
-
Add a new 'jony' theme similar to the 2017 Apple documentation style.
Harshil Shah -
Add the ability to limit documentation to certain files by passing in an
-i
/--include
argument.
Nick Fox #949 -
Improve Swift declarations to look more like the Xcode Quick Help version, for example including
{ get set }
, and include all attributes.
John Fairhurst #768 #591
-
Preserve
MARK
comment headings associated with extensions and enum cases.
John Fairhurst -
Fix issue where Overview items were invalidly being referenced with NULL types in the generated Dash docset index.
Andrew De Ponte -
Don't display FIXME or TODO comments as section markers.
John Fairhurst #658
- None.
-
Added a config option (
--undocumented-text UNDOCUMENTED_TEXT
) to set the default text for undocumented symbols.
Akhil Batra #913 -
Added a config option to hide Objective-C or Swift declarations:
--hide-declarations [objc|swift]
.
Ibrahim Ulukaya #828 -
Automatically use Swift or Objective-C syntax highlighting for code blocks in documentation comments. Improve Swift highlighting with latest Rouge.
John Fairhurst #218
-
Fix Swift declarations when generating Objective-C docs for generic types.
John Fairhurst #910 -
Don't create documentation nodes for generic type parameters.
John Fairhurst #878
- Generate documentation coverage badge locally. Since this avoids the failable
HTTP request to shields.io previously used to obtain the badge, we've removed
the
--[no-]download-badge
flag and the correspondingdownload_badge
YAML configuration key.
Samuel Giddins
- None.
-
Fixed issue that prevented Jazzy from running on case sensitive file systems.
Jeremy David Giesbrecht #891 -
Fixed issue preventing
--podspec
from working withtest_spec
s.
John Fairhurst #894 -
Always display correct declaration for undocumented symbols.
John Fairhurst #864 -
Trim common indentation in multiline declarations.
John Fairhurst #836
- None.
-
Align jazzy terminology with Apple usage.
Xiaodi Wu John Fairhurst -
Add
url
attribute that can be more accurate than{{section}}.html
as a URL in custom templates.
John Fairhurst
-
Fix crash when specifying
swift_version
as a floating point value in.jazzy.yaml
rather than a string.
JP Simard #860 -
Autolink from parameter documentation and from external markdown documents including README. Autolink to symbols containing & < >.
John Fairhurst #715 #789 #805 -
Fix Swift 4 declarations containing ampersands (
&
) being truncated.
JP Simard
- None.
-
Generate Swift declaration for more Objective-C declarations.
Zheng Li -
Improve quality & accuracy of Swift interfaces for Objective-C declarations when generating Objective-C docs.
Norio Nomura -
Process Swift 3.2/4 doc comments.
John Fairhurst
-
Fix missing doc comments on some extensions.
John Fairhurst #454 -
Fix failure when attempting to download documentation coverage badge with jazzy using macOS system Ruby, or a Ruby built with outdated versions of OpenSSL.
JP Simard #824 -
Stop
--skip-undocumented
from skipping documented items nested inside extensions of types from other modules.
John Fairhurst #502 -
Fix members added to extensions of a nested type showing up in the parent.
John Fairhurst #333
- None.
-
Report number of included and skipped declarations in CLI output.
John Fairhurst #238 -
Build ObjC docs with clang modules enabled by default (
-fmodules
flag).
Maksym Grebenets #636 -
Shave ~1MB from jazzy's gem distribution.
JP Simard
-
Fix support for Ruby 2.2.
John Fairhurst #801 -
Fix many cases of incorrect, missing or superfluous docs on Swift declarations.
John Fairhurst
- None.
- Allow all markdown in returns and parameter description callouts.
John Fairhurst #476
- Fix a crash that occurred when a documentation comment ended with an extended
grapheme cluster.
Lukas Stührk #794 SourceKitten#350
undocumented.json
is now only in the output directory and is no longer copied into docsets.
Jeremy David Giesbrecht #754
- Add
--[no-]download-badge
flag to skip downloading the documentation coverage badge from shields.io. Useful if generating docs offline.
JP Simard #765
-
Blank line no longer needed before lists or code blocks.
John Fairhurst #546 -
Linking to headers in apple theme gives correct vertical alignment.
John Fairhurst -
Headers in source code markdown no longer cause corruption.
John Fairhurst #628
- None.
- None.
-
Fix issue where using a custom theme would crash jazzy when using Ruby 2.4.
Jason Wray #752 -
Fix support for Ruby 2.0.0.
Jason Wray #747 -
Fix issue where header files are not found if inside subdirectories of the framework_root specified folder.
Christopher Gretzki #518
- None.
-
Generate shields.io badge for documentation coverage, unless
hide_documentation_coverage
is set.
Harlan Haskins #723 -
Add support for searching docs when using the
fullwidth
theme. A new option,--disable-search
, lets you turn this off.
Esad Hajdarevic Tom MacWright Nadia Barbosa #14 -
New config option
use_safe_filenames
encodes unsafe characters when generating filenames. By default, documentation may receive filenames like/(_:_:).html
. Withuse_safe_filenames
, the same file will receive the name_2F_28_5F_3A_5F_3A_29.html
instead.
Jeremy David Giesbrecht #699 #146 #361 #547 -
References to Objective-C methods are now autolinked.
Minh Nguyễn #362 -
Print documentation coverage percentage and the number of undocumented methods to the command line when running jazzy.
Jason Wray
-
Fix issue where existing abstracts for non custom sections would be completely overwritten when using extra abstract injection with --abstract.
Thibaud Robelain #600 -
Fix issue where generic type parameters registered as undocumented symbols.
Jeremy David Giesbrecht #429 -
Fix issue where parameter and return callouts were duplicated in documentation.
Jeremy David Giesbrecht #673 -
Fix issue where Objective-C superclass in declaration was unlinked.
Minh Nguyễn #706 -
Fix issue where multiple Objective-C categories of the same external class in different files were merged into one and named after the first category found.
Minh Nguyễn #539 -
String literals in code listings are no longer wrapped in
<q>
tags (apple
andfullwidth
themes only).
Minh Nguyễn #714 -
Fix issue where passing a
--podspec
argument would use a malformedSWIFT_VERSION
value, causing compilation to fail.
JP Simard
- None.
-
Podspec-based documentation will take trunk's
pushed_with_swift_version
attribute into account when generating documentation by default.
Orta Therox -
Podspec-based documentation respects the
swift-version
config option.
Orta Therox
-
Support Objective-C class properties.
Jérémie Girault JP Simard -
Support documenting Swift 3 operator precedence groups.
JP Simard
-
Rename Dash typedef type from "Alias" to "Type".
Bogdan Popescu -
Fix crash when sorting multiple identically named declarations with no USR, which is very common when generating docs for podspecs supporting multiple platforms.
JP Simard #661 -
Fix Xcode not being found when specifying a custom Swift version (
--swift-version
).
Samuel Giddins Paul Cantrell #656 -
Fix crash when generating Objective-C docs for projects with "@" directives in documentation comments with Xcode 8.1 or later.
Jérémie Girault
- None.
- None.
-
Declarations marked
@available(..., unavailable, ...)
are no longer documented.
JP Simard #654 -
Treat the
open
ACL as more public thanpublic
.
JP Simard
- None.
- 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 https://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