chore(deps): update dependency docma to v3 #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.5.3
->^3.0.0
Release Notes
onury/docma (docma)
v3.2.2
Compare Source
Fixed
undefined
in docs parsed from ES5 code.jsdoc.predicate
(orjsdoc.filter
) option would not be taken into account.Invalid assignment
error due to ES2015 syntax.Added
Map<String, Object>
. (PR #65 by @MaienM)Changed
v3.2.1
Compare Source
v3.2.0
: Docma v3.2.0Compare Source
See changes here and documentation for a live demo.
v3.1.0
Compare Source
Fixed
"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 whendebug
is enabled.$docmaLink
due to missing trailing slash, when routing method is"path"
.Added
@default
tag support for symbols. Fixes #60.contentView.faLibs
that defines FontAwesome libraries to be included, such assolid
,regular
,brands
. Set tonull
to completely exclude FontAwesome from the output. See Zebra documentation. Fixes #63.contentView.faVersion
that defines FontAwesome icon library version to be included.Changed
v3.0.0
Compare Source
Changed
fs-extra
,jsdoc-x
andjsdom
.Added
:md
or:markdown
. For HTML, append:htm
orhtml
. For example,LICENSE:md
will force-parseLICENSE
file as markdown.file.partial:html
will force-parsefile.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
) fordocma serve
command to override/set the base path.<details>
and<summary>
tags).Fixed
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 anUncaught TypeError
. Fixes #41 and #45.v2.1.0
Compare Source
Docma CLI
Added
serve
command now takesconf.app.base
parameter into consideration, and will redirecthttp://localhost:9000/
to it.Fixed
serve
command can handleconf.app.dest
relative path, and resolves them against current working directory.cannot find module
error in case-sensitive systems. Fixes #38.Changed
--quite
option to--quiet
. Alias-q
remains the same.Default Template - Zebra
v2.1.0
Added
Promise<Number>
orNumber[]
, etc...Fixed
sidebar.outline
is set to"tree"
.Changed
sidebar.itemsOverflow
is set to"crop"
(default); symbol names are faded-out on their edges, instead of using ellipsis (which behaves differently on browsers).v2.0.0
Compare Source
Docma (Builder)
Added
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 isfalse
.Fixed
"path"
.100%
of parent container while keeping the aspect ratio.Changed
jsdom
), Docma v2+ requires Node.js v6 or newer.scope
, byaccess
type, bykind
,grouped
oralphabetic
(default). Seejsdoc.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.Removed
docma.template.json
file that defines the template build and configuration options is dropped in favor of template module main (JS) file orpackage.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.Docma CLI
Added
--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.Changed
docma.config.json
in favor ofdocma.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.
Docma Web Core
Added
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
.Fixed
#
). e.g. when navigated to#MyClass%7EInnerObject
instead of#MyClass~InnerObject
.DocmaWeb.Utils.getLongName()
, occured after JSDoc core upgrade.currentRoute
parameter of theroute
event. Passingnull
instead of empty route object when route does not exist.DocmaWeb.Utils.isClass()
utility method wheremeta.code.type
is not set toClassDeclaration
.DocmaWeb.Utils.isProperty()
utility method. It'll now returnfalse
if symbol is a method/function. This also affects the following methods:.isStaticProperty()
,.isInstanceProperty()
.Changed
DocmaWeb.Utils
static namespace (formerly underdocma.utils
).DocmaWeb.Utils.getSymbolByName()
signature is changed.Docma Template API
Changed
Default Template - Zebra
v2.0.0
Added
@example <caption>Title</caption>
. Fixes issue #14.@hideconstructor
tag. Fixes issue #21.@event
,@emits
(and alias@fires
) tags. Fixes issue #35.@generator
and@yields
tags....args
).@since
tag.sidebar.itemsFolded
(boolean
) for setting the initial state. Fixes issue #26.sidebar.toolbar
(boolean
) that toggles a tiny toolbar below the search box, for switching symbol list outline or quick-filtering symbols by symbol-kind. Enabled by default.logo
(String|Object
) specifies the URL of your logo. If you need separate logos for dark and light backgrounds set this to an object. i.e.{ dark: String, light: String }
. Recommended size of a logo image is 120 x 120 pixels.symbols.autoLink
(Boolean|String
) specifies whether documented types should be auto-linked tointernal
paths (i.e. Docma route if type/object definition is within the generated documentation) orexternal
URLs (MDN docs if it's a JS or Web-API built-in type/object such asString
); or both. Thanks to @warpdesign for the idea.symbols.params
,symbols.props
andsymbols.enums
all taking a string value, either"list"
(default) or"table"
; defining the layout style for parameters, properties and enumerations. If you like the design in previous versions, set these to"table"
.sidebar.animations
andnavbar.animations
(Boolean
) specifies whether CSS transitions and animations should be enabled for navbar, sidebar and listed symbols.contentView.bookmarks
option (Boolean|String
) which automatically adds bookmark links to headings to content generated from markdown files. Default:false
.generator
badge for generator functions.Fixed
@author
,@version
and@copyright
would not be shown.Changed
"flat"
so that you see the parent of the symbol. When search box is cleaned, it's set back to the initial template setting. (e.g."tree"
if set).@example
outputs. If there are multiple examples for a symbol, they will be numbered now..badges
(default:true
) to also accept a string value for custom bullets instead of badges..title
to also accept an object{ label:String, href:String }
so you can link it.Deprecated
Removed
ico-
CSS prefix) in favor of FontAwsome (v5) and SVG icons support.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.