Skip to content

Commit

Permalink
Dependency update (except for remote-origin-url which breaks when you…
Browse files Browse the repository at this point in the history
… update, update changelog
  • Loading branch information
tmcw committed Mar 19, 2016
1 parent fe2c5af commit 5b3a9d3
Show file tree
Hide file tree
Showing 36 changed files with 1,473 additions and 676 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
## 4.0.0-beta1

**Now using Babel 6!**

Much long-awaited upgrade makes documentation.js compatible with fresh
new Babel-using codebases.

And also:

* GitHub Enterprise support
* New tag support: abstract, override, readonly, interface, variation, see, todo
(only in parsing phase, not yet in all outputs)
* Parses jsx and es6 extensions by default, as well as .js
* Fixes polyglot mode
* Now shows the `@throws` tag content in Markdown output
* Support for example captions

## 4.0.0-beta

**Revitalized documentation.js command line interface!**
Expand Down
2 changes: 1 addition & 1 deletion lib/output/markdown_ast.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function commentsToAST(comments, opts, callback) {
return comment.context.github && u('paragraph', [
u('link', {
title: 'Source code on GitHub',
href: comment.context.github
url: comment.context.github
}, [u('text', comment.context.path + ':' +
comment.context.loc.start.line + '-' +
comment.context.loc.end.line)])
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"disparity": "^2.0.0",
"doctrine": "^1.1.0",
"documentation-theme-default": "3.0.0-beta",
"documentation-theme-utils": "^1.2.1",
"documentation-theme-utils": "^2.0.2",
"events": "^1.1.0",
"extend": "^3.0.0",
"get-comments": "^1.0.1",
Expand All @@ -36,11 +36,11 @@
"mime": "^1.3.4",
"module-deps": "^4.0.2",
"parse-filepath": "^0.6.3",
"remark": "^3.0.0",
"remark-toc": "^2.0.0",
"remote-origin-url": "^0.4.0",
"remark": "^4.1.2",
"remark-toc": "^3.0.0",
"remote-origin-url": "0.4.0",
"resolve": "^1.1.6",
"slugg": "^0.1.2",
"slugg": "^1.0.0",
"stream-array": "^1.1.0",
"strip-json-comments": "^2.0.0",
"tiny-lr": "^0.2.1",
Expand All @@ -50,14 +50,14 @@
"vfile-sort": "^1.0.0",
"vinyl": "^1.1.0",
"vinyl-fs": "^2.3.1",
"yargs": "^3.31.0"
"yargs": "^4.3.1"
},
"devDependencies": {
"chdir": "0.0.0",
"eslint": "^2.0.0",
"fs-extra": "^0.26.2",
"glob": "^7.0.0",
"lodash": "~4.3.0",
"lodash": "^4.3.0",
"mock-fs": "^3.5.0",
"tap": "^5.4.4",
"tmp": "0.0.28"
Expand Down
14 changes: 10 additions & 4 deletions test/fixture/alias.output.md.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@
"position": {
"start": {
"line": 1,
"column": 1
"column": 1,
"offset": 0
},
"end": {
"line": 2,
"column": 58
"column": 58,
"offset": 110
},
"indent": [
1
Expand All @@ -35,11 +37,13 @@
"position": {
"start": {
"line": 1,
"column": 1
"column": 1,
"offset": 0
},
"end": {
"line": 2,
"column": 58
"column": 58,
"offset": 110
},
"indent": [
1
Expand Down Expand Up @@ -78,6 +82,7 @@
"children": [
{
"href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number",
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number",
"type": "link",
"children": [
{
Expand Down Expand Up @@ -110,6 +115,7 @@
"children": [
{
"href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number",
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number",
"type": "link",
"children": [
{
Expand Down
88 changes: 60 additions & 28 deletions test/fixture/class.output.md.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@
"position": {
"start": {
"line": 1,
"column": 1
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 32
"column": 32,
"offset": 31
},
"indent": []
}
Expand All @@ -33,11 +35,13 @@
"position": {
"start": {
"line": 1,
"column": 1
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 32
"column": 32,
"offset": 31
},
"indent": []
}
Expand Down Expand Up @@ -74,6 +78,7 @@
"children": [
{
"href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number",
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number",
"type": "link",
"children": [
{
Expand All @@ -97,11 +102,13 @@
"position": {
"start": {
"line": 1,
"column": 1
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 28
"column": 28,
"offset": 27
},
"indent": []
}
Expand All @@ -110,11 +117,13 @@
"position": {
"start": {
"line": 1,
"column": 1
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 28
"column": 28,
"offset": 27
},
"indent": []
}
Expand Down Expand Up @@ -144,11 +153,13 @@
"position": {
"start": {
"line": 1,
"column": 1
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 18
"column": 18,
"offset": 17
},
"indent": []
}
Expand All @@ -157,11 +168,13 @@
"position": {
"start": {
"line": 1,
"column": 1
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 18
"column": 18,
"offset": 17
},
"indent": []
}
Expand Down Expand Up @@ -198,6 +211,7 @@
"children": [
{
"href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean",
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean",
"type": "link",
"children": [
{
Expand All @@ -221,11 +235,13 @@
"position": {
"start": {
"line": 1,
"column": 1
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 26
"column": 26,
"offset": 25
},
"indent": []
}
Expand All @@ -234,11 +250,13 @@
"position": {
"start": {
"line": 1,
"column": 1
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 26
"column": 26,
"offset": 25
},
"indent": []
}
Expand All @@ -261,6 +279,7 @@
"children": [
{
"href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number",
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number",
"type": "link",
"children": [
{
Expand All @@ -284,11 +303,13 @@
"position": {
"start": {
"line": 1,
"column": 1
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 10
"column": 10,
"offset": 9
},
"indent": []
}
Expand All @@ -297,11 +318,13 @@
"position": {
"start": {
"line": 1,
"column": 1
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 10
"column": 10,
"offset": 9
},
"indent": []
}
Expand All @@ -327,11 +350,13 @@
"position": {
"start": {
"line": 1,
"column": 1
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 14
"column": 14,
"offset": 13
},
"indent": []
}
Expand All @@ -340,11 +365,13 @@
"position": {
"start": {
"line": 1,
"column": 1
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 14
"column": 14,
"offset": 13
},
"indent": []
}
Expand All @@ -361,6 +388,7 @@
"children": [
{
"href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined",
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined",
"type": "link",
"children": [
{
Expand All @@ -384,11 +412,13 @@
"position": {
"start": {
"line": 1,
"column": 1
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 26
"column": 26,
"offset": 25
},
"indent": []
}
Expand All @@ -397,11 +427,13 @@
"position": {
"start": {
"line": 1,
"column": 1
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 26
"column": 26,
"offset": 25
},
"indent": []
}
Expand Down
Loading

0 comments on commit 5b3a9d3

Please sign in to comment.