Skip to content

Commit cacfe9e

Browse files
committed
refactor: remove duplicate function and unused files
1 parent 90f0887 commit cacfe9e

File tree

8 files changed

+0
-1475
lines changed

8 files changed

+0
-1475
lines changed

plugins/docusaurus-plugin-ionic-component-api/index.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -202,25 +202,6 @@ function renderParameters(paramsArr) {
202202
return `| **Parameters** | ${formattedParams} |`;
203203
}
204204

205-
/**
206-
* Formats method parameters for the optional Parameters row of each method table
207-
* @param {*} paramsArr Array of method parameters
208-
* @returns formatted parameters for methods table
209-
*/
210-
function renderParameters(paramsArr) {
211-
if (!paramsArr.some((param) => param.docs)) {
212-
return '';
213-
}
214-
215-
const documentedParams = paramsArr.filter((param) => param.docs);
216-
const formattedParams = documentedParams
217-
.map((param) => {
218-
return `**${param.name}**: ${formatMultiline(param.docs)}`;
219-
})
220-
.join('<br/>');
221-
return `| **Parameters** | ${formattedParams} |`;
222-
}
223-
224205
function renderMethods({ methods }) {
225206
if (methods.length === 0) {
226207
return 'No public methods available for this component.';

static/usage/v8/checkbox/migration/index.md

Lines changed: 0 additions & 188 deletions
This file was deleted.

0 commit comments

Comments
 (0)