Skip to content

Commit 10955b5

Browse files
committed
Remove unneeded "path" in example title (Server API)
1 parent 0cfcbc1 commit 10955b5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docusaurus/docs/dev-docs/plugins/server-api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ Content-Types keys in the `contentTypes` object should re-use the `singularName`
255255

256256
<TabItem value="js" label="JavaScript">
257257

258-
```js title="path: /src/plugins/my-plugin/server/content-types/index.js"
258+
```js title="/src/plugins/my-plugin/server/content-types/index.js"
259259

260260
'use strict';
261261

@@ -268,7 +268,7 @@ module.exports = {
268268
};
269269
```
270270

271-
```js title="path: /src/plugins/my-plugin/server/content-types/content-type-a.js"
271+
```js title="/src/plugins/my-plugin/server/content-types/content-type-a.js"
272272

273273
module.exports = {
274274
kind: 'collectionType',
@@ -304,7 +304,7 @@ module.exports = {
304304
</TabItem>
305305
<TabItem value="ts" label="TypeScript">
306306

307-
```js title="path: /src/plugins/my-plugin/server/content-types/index.ts"
307+
```js title="/src/plugins/my-plugin/server/content-types/index.ts"
308308

309309
const contentTypeA = require('./content-type-a');
310310
const contentTypeB = require('./content-type-b');
@@ -315,7 +315,7 @@ module.exports = {
315315
};
316316
```
317317

318-
```js title="path: /src/plugins/my-plugin/server/content-types/content-type-a.ts"
318+
```js title="/src/plugins/my-plugin/server/content-types/content-type-a.ts"
319319

320320
export default {
321321
kind: 'collectionType',

0 commit comments

Comments
 (0)