Skip to content

Commit 7aec578

Browse files
committed
fix: Remove redundant formatting
1 parent c6180fe commit 7aec578

4 files changed

Lines changed: 16 additions & 16 deletions

File tree

packages/documentation/docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ All available APIs are documented in the [UI5 CLI API Reference](https://ui5.git
110110

111111
#### ESM
112112

113-
```js linenums="1
113+
```js
114114
import {graphFromPackageDependencies} from "@ui5/project/graph";
115115

116116
async function buildApp(projectPath, destinationPath) {
@@ -128,7 +128,7 @@ async function buildApp(projectPath, destinationPath) {
128128

129129
#### CommonJS
130130

131-
```js linenums="1
131+
```js
132132
async function buildApp(projectPath, destinationPath) {
133133
const {graphFromPackageDependencies} =
134134
await import("@ui5/project/graph");

packages/documentation/docs/pages/extensibility/CustomServerMiddleware.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ A custom middleware implementation needs to return a function with the following
9191

9292
#### ESM
9393

94-
```js linenums="1
94+
```js
9595
/**
9696
* Custom UI5 Server middleware API
9797
*
@@ -129,7 +129,7 @@ export default function({log, middlewareUtil, options, resources}) {
129129

130130
#### CommonJS
131131

132-
```js linenums="1
132+
```js
133133
/**
134134
* Custom UI5 Server middleware API
135135
*
@@ -169,7 +169,7 @@ module.exports = function({log, middlewareUtil, options, resources}) {
169169

170170
#### ESM
171171

172-
```js linenums="1
172+
```js
173173
import MarkdownIt from "markdown-it";
174174
175175
export default async function({log, middlewareUtil, options, resources}) {
@@ -203,7 +203,7 @@ Live demo of the above example: [openui5-sample-app with custom middleware](http
203203

204204
#### CommonJS
205205

206-
```js linenums="1
206+
```js
207207
module.exports = async function({log, middlewareUtil, options, resources}) {
208208
const MarkdownIt = require("markdown-it");
209209
const md = new MarkdownIt();

packages/documentation/docs/pages/extensibility/CustomTasks.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ A custom task implementation needs to return a function with the following signa
109109

110110
#### ESM
111111

112-
```js linenums="1
112+
```js
113113
/**
114114
* Custom task API
115115
*
@@ -149,7 +149,7 @@ export default async function({dependencies, log, options, taskUtil, workspace})
149149

150150
#### CommonJS
151151

152-
```js linenums="1
152+
```js
153153
/**
154154
* Custom task API
155155
*
@@ -208,7 +208,7 @@ If this callback is not provided, UI5 CLI will make an assumption as to whether
208208

209209
#### ESM
210210

211-
```js linenums="1
211+
```js
212212
/**
213213
* Callback function to define the list of required dependencies
214214
*
@@ -249,7 +249,7 @@ export async function determineRequiredDependencies({availableDependencies, getD
249249

250250
#### CommonJS
251251

252-
```js linenums="1
252+
```js
253253
/**
254254
* Callback function to define the list of required dependencies
255255
*
@@ -300,7 +300,7 @@ result by writing them into the provided `workspace`.
300300

301301
#### ESM
302302

303-
```js linenums="1
303+
```js
304304
import path from "node:path";
305305
import renderMarkdown from "./renderMarkdown.js";
306306
@@ -331,7 +331,7 @@ export default async function({dependencies, log, options, taskUtil, workspace})
331331

332332
#### CommonJS
333333

334-
```js linenums="1
334+
```js
335335
const path = require("node:path");
336336
const renderMarkdown = require("./renderMarkdown.js");
337337

@@ -375,7 +375,7 @@ APIs to retrieve additional information about the project currently being built
375375

376376
#### ESM
377377

378-
```js linenums="1
378+
```js
379379
import path from "node:path";
380380

381381
/*
@@ -425,7 +425,7 @@ export default async function({dependencies, log, options, taskUtil, workspace})
425425
426426
#### CommonJS
427427
428-
```js linenums="1"
428+
```js
429429
const path = require("node:path");
430430
431431
/*

packages/documentation/docs/pages/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ All available APIs are documented in the [UI5 CLI API Reference](https://ui5.git
113113

114114
#### ESM
115115

116-
```js linenums="1
116+
```js
117117
import {graphFromPackageDependencies} from "@ui5/project/graph";
118118

119119
async function buildApp(projectPath, destinationPath) {
@@ -131,7 +131,7 @@ async function buildApp(projectPath, destinationPath) {
131131

132132
#### CommonJS
133133

134-
```js linenums="1
134+
```js
135135
async function buildApp(projectPath, destinationPath) {
136136
const {graphFromPackageDependencies} =
137137
await import("@ui5/project/graph");

0 commit comments

Comments
 (0)