Skip to content

Commit 70cf706

Browse files
committed
replace lib with src in docs command
1 parent f9dd55a commit 70cf706

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed

packages/components/jsdoc2md-handlebars/api.hbs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,12 @@ weight: 77
66
## Components
77

88
{{#functions}}
9-
{{#unless (eq name "ownKeys")}}
109
* [{{name}}](#{{name}}){{#if returns.length}} ⇒ `{{{escapeType returns.[0].type.names.[0]}}}`{{/if}}<br/>
1110

1211
{{{description}}}
1312

14-
{{/unless}}
1513
{{/functions}}
1614
{{#functions}}
17-
{{#unless (eq name "ownKeys")}}
1815

1916
<a name="{{name}}"></a>
2017
## {{name}}()
@@ -54,5 +51,4 @@ weight: 77
5451

5552
{{/if}}
5653

57-
{{/unless}}
5854
{{/functions}}

packages/components/jsdoc2md-helpers/jsdoc-helper.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,4 @@ module.exports = {
1515
.replace(/\{/g, '&#123;')
1616
.replace(/\}/g, '&#125;');
1717
},
18-
/**
19-
* Strict equality helper for Handlebars templates.
20-
* @param {*} a - First value to compare.
21-
* @param {*} b - Second value to compare.
22-
* @returns {boolean} True if a === b.
23-
*/
24-
eq(a, b) {
25-
return a === b;
26-
},
2718
};

packages/components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint": "eslint --max-warnings 0 --config ../../.eslintrc --ignore-path ../../.eslintignore .",
1111
"lint:fix": "eslint --max-warnings 0 --config ../../.eslintrc --ignore-path ../../.eslintignore . --fix",
1212
"generate:assets": "npm run prepublishOnly && npm run docs",
13-
"docs": "jsdoc2md --helper ./jsdoc2md-helpers/jsdoc-helper.js --template ./jsdoc2md-handlebars/api.hbs --files \"./lib/**/*.js\" \"./lib/**/readme/*.js\" > ../../apps/generator/docs/api_components.md"
13+
"docs": "jsdoc2md --helper ./jsdoc2md-helpers/jsdoc-helper.js --template ./jsdoc2md-handlebars/api.hbs --files \"./src/**/*.js\" \"./src/**/readme/*.js\" > ../../apps/generator/docs/api_components.md"
1414
},
1515
"files": [
1616
"lib/**",

0 commit comments

Comments
 (0)