' +
+ file: path.join(common.fixturesDir, 'sample_document.md'),
+ json: {
+ source: 'foo',
+ modules: [{
+ textRaw: 'Sample Markdown',
+ name: 'sample_markdown',
+ modules: [{
+ textRaw: 'Seussian Rhymes',
+ name: 'seussian_rhymes',
+ desc: '\n- fish
\nfish
\n \n- ' +
'
Red fish
\n \n- Blue fish
\n
\n',
- 'type': 'module',
- 'displayName': 'Seussian Rhymes'
- } ],
- 'type': 'module',
- 'displayName': 'Sample Markdown'
- } ]
+ type: 'module',
+ displayName: 'Seussian Rhymes'
+ }],
+ type: 'module',
+ displayName: 'Sample Markdown'
+ }]
}
},
{
- 'file': common.fixturesDir + '/order_of_end_tags_5873.md',
- 'json': {
- 'source': 'foo',
- 'modules': [ {
- 'textRaw': 'Title',
- 'name': 'title',
- 'modules': [ {
- 'textRaw': 'Subsection',
- 'name': 'subsection',
- 'classMethods': [ {
- 'textRaw': 'Class Method: Buffer.from(array)',
- 'type': 'classMethod',
- 'name': 'from',
- 'signatures': [ {
- 'params': [ {
- 'textRaw': '`array` {Array} ',
- 'name': 'array',
- 'type': 'Array'
- } ]
- },
+ file: path.join(common.fixturesDir, 'order_of_end_tags_5873.md'),
+ json: {
+ source: 'foo',
+ modules: [{
+ textRaw: 'Title',
+ name: 'title',
+ modules: [{
+ textRaw: 'Subsection',
+ name: 'subsection',
+ classMethods: [{
+ textRaw: 'Class Method: Buffer.from(array)',
+ type: 'classMethod',
+ name: 'from',
+ signatures: [
+ {
+ params: [{
+ textRaw: '`array` {Array} ',
+ name: 'array',
+ type: 'Array'
+ }]
+ },
{
- 'params': [ {
- 'name': 'array'
- } ]
+ params: [{
+ name: 'array'
+ }]
}
]
- } ],
- 'type': 'module',
- 'displayName': 'Subsection'
- } ],
- 'type': 'module',
- 'displayName': 'Title'
- } ]
+ }],
+ type: 'module',
+ displayName: 'Subsection'
+ }],
+ type: 'module',
+ displayName: 'Title'
+ }]
}
},
{
- 'file': common.fixturesDir + '/doc_with_yaml.md',
- 'json': {
- 'source': 'foo',
- 'modules': [
+ file: path.join(common.fixturesDir, 'doc_with_yaml.md'),
+ json: {
+ source: 'foo',
+ modules: [
{
- 'textRaw': 'Sample Markdown with YAML info',
- 'name': 'sample_markdown_with_yaml_info',
- 'modules': [
+ textRaw: 'Sample Markdown with YAML info',
+ name: 'sample_markdown_with_yaml_info',
+ modules: [
{
- 'textRaw': 'Foobar',
- 'name': 'foobar',
- 'meta': {
- 'added': ['v1.0.0']
+ textRaw: 'Foobar',
+ name: 'foobar',
+ meta: {
+ added: ['v1.0.0']
},
- 'desc': 'Describe Foobar
in more detail ' +
+ desc: '
Describe Foobar
in more detail ' +
'here.
\n',
- 'type': 'module',
- 'displayName': 'Foobar'
+ type: 'module',
+ displayName: 'Foobar'
},
{
- 'textRaw': 'Foobar II',
- 'name': 'foobar_ii',
- 'meta': {
- 'added': ['v5.3.0', 'v4.2.0']
+ textRaw: 'Foobar II',
+ name: 'foobar_ii',
+ meta: {
+ added: ['v5.3.0', 'v4.2.0']
},
- 'desc': 'Describe Foobar II
in more detail ' +
+ desc: '
Describe Foobar II
in more detail ' +
'here.
\n',
- 'type': 'module',
- 'displayName': 'Foobar II'
+ type: 'module',
+ displayName: 'Foobar II'
},
{
- 'textRaw': 'Deprecated thingy',
- 'name': 'deprecated_thingy',
- 'meta': {
- 'added': ['v1.0.0'],
- 'deprecated': ['v2.0.0']
+ textRaw: 'Deprecated thingy',
+ name: 'deprecated_thingy',
+ meta: {
+ added: ['v1.0.0'],
+ deprecated: ['v2.0.0']
},
- 'desc': 'Describe Deprecated thingy
in more ' +
+ desc: '
Describe Deprecated thingy
in more ' +
'detail here.
\n',
- 'type': 'module',
- 'displayName': 'Deprecated thingy'
+ type: 'module',
+ displayName: 'Deprecated thingy'
},
{
- 'textRaw': 'Something',
- 'name': 'something',
- 'desc': '\n' +
+ textRaw: 'Something',
+ name: 'something',
+ desc: '\n
' +
'Describe Something
in more detail here.
\n',
- 'type': 'module',
- 'displayName': 'Something'
+ type: 'module',
+ displayName: 'Something'
}
],
- 'type': 'module',
- 'displayName': 'Sample Markdown with YAML info'
+ type: 'module',
+ displayName: 'Sample Markdown with YAML info'
}
]
}