- jsdoctypeparser finally updated to latest version
- Dependency bumps for commander and markdown-it to address security vulnerabilities
-
Markdown is now generated using the
markdown-it
package, which conforms to Commonmark standards. -
Fix: Dox now recognizes ES6 template strings as strings and does not attempt to parse their contents.
-
Deps: added [email protected]
-
Deps: removed marked
-
DevDeps: [email protected]
-
DevDeps: [email protected]
- Fix: Dox will no longer falsely enter or exit string blocks when encountering an escaped quote or double-quote
- Deps: [email protected]
- Deps: [email protected]
- Fix: Tags with whitespace between the tag start and the previous line ending are now parsed correctly.
- Deps: [email protected]
- Deps: [email protected]
- Better compatibility for type declarations, but may result in changes to output with invalid types.
Context parsing has been re-factored into an array of functions that are iterated over until a match is found. This array is exposed as dox.contextPatternMatchers
, allowing for extension with new contexts without needing to edit the dox source.
- Fix: ES6 classes extended from sub-properties (such as Backbone.View) are now properly matched
- Add context parsing for some ES6 syntax:
- classes
- class constructors
- class methods
- assignments via
let
orconst
- Add support for @description tag
- Add context match for returned closure
- Add: Tags without descriptions now have an
html
property containing a markdown parse of the tag's contents - Fix: more agnostic to code style when parsing contexts (eg, no longer ignores functions without spaces between function name and parenthesis)
- Fix: No longer incorrectly tries to parse strings inside comments, causing large chunks of a file to be ignored.
- Fix: No longer parses double slash in a string literal as being a comment start.
- Deps: [email protected]
- Tag descriptions now contain markdown and obey raw option
- Add complex jsdoc annotations
- Add support for more tags
- Add typesDescription field
- Fix "skipPrefixes incorrectly assumes option.raw=false"
- Fix "White spaces in the tag type string break the parsing of tags"
- Add
--skipSingleStar
option to ignore/* ... */
comments - Merge #106: make the other context regex like the general method one
- Support event tags, add
isEvent
parameter to comment object - Removed obsolete make rules
- Fixed:
*/*
breaks parsing
- Marked options can be set via
dox.setMarkedOptions
- Comment blocks include
line
andcodeStart
to mark the first line of the comment block and the first line of the code context. - Ignores jshint, jslint and eslint directives. This can be overridden or added to via the
skipPrefixes
option and the--skipPrefixes
command line flag, which takes a comma separated list of prefixes. - The code field trims extra indentation based on the indentation of the first line of code.
- Set the
isConstructor
property when a@constructor
tag is present and changectx.type
to constructor. - Recognizes the following code contexts:
Foo.prototype.bar;
(property)Foo.prototype = {
(prototype)foo: function () {
(method)foo: bar
(property)get foo () {
(property)set foo () {
(property)
- When a comment is present to identify the definition of an object literal, comments for the object's members will include a
ctx.constructor
property identifying the parent object. - Fixed: Multi-line comments with no space following the star are parsed correctly.
- Example:
/*comment*/
- Example:
- Fixed: A code context of
Foo.prototype.bar = null;
is parsed correctly. @param
tags include anoptional
attribute@returns
is recognized as an alias for@return
- Support comments without descriptions (ex:
/** @name Foo **/
) - Fixed: Crash with the
--api
flag when no headers are generated. - Fixed:
--api
output includes aliases.
- do not wrap @example contents with markdown
- use marked for markdown rendering
- multiline tags support (@example)
- support for @template, @property, @define, @public, @private, @protected, @lends, @extends, @implements, @enum, @typedef
- add support for variable names containing "$". fix #102
- fix dox(1) --version. Closes #91
- fix ctx.string on properties of a prototype
- add support tab-indented comments
- Prevent error when using --api & comments have no example code.
- change # to . in --api
- add TOC to --api. Closes #72
- add gfm code blocks. Closes #71
- remove implicit titles. Closes #70
- fix --api .receiver
- add dox --api
- Fixed annoying title bug
- Added @memberOf [olivernn]
- Added @arguments [olivernn]
- Added @borrows [olivernn]
- Added
-r, --raw
support. Closes #48
- Added: allow arbitrary tags [logicalparadox]
- Fixed function whitespace [TooTallNate]
- remove html escaping for now
- Fixed: colons in comment lines not intended as headers [Evan Owen]
- Adding "main" to package descriptor since "directories" are no longer supported.
- Added
--intro
support for including an intro file written in markdown [Alex Young]
- Linked h2s
- Collapsing files, click to open. Closes #19
- Fixed ribbon position instead of absolute
- Removed menu
- Removed node-discount dependency, using markdown-js