This release adds the support of Vuedoc Parser 3.2.0 which adds automatic type detection of computed properties.
Changes
- Render column type for computed properties
This release adds fixes the options object reference corruption issue (#42).
This release adds the support of Vuedoc Parser 3.1.0 and fixes some bugs:
Changes
- Upgrade to
@vuedoc/[email protected]
. Parsing warnings messages are forwarded toSTDERR
(241320db) - Use
to be compatible with JSX syntax (#40) - Fix programmatic API (#41)
This is the official release of Vuedoc Markdown 3.0.0. The only change with the previous beta 2 is the requirement to use the Vuedoc Parser 3.0.0 as a peer dependency.
Please see release notes of previous betas for all changes on Vuedoc Markdown 3.0.0.
This release improves parsing of props definitions with @kind function
.
It also requires the latest Vuedoc Parser 3.0.0-beta2.
This version is the first version with Vuedoc Parser 3.0.0-beta1 support.
New features
- Add support of
@version
,@since
,@author
,@deprecated
and@see
- Add support of
@description
,@desc
and@example
- Add support of Vuedoc Loader through the
-c,--config
option - Add option
-w,--wordwrap
to enable word wrapping
Improvements
- Add shortcut option
-l
for--level
- Add shortcut option
-o
for--output
- Add shortcut option
-s
for--section
- Add shortcut option
-j
for--join
See README file to know more about changes and usage.
This releases adds support of of Vuedoc Parser 2.3.0 and fix parsing of keyword
@type
This is the first beta of the major release of Vuedoc Markdown based on the latest Vuedoc Parser v2.2.1. It implements the new Vuedoc Parser Parsing Output Interface and introduces Markdown Tables.
-
Vuedoc Markdown now use Vuedoc Parser as a peer dependency. This means that Vuedoc Markdown can now benefit from the improvements of Vuedoc Parser without changes. This also means that you will now need to install both
@vuedoc/md
and@vuedoc/parser
packages:npm install @vuedoc/parser @vuedoc/md
-
Markdown Tables are now used to render slots, props, data, computed and events. See rendering sample: test/fixtures/checkbox.output.md
-
Rendering of methods has been drastically improved. The rendering now follow the MDN documentation structure. FInd examples in the README.md file
-
Section titles are now more human readable:
- Title
props
is now renamed toProps
- Title
computed
is now renamed toComputed Properties
- Title
data
is now renamed toData
- Title
methods
is now renamed toMethods
- Title
events
is now renamed toEvents
- Title
Vuedoc Markdown 2.0.0-beta1 introduces specific keywords for methods:
@method {name}
: Use this to set a custom method name@syntax {string}
: Use this to set a custom method syntax
Example
export default {
name: 'TextInput',
methods: {
/**
* This use `@method` to set a custom method name and syntax
* @method String.prototype.match
* @syntax str.match(regexp)
*/
match(regexp) {},
/**
* Multiple `@syntax` keywords can be used to define a multiline syntax content
* @syntax target.addEventListener(type, listener [, options]);
* @syntax target.addEventListener(type, listener [, useCapture]);
* @syntax target.addEventListener(type, listener [, useCapture, wantsUntrusted ]); // Gecko/Mozilla only
*/
addEventListener(type, listener, options, useCapture) {}
}
}
This release adds support of @type
keyword.
export default {
props: {
/**
* The currency value
* @type {Currency}
*/
currency: {
type: Object
}
}
This release adds new features and bugs fix:
- Add support of
@default
keyword (ffe45df5) - Allow empty description for events (39e514c5)
- Add
-v
alias for--version
(04378ada)
This release improves the White Spaces Rendering feature
This release upgrades to @vuedoc/[email protected]
with a feature to preserve white
spaces
This release fixes rendering of undefined default value and upgrades the @vuedoc/parser to v1.3.2
There are no changes, just a README.md update
This release adds support of JSDoc with the upgrade of
@vuedoc/[email protected]
This release adds support of multiple possible types and fix some bugs
This release fixes #13 and #14 issues:
- Fix unexpected output when using --version #13 (c99854d)
- Fix unexpected output when using --join and STDOUT #14 (62c06b1)
This release uses the last version of @vuedoc/parser
(v1.1.0
) and adds two
new options: --join
and --version
Merge generated documentations #12 (a266df8)
It's now possible to merge generated documentations of many components into one.
vuedoc.md --join FunctionalComponent.js MainComponent.vue --output README.md
Display the vuedoc.md
version #11 (79e97a3)
Add the --version
to display the vuedoc.md
version
vuedoc.md --version
- Fix calling with no arguments bug #10 (759f778)
This release uses to the last @vuedoc/[email protected]
which add a support of
Spread Operator and fix some bugs
This major release add a new feature and uses the NodeJS v6.11.2 as default engine.
The new options.features
lets you select which Vue Features you want to parse
and extract using the API.
The CLI usage of this option is --ignore-[feature]
:
CLI Usage
# parse all features except `name` and `data`
vuedoc.md --ignore-name --ignore-data
Programmatic Usage Please read the @vuedoc/[email protected] release note to learn more about.
Now @vuedoc/parser
requires the v6.11.2
(or higher) of NodeJS.
This release add the parameters on method signatures. This fixes #6
This release use the @vuedoc/[email protected]
with the support of component data
and component computed properties.