Changelog
3.2.2 (2019-01-08)
undefined
in docs parsed from ES5 code.jsdoc.predicate
(or jsdoc.filter
) option would not be taken into account.Invalid assignment
error due to ES2015 syntax.Map<String, Object>
. (PR #65 by @MaienM)Changelog
3.1.0 (2018-12-04)
"path"
routing which led to 404 page, occurred when a (deep) route was refreshed or loaded directly. (Due to a bug in core dependency.) Fixes #62.TypeError
was thrown when debug
is enabled.$docmaLink
due to missing trailing slash, when routing method is "path"
.@default
tag support for symbols. Fixes #60.contentView.faLibs
that defines FontAwesome libraries to be included, such as solid
, regular
, brands
. Set to null
to completely exclude FontAwesome from the output. See Zebra documentation. Fixes #63.contentView.faVersion
that defines FontAwesome icon library version to be included.Changelog
3.0.0 (2018-11-18)
fs-extra
, jsdoc-x
and jsdom
.:md
or :markdown
. For HTML, append :htm
or html
. For example, LICENSE:md
will force-parse LICENSE
file as markdown. file.partial:html
will force-parse file.partial
as HTML.mylib/latest
app.favicon
to your ICO file's local path.<details>
and <summary>
tags). This is great for generating styled collapsable lists (such as F.A.Q.) from your markdown files. If a bookmark (id) is passed in the location hash, that item will auto-expand. See [Docma F.A.Q.][faq] for an example. Note that Edge does not support details/summary tags yet. All other modern browsers have support.-b
or --base
) for docma serve
command to override/set the base path.<details>
and <summary>
tags).Uncaught TypeError
when invalid JSDoc type specified for @returns
. Fixes #55.base
tag would not be added to the head of main document.app.base
path to /
as expected. Fixes #59.@constant
and @module
would cause an Uncaught TypeError
. Fixes #41 and #45.Changelog
2.1.0 (2018-04-29)
Thanks to @feugy for this PR.
serve
command now takes conf.app.base
parameter into consideration, and will redirect http://localhost:9000/
to it.serve
command can handle conf.app.dest
relative path, and resolves them against current working directory.cannot find module
error in case-sensitive systems. Fixes #38.--quite
option to --quiet
. Alias -q
remains the same.Changelog
2.0.0 (2018-04-12)
This is a big release with some breaking changes.
Please read this changelog thoroughly before updating your Docma configuration.
assets
build configuration which provides ability to copy defined asset files/directories to build directory; so you can use/link to non-source, static asset files (such as images, PDFs, etc). See [build configuration][build-config]. Fixes #29.markdown.xhtml
option for build configuration.clean
option that specifies whether to empty destination directory before the build. Default is false
."path"
.100%
of parent container while keeping the aspect ratio.jsdom
), Docma v2+ requires Node.js v6 or newer.scope
, by access
type, by kind
, grouped
or alphabetic
(default). See jsdoc.sort
option in [build configuration][build-config].clean
option for the old behavior. Fixes #34.<h1 />
and <h2 />
tags are now followed with a <hr/>
, like on GitHub.docma.template.json
file that defines the template build and configuration options is dropped in favor of template module main (JS) file or package.json
. There are several other improvements. See updated documentation on Creating Docma Templates.compile
property of template configuration is removed. Now, scripts or less/sass files of the template should be pre-compiled. This is logical and speeds up the documentation build process of Docma.--clean
to empty destination directory before the build.docma serve
for starting a static server for serving / testing the generated SPA.docma template init
for initializing a new Docma template project.docma template doctor
for diagnosing a Docma template. Useful for template authors.docma.config.json
in favor of docma.json
(shorter) and .docma.json
if you need to hide it. This does not break anything, you can still use the former if you want.docma.json
(or .docma.json
) file in the current working directory if -c
option is omitted.-v
(lowercase) and -V
(uppercase) are swapped. -v
gets the Docma version now (alias --version
). And -V
is --verbose
.See [CLI documentation][cli] for detailed information on updated CLI.
navigate
that's triggered either when route is changed or on hash-change.docma.apis[name].documentation
instances, now has a .$docmaLink
property.DocmaWeb.Utils
: .type()
, .getSymbolLink()
, .getLevels()
, .getParentName()
, .getParent()
, .isPackagePrivate()
, .isEvent()
, .isGenerator()
, .isCallback()
, .isConstant()
, .isInterface()
, .isExternal()
and .isMixin()
..getCodeTags()
, .getFormattedTypeList()
. Fixes #33..trimNewLines()
. This also has a dust filter $tnl
.#
). e.g. when navigated to #MyClass%7EInnerObject
instead of #MyClass~InnerObject
.DocmaWeb.Utils.getLongName()
, occured after JSDoc core upgrade.currentRoute
parameter of the route
event. Passing null
instead of empty route object when route does not exist.DocmaWeb.Utils.isClass()
utility method where meta.code.type
is not set to ClassDeclaration
.DocmaWeb.Utils.isProperty()
utility method. It'll now return false
if symbol is a method/function. This also affects the following methods: .isStaticProperty()
, .isInstanceProperty()
.DocmaWeb.Utils
static namespace (formerly under docma.utils
).DocmaWeb.Utils.getSymbolByName()
signature is changed.Changelog
1.5.2 (2017-12-09)
$ is not a function
error on Windows. PR #23 by @warpdesign.<br />Note: For this release, some dependencies (such as
jsdoc-x
,jsdom
) are NOT updated on purpose 'cause they introduce breaking changes. In v2 (WIP, to be released) these will be updated and many things will be improved.