Swift Doc Versions Save

A documentation generator for Swift projects

1.0.0-rc.1

2 years ago

Added

  • Added support for generating documentation for private symbols. #266 by @Lukas-Stuehrk.
  • Added anchor links to documentation entries for symbols. #275 by @Lukas-Stuehrk.

Fixed

  • Fixed links to type declarations. #277 by @Lukas-Stuehrk.
  • Fixed bug that caused operator implementations to appear in the documentation although they should be omitted because of their lower access level. #264 by @Lukas-Stuehrk
  • Fixed bug that caused prefix and postfix operators to be omitted from generated documentation. #262 by @Lukas-Stuehrk.
  • Fixed layout of HTML output on large displays. #251 by @Lukas-Stuehrk and @mattt.

Changed

  • Changed date formatters to use en_US_POSIX locale instead of current locale. #289 by @mattt.

Removed

  • Removed Beta from header in HTML output. #291 by @mattt.

1.0.0-beta.6

3 years ago

Added

  • Added support for generating documentation for extensions to external types. #230 by @Lukas-Stuehrk and @mattt.
  • Added support for generating documentation for operators. #228 by @Lukas-Stuehrk and @mattt.
  • Added end-to-end tests for command-line interface. #199 by @MaxDesiatov and @mattt.
  • Added --minimum-access-level option to generate and coverage commands. #219 by @Lukas-Stuehrk.
  • Added support for documenting default implementations. #221 by @Lukas-Stuehrk.
  • Added sourceRange property to Symbol. #237 by @mattt.

Fixed

  • Fixed public extensions exposing nested code of all access levels. #195 by @Tunous.
  • Fixed broken links in the relationship graph. #226 by @Lukas-Stuehrk.

Changed

  • Breaking Change Changed minimum Swift version requirements to 5.3 or later. #252 by @mattt.
  • Changed display of code declarations in HTML. #204 by @mattt.
  • Changed serialization of Symbol to encode and decode sourceRange key instead of sourceLocation key. #237 by @mattt.
  • Changed commands to warn when invalid paths are passed. #242 by @Lukas-Stuehrk.

Deprecated

  • Deprecated Symbol.sourceLocation property. Use Symbol.sourceRange.start instead. #237 by @mattt.
  • Changed the generate command to skip hidden files and top-level Tests directories. #229 by @mattt.

1.0.0-beta.5

3 years ago

Added

  • Added support for Swift 5.3. #183 by @MaxDesiatov and @mattt.

Fixed

  • Fixed missing GraphViz dependency in Dockerfile. #180 by @MaxDesiatov.
  • Fixed listing of function parameters, when generating CommonMark documentation. #170 by @domcorvasce.
  • Fixed version number for swift-doc command. #159 by @mattt.
  • Fixed relationship diagram to prevent linking to unknown symbols. #178 by @MattKiazyk.
  • Fixed problems in CommonMark output related to escaping emoji shortcode. #167 by @mattt.

Changed

  • Changed GitHub Action to use prebuilt Docker image. #185 by @mattt and @MaxDesiatov.

1.0.0-beta.4

3 years ago

Added

  • Added icon for associated type symbols. #145 by @mattt.

Changed

  • Changed HTML output to show scrollbars only when necessary. #132 by @andrewchang-bird.

Fixed

  • Fixed runtime error related to networking and processes on Ubuntu Linux. #140 by @JaapWijnen.
  • Fixed whitespace of code listings. #144 by @mbrandonw.
  • Fixed crash when attempting to generate paths with no base URL specified. #127 by @mattpolzin, @kareman, and @mattt.
  • Fixed display of sidebar icons. #145 by @mattt.
  • Fixed inclusion of non-public subclasses of public superclasses. #131 by @MattKiazyk. #116 by @ApolloZhu.
  • Fixed display of bullet list items in documentation discussion parts. #130 by @mattt.
  • Fixed file and directory unexpected permissions. #146 by @niw.
  • Fixed rendering of colon sequences in function signatures as emoji shortcodes (e.g. :on: → ?). #149 by @mattt.
  • Fixed declarations for properties without explicit type annotations. #150 by @mattt.
  • Fixed visual regression for adjacent linked tokens in code block. #152 by @mattt.
  • Fixed regression that caused nodes in relationships graph to not have links to their corresponding symbol documentation. #153 by @mattt.
  • Fixed markup for parameter descriptions in HTML output. #156 by @mattt.

1.0.0-beta.3

3 years ago

Added

  • Added --base-url option. #65 by @kean and #93 by @mattt.
  • Added asset pipeline for CSS assets. #49 by @kaishin.
  • Add swift-doc version number to command and generated output. #94 by @mattt.

Changed

  • Changed Home page to display globals for HTML format. #81 by @kean.
  • Changed README to clarify use of swift-doc vs. swift doc on the command line. #89 by @mattt.
  • Changed the generate command to emit a warning if no source files are found. #92 by @heckj
  • Changed CommonMark format output of Home page to include summaries alongside top-level symbols, when available. #97 by @mattt.
  • Changed logging behavior to better communicate errors encountered when generating relationship graphs using GraphViz. #100 by @mattt.
  • Changed HTML format output of Home page to move enumeration cases under initializers. #103 by @mattt.

Fixed

  • Fixed relationship handling for members of nested types. #62 by @victor-pavlychko.
  • Fixed rendering of type relationships section when no graph data is available. #62 by @victor-pavlychko.
  • Fixed rendering of protocol requirements in the HTML version. #76 by @victor-pavlychko.
  • Fixed default location of sources reference in README #92 by @heckj
  • Fixed indentation of code examples in HTML output. #114 by @samsymons
  • Fixed icons for symbols in HTML output. #115 by @samsymons

0.0.2

4 years ago

Added

  • Added "Installation" section to README. 7784bef by @mattt.
  • Added experimental swift-api-diagram executable. 017e920 by @mattt.

Fixed

  • Fixed division by zero when calculating documentation coverage. #5 by @mattt.
  • Fixed treatment of directories with .swift suffix. #14 by @mattt.
  • Fixed errors in README. #4 by @Dinsen. #6 by @HeEAaD. #10 by @morqon

0.0.3

4 years ago

Added

  • Added CI workflow. ce40367 by @mattt.
  • Added documentation workflow. a47f178 by @mattt.

Changed

  • Changed documentation generation to filter non-public symbols. 3af57a6 by @mattt.

0.0.4

4 years ago

Changed

  • Changed Package.swift to include SwiftDoc library product in manifest. f852a14 by @mattt.
  • Changed documentation workflow to generate docs for SwiftDoc sources only. da04436 by @mattt.

Fixed

  • Fixed generation to return symbols in consistent order. 97b2347 by @mattt.
  • Fixed how enumeration cases are considered to have public access level. 774faf6 by @mattt.

0.1.0

4 years ago

Added

  • Added initial test suite for SwiftDoc target. #17 by @mattt.

Changed

  • Changed command-line interface to use swift-argument-parser. #20 by @mattt.

Fixed

  • Fixed treatment of members of public protocol to be considered public symbols. #17 by @mattt.

Removed

0.1.1

4 years ago

Changed

  • Changed documentation workflow to use github-wiki-publish-action@v1. 4525b8e by @mattt.