File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
docusaurus/docs/dev-docs/plugins Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
273273module .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
309309const contentTypeA = require (' ./content-type-a' );
310310const 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
320320export default {
321321 kind: ' collectionType' ,
You can’t perform that action at this time.
0 commit comments